Modifying the grid XML file by changing directional characters (Maritime Charting)

The INT2 grid XML files are configured to display all directional characters with an "N" for latitudes and a "E" for longitudes. Although grid annotation can be edited after the grid is created, you may want to create several grids that use characters other than "N" and "E." To do this, you can use the Grids and Graticules Designer to edit the existing grid XML files and save them to a new file that is configured to use other characters, like an "S" or an "E;" custom national characters; or no characters at all. This has to be done only once for each grid XML file you want to modify. Once you have modified the XML file, all new grids will display the characters you defined.

手順:
  1. Start ArcMap if necessary.
  2. On the Nautical Cartography toolbar, click Grids Grids and Graticules Designer.
  3. Click the Open button Open at the top of the Grids and Graticules Designer window.

    The Open dialog box appears.

  4. Browse to the location of the grid XML file you want to edit.
    • For 32-bit Windows operating systems—<Installation location>\Program Files\ArcGIS\MaritimeCharting\Desktop10.2.1\Charting\Cartography\GridDefinitions
    • For 64-bit Windows operating systems—<Installation location>\Program Files(x86)\ArcGIS\MaritimeCharting\Desktop10.2.1\Charting\Cartography\GridDefinitions
  5. Click the appropriate XML file to select it.
  6. Click Open.

    The grid is loaded into the Grids and Graticules Designer window.

    Grid loaded in the Grids and Graticules Designer window
  7. From the tree view, double-click the annotation component you want to change.
  8. If necessary, scroll down on the Anno General tab to the Groupings and Properties areas.
    Grids and Graticules Designer Annotation Properties (changed) dialog box—Anno General tab
  9. Click the Group Suffix text box, delete the current character, then type the character you want.

    注意注意:

    You can copy and paste a character from All Programs Accessories System Tools Character Map to create degree symbols or to use specific font glyphs.

  10. Repeat steps 7–9 as needed.
  11. Click the top component in the tree view.
  12. Click the Save As button 保存 at the top of the Grids and Graticules Designer window.

    The Save as dialog box appears.

  13. Browse to an output location to save the file and rename the file appropriately.
  14. Click Save.

You now have a new grid XML that will generate grids with the new Group Suffix values you have defined.

4/26/2014