Home GeoPack GeoDB Methods AddTown |
|
| See also: AddRoad, AddLake, AddRiver, AddBorder, AddCity, AddRoute, AddBLOB, ReplaceTown |
|
AddTown |
 |
| Unit: | SDL_geodb | | Class: | TGeoDB | | Declaration: | procedure AddTown (Name: TgdbName; Date: TDateTime; StateFlag: longint; Location: TSCoords; ClassNumber: byte; UserTag: longint); |
The method AddTown adds the coordinates of a town to the database. The parameter Name contains the name of the town. Date holds the date and time associated with the town. The parameter StateFlag reflects the state of the database entry. The position of the town is defined by the parameter Location. ClassNumber contains the number of the class the new database entry should belong to, and the UserTag parameter may hold a user-defined number. UserTag is not used by the database system, it can be used to store additional information.
| Hint: |
Please note the difference between a city and a town: while a city is large enough to be represented by an outline polygon, a town is represented by a single point. |
|