17.13 Geographical

Top  Previous  Next

Geographical is a special type used for storing geographical location data. In most cases fields of this type store zip codes. Each location has its latitude and longitude that allows user to search within particular radius from his location. By default iAuto includes US zip code database with latitude and longitude. User can also add location for other countries using import data feature. To modify geographical database field click on the edit icon near that field. A geographical field modification page will be opened. All available geographical locations will be listed in a table. To add new location enter its caption (for example a zip code) Longitude and Latitude to the "Add location" from and press "Add" button. To import data from CSV file click on the "Import data from file" link. Location data import form will be opened. Choose the file you wish to import using "Browsing" button. Enter line from which you want to import data to the "Start from line" field. Enter zip code, latitude, longitude columns numbers to appropriate fields and press "import" button. There are two view types for geo fields available in search forms:

Std - allows user to enter zip code and arbitrary radius.
List - allows user to enter zip code and choose radius from the lists.