The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



IxItemID


Unit:SDL_geodb
Class:TGeoDB
Declaration:property IxItemID[ix: longint]: TIxItemIDRec;

In order to find database entries quickly TGeoDb maintains five indexes offering an ordered access to the latitudes, longitudes and item IDs of the database entries. Since a database entry may contain more than one point (e.g. country borders are polygons with many points), individual indexes are maintained both for the lowest and highest latitudes/longitudes.

The read-only array property IxItemID provides an ordered list of the item IDs of all database entries. The parameter ix specifies the number of the index entry and may take values between 1 and NumEntries. The property returns the item ID and the corresponding entry number of the database.

Example: This property is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): geodata



Last Update: 2012-Oct-20