This page documents the available means to install, create, and edit GeoDB Databases, and how to convert location data stored in a GPS into GeoDB databases and vice versa.
The GeoDB Data Tools archive provides databases and PC tools to work with GeoDB and with GPS devices.
The provided databases include over 700 world wide locations.
The provided PC tools are four PC applications to work with location data. These are:
WARNING -- Without a doubt some of these data are inaccurate!!!
These completed databases are provided so that you can get started putting locations in your GeoDB. However it is strongly recommended that you personalize your own locations using the tools provided and documented here.
The GMT Offset in these completed database are set to what it should be based only on the geographic longitude -- not actual civil GMT Offsets. Also, Daylight Time is set 'none' in all of these data sets.
Check the GMT Offset of the ones you keep and adjust the Daylight Time setting.
| Name | World Area | Comments |
|---|---|---|
| World.pdb | All | All data available in GeoDB Data Tools |
| USA.pdb | USA/Canada | USA and Canada |
| Europe.pdb | Greater Europe | Positive Latitudes and 24W > Longitude < 50E |
| Canada.pdb | Canada | Canada data |
| NonUSA.pdb | World w/o USA/Canada | World data without USA and Canada |
| East.pdb | Eastern Hemisphere | Positive Longitudes |
| West.pdb | Western Hemisphere | Negative Longitudes |
| North.pdb | Northern Hemisphere | Positive Latitudes |
| South.pdb | Southern Hemisphere | Negative Latitudes |
Back to the Table of Contents Links
Open your Palm Desktop, click on the Install icon, add the databases you wish to install, and then perform a synchronization.
Back to the Table of Contents Links
Back to the Table of Contents Links
These data are in a comma separated value (CSV) format. There is a problem with this format because of the European use of ',' for the decimal point, but this format was chosen because it is easy to create/import to other database software, such as Excel.
To create the collection of locations you want in your database, use your favorite text editor (e.g. NotePad, WordPad, etc.) or Excel, and open one data file. Edit this file by deleting the locations that you do not want. Check the GMT Offset of the ones you keep and adjust the Daylight Time setting. This is because GMT Offset in these files are set to what it should be based only on the geographic longitude -- not actual civil GMT Offsets. Also, Daylight Time is set 'none' in all of these data sets.
Save the edited file as some appropriate name. If you use Excel be sure to save the file in CSV format.
Continue to cut and paste locations from other location files until you have all the locations for your
database together in one CSV file.
If you want to add your own locations use the exact format as in
the supplied files. This is documented in Technical Information below.
WARNING -- Without a doubt some of these data are inaccurate!!!
They are only to help you to get your personal database started. Use this data as an estimate ONLY! Check it if it matters!
| Raw Data File | CSV Data File | Comment |
|---|---|---|
| worldcity.dat | world.csv | All the data |
| uscity.dat | usa.csv | All of the Canada/USA data |
| europe.dat | europe.csv | Positive Latitudes and 24W > Longitude < 50E |
| canada.dat | canada.csv | Canada data |
| nonuscity.dat | nonus.csv | All of the rest of the world |
| nonusEast.dat | nonusEast.csv | Subsets of nonUSA data |
| nonusWest.dat | nonusWest.csv | |
| nonusNorth.dat | nonusNorth.csv | |
| nonusSouth.dat | nonusSouth.csv |
Back to Create a GeoDB Database on your PC
This allows one to create a GeoDB location database from memos synchronized from the Palm Desktop.
This method is somewhat cumbersome because of a limitation to the Palm OS import/export size. Palm OS memos are limited to 4000 characters. Therefore be sure that any memo to be imported/exported meets these limit. This limit is about 110 CSV format location lines.
Create your location file for importation in a manner discussed above -- Making Your Location Data Files.
Rules for Synchronization and Import:
Example of importing the entire US data into a GeoDB database:
Back to the Table of Contents Links
This capability is most useful if you have created a database in GeoDB and wish to extract it so that you can add it to another database.
Rules for Synchronization and Export:
Example of Exporting a part of the USA database:
Back to the Table of Contents Links
You do this by creating a file containing the location descriptions in CSV format, and running the csv2gdb.exe application in a Windows Command window.
Create your location file in a manner discussed above --
Making Your Location Data Files.
For this example, call the CSV file you created: myLocations.csv
Build your database by running csv2gdb.exe in a Windows Command window:
| Create a GeoDB database for Palm OS GeoDB from a CSV format location file. Enter the name of the CSV location file [.csv]: myLocations
The GeoDB Database name and the .pdb file name will the same. Sort the database in ascending name order [y/n]: y Convert ddd.ddd to ddd:mm.mmm [y/n]: y |
Back to the Table of Contents Links
To do this we use the USA.pdb for an example:
| Convert a Palm OS GeoDB database to a CSV format file. Enter the name of the GeoDB database file [.pdb]: USA Extracting location data from GeoDB database: USA Data saved in file: USA.csv
|
Upon completion edit the .csv file as desired.
If the database you wish to extract location data from was created in your Palm OS you can get it into your PC by synchronization. After synchronization, all of the GeoDB databases in your Palm OS can be found in a sub-directory of your Palm Desktop. It will be found in, for example: .../PalmDdesktop/<name>/Backup. <name> is the HotSync User Name.
Back to the Table of Contents Links
The data file used by EasyGps is GPX (GPS Exchange Format) -- an open source format. Using EasyGPS
you can download/upload your GPS locations in GPX format.
Provided in the GeoDB Data Tools Archive are two PC programs to convert GeoDB CSV format files to the GPX format, and vise versa. Thus it is easy to work with your GPS and GeoDB.
You can get EasyGPS at http://www.easygps.com
Back to the Table of Contents Links
| Convert a EasyGPS GPX format file to Palm OS GeoDB CSV format file. Enter the name of the GPX location file [.gpx]: GPSfile Enter the name of the GeoDB CSV file (case preserved) [.csv]: GPSfile Enter optional CSV triple (GMT offset,E/W,DLS number e.g. 5,W,4): 8,W,4
|
| Create a GeoDB database for Palm OS GeoDB from a CSV format location file. Enter the name of the CSV location file [.csv]: GPSfile
The GeoDB Database name and the .pdb file name will the same. Sort the database in ascending name order [y/n]: y Convert ddd.ddd to ddd:mm.mmm [y/n]: y |
In the GPX format the latitude and longitude data is always in ddd.ddd (E.g. 33.697 degrees) format. Thus the CSV format file created in Step 5 is in ddd.ddd format. If you would like it to be converted to the ddd:mm.mmm (e.g. 33:41.82) enter y. If you enter nothing it will be defaulted to 'y'.
Back to the Table of Contents Links
| Convert a Palm OS GeoDB database to a CSV format file. Enter the name of the GeoDB database file [.pdb]: USA Extracting location data from GeoDB database: USA Data saved in file: USA.csv
|
Follow the application prompts. An example follows:
| Convert a Palm OS GeoDB CSV format file to EasyGPS GPX format file. Enter the name of the CSV location file [.csv]: USA Enter the name of the EasyGPS file (case preserved) [.gpx]: USA
|
The file USA.gpx was saved in the current directory along with USA.csv
Back to the Table of Contents Links
The GeoDB CSV format is:
name,latitude,N/S,longitude,E/W,elevation,gmtOffset,E/W,daylightCode
Example:
Potsdam NY,44.64,N,75.03,W,,5,W,4
The daylightCode is the same as that of the order of the menu:
| 0 | No |
| 1 | Yes |
| 2 | Australia |
| 3 | Europe |
| 4 | N. America |
| 5 | S. America |
| 6 | User Defined |
Note that the CSV data order is exactly that of the order of these fields in the GeoDB defining dialog screen.
Back to the Table of Contents Links
Future PC application releases will change the version number only for major changes. All changes will
have an increasing Bld: (build) number.
Be sure that your application versions are up-to-date. Check the Bld: number for the PC applications.
To do this, in a Windows Command window, enter the application executable filename followed by /h.
E.g. gdb2csv /h
The current Bld: is 402.