Summary
Instructions provided describe how to add projection information to a map configuration file. When planning to expose the ArcIMS services as Web services, or there is an expectation for others outside an organization to access services, projection information should be included in the map configuration file.
Procedure
The projection elements FILTERCOORDSYS and FEATURECOORDSYS are not available through the Author interface. Therefore, these two elements must be added to the map configuration file in a text or XML editor.
Follow the procedure below:
- Open the map configuration file and look for the PROPERTIES element.
<PROPERTIES>
<ENVELOPE minx="-141.0" miny="41.9" maxx="-52.6" maxy="83.1" name="Initial_Extent" />
<MAPUNITS units="decimal_degrees" />
...
</PROPERTIES>
- Between the opening and closing PROPERTIES elements add FILTERCOORDSYS and FEATURECOORDSYS.
<PROPERTIES>
<ENVELOPE minx="-141.0" miny="41.9" maxx="-52.6" maxy="83.1" name="Initial_Extent" />
<MAPUNITS units="decimal_degrees" />
<FILTERCOORDSYS id="4326" />
<FEATURECOORDSYS id="4326" />
...
</PROPERTIES> - Find the projection ID and add it to both the FILTERCOORDSYS and FEATURECOORDSYS id. For example, the id for WGS 1984 is '4326'. The id for World Robinson is '54030'.
The projection IDs are listed in the ArcXML Programmers Reference Guide under Coordinate IDs and Descriptions. This document is installed during a typical install of ArcIMS. It is also available online using the Related Information link below.
More information about using projections is available in the ArcXML Programmers Reference Guide under "Introduction to ArcXML - Using Projection Elements".