How To: Add a custom projection to the GIS Portal Toolkit Map Viewer
The GIS Portal Toolkit (GPT) Map Viewer understands over 3000 projections, which are the projections that are registered by default with ArcIMS. However, situations occur where a needed projection is not part of this large list. Instructions provided describe how to add a custom projection and have it be recognized by the GPT Map Viewer.
Save the 'projcs' file in any folder used for storing custom projection engine information. For example: 'c:\program files\arcgis\arcims\customPE'
Add a system environment variable called 'PEOBJEDITHOME'. Set the value to the folder path where the 'projcs' file is located. Go to Start > My Computer > right-click to Properties > select Advanced tab > Environment Variables > System Variables > New.
The custom projection is now added. As an optional setting, the GPT Map Viewer can be configured to use this projection as its default projection, as well as add the projection to the list of favorites in the Map Viewer Properties dialog box.
A client such as ArcMap does not know how to handle the new projection ID by default. So for setting up map services with this new projection as a default, the map server needs to spell out the entire projection string in the AXL file, rather than using the projection ID.