Exporting Geonames to a text file

After Geonames data has been loaded into your database and associated with features, you can edit and update the Geonames features as necessary and export them to a text file. This text file is created in Unicode Transfer Format (UTF) in 8-bit or 16-bit format so you can load the Geonames data into data in different locales.

At a minimum, the Geonames feature class must contain the unique feature identifier (UFI) and unique name identifier (UNI) fields. The text file is created for features from the country you choose using the Geonames feature class and table in your geodatabase. It is assumed that the name of the feature class and table are Geonames_FeaturesP and Geonames_Table, respectively, but you can also use Geonames files your organization may have already created.

注意注意:

Due to schema changes in the Geonames table, you may need to import the new schema into your existing Geonames table.

Fields in the file include the following:

步骤:
  1. Start ArcCatalog.
  2. On the main menu, click Customize > Toolbars > Defense Mapping.
  3. Select the geodatabase you want to export the Geonames from in the Catalog tree.
  4. Click the GDB2Geonames button GDB2Geonames on the Defense Mapping toolbar.

    The GDB2Geonames dialog box appears.

    GDB2Geonames

    注意注意:

    If the feature class and table default names, Geonames_FeatureP and GEONAMES_TABLE, were accepted when the feature class and table were created using the Load Geonames into a Database tool, the Converts GDB to Geonames tab delimited text file tool will automatically point to them. Otherwise, the fields are blank.

  5. If necessary, click the ellipsis button (...) next to the Geonames Feature Class text box.

    The Select Geonames Feature Class dialog box appears.

  6. Navigate to the feature class that contains your Geonames features.
  7. Click Add.

    The GDB2Geonames dialog box appears with the correct feature class name in the Geonames Feature Class text box.

  8. If necessary, click the ellipsis button (...) next to the Geonames Table text box.

    The Select Geonames Tabledialog box appears.

  9. Navigate to the table for your Geonames features.
  10. Click Add.

    The GDB2Geonames dialog box appears with the correct table name in the Geonames Table text box.

  11. Click the ellipsis button (...) next to the Geonames Export File text box.

    The Browse to the Geonames output file location dialog box appears.

  12. Navigate to the directory where you want the text file to be created.
  13. Type a name for the file in the Name text box.
  14. Click Save.
  15. The GDB2Geonames dialog box appears with the name of the output file in the Geonames Export File text box.

  16. Click the Select Country Code drop-down arrow and choose the country code that corresponds with the country for which you want to export Geonames features.
  17. Choose an output format for the file.

    You can use either 8-bit or 16-bit.

  18. Click Apply.

    The text file is created. A message appears when the process is complete.

  19. Click OK.

9/23/2010