Modifying the grid XML file by changing the coordinate system (Maritime Charting)

All INT2 grid XMLs are configured to use World Mercator as the primary coordinate system and WGS84 as the ancillary. However, if you want to use different datums and projections, you can use the Grids and Graticules Designer to change the primary and ancillary coordinate systems of any of the existing grid XMLs and save it as a new XML file. This can be done before or after creating grids.

Etapes :
  1. Start ArcMap if necessary.
  2. Open the product map document.
  3. On the Nautical Cartography toolbar, click Grids > Grids and Graticules Designer.
  4. Click the Open button Open at the top of the Grids and Graticules Designer window.

    The Open dialog box appears.

  5. 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
  6. Click the appropriate XML file to select it.
  7. Click Open.

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

    Grid loaded in the Grids and Graticules Designer window
  8. Right-click the top component in the tree view and click Properties.

    The Grid Properties window opens.

  9. From the Grid General tab, click the Properties button Propriétés in the Primary Coordinate System area.

    The Spatial Reference Properties dialog box appears.

    Spatial Reference Properties dialog box with World Mercator selected
  10. Browse in the Projected Coordinate Systems folder and click the appropriate projected coordinate system.
  11. Click OK to close the Spatial Reference Properties dialog box.

    Now that you have updated the primary coordinate system, you may need to update the Ancillary coordinate system if it does not support the chosen primary coordinate system.

  12. Click a component, such as Gridlines, that requires or uses an ancillary coordinate system.

    Components properties appear in the Tick Properties dialog box.

    Tick Properties dialog box
  13. In the properties window, click the Properties button Propriétés in the Ancillary Coordinate System area.

    The Spatial Reference Properties dialog box appears.

    Spatial Reference Properties dialog box with WGS84 selected
  14. Browse in the Geographic Coordinate Systems folder and click the appropriate ancillary coordinate system.
  15. Click OK to close the Spatial Reference Properties dialog box.
  16. Repeat steps 13 through 15 for every component that uses an ancillary coordinate system.
  17. Click the top component in the tree view.
  18. Click the Save As button Enregistrer at the top of the Grids and Graticules Designer window.

    The Save as dialog box appears.

  19. Browse to an output location to save the file and rename the file appropriately.
  20. Click Save.

You now have a new grid XML that will generate grids with a primary and ancillary coordinate system of your choice.

4/27/2014