Geonames Tools toolbox is available for download

The new Geonames Tools toolbox is available for download from Arcgis.com.  The Geonames Tools toolbox is an Esri Defense toolbox for intelligence analysis. The zip file contains the tools and a template geodatabase with the schema needed to create a gazetteer style locator from National Geospatial-Intelligence Agency (NGA) UTF-8 encoded tab-delimited geonames text files.

The package includes two tools, with supporting scripts, and instructions for using the tools to create your geonames gazetteer locator.  The first tool loads data from a UTF-8 encoded, tab-delimited geonames text files into a feature class, updating the Admin, Country, and Feature codes in the process.  The second tool creates a gazetteer style locator from the feature class.  This locator can be used on a local machine, or published via ArcGIS for Server for use by multiple clients.

This toolbox is designed to work with the files from NGA, available at:

http://earth-info.nga.mil/gns/html/namefiles.htm

Geoname files from other sources with different formats are not supported.

This entry was posted in Defense and tagged , , , , , , , , . Bookmark the permalink.

Leave a Reply

6 Comments

  1. alex_burgos says:

    Thanks Bbooth for this tool but…

    I am trying to use this toolbox but it doesn’t work. I hope you can support me.

    I am using ArcGIS 10.1 in x64 computer

    I get the following error:
    PYTHON ERRORS:
    Traceback info:
    File “\\nas2\Home\asimon\Documents\GeoDatasets\GeoNames\Geonames_ArcGIS\ModelScripts\LoadGeonames.py”, line 193, in
    row.setValue(fieldName, fieldValue)

    Error Info:
    ERROR 999999: Error executing function.
    ArcPy ERRORS:
    Executing: GetCount \\nas2\Home\asimon\Documents\GeoDatasets\GeoNames\Geonames_ArcGIS\Data_Test\Test_ES.gdb\Geonames
    Start Time: Tue Aug 27 17:01:53 2013
    Row Count = 0
    Succeeded at Tue Aug 27 17:01:55 2013 (Elapsed Time: 2,00 seconds)

    Thanks

  2. shahidgdms says:

    I downloaded the ArcGIS GeoNames Data model and try to load text file from the GeoNames
    Tools to load Geonames text file. I downloaded the Geonames text file from http://earth-info.nga.mil/gns/html/
    I got the same error what Alex_burgos. I am using ArcGIS 10.1 in x64 computer. I hope you will guide us where
    is the problem. Thanks

  3. revenger says:

    Error is caused because Geonames has a field Display which is missing in the GeonamesTemplate. Add a field Display to GeonamesTemplate as Text.

    Another problem can occur on the pntObj with decimal seperator because of international settings. Lat/Long string fieldValue are converted to Integer and then the point shape is Out of Bound.

    # Extract Latitude and Longitude values to create
    # point geometry
    if fieldName.upper() == “LAT”:
    lat = float(fieldValue)

    if fieldName.upper() == “LONG”:
    long = float(fieldValue)