Appendix C: Creating MapServer CLASS definitions from ARCGIS legends
The MXDtoWMS tool can help you create the complete MapServer mapfile including CLASS sections from an ESRI ArcMap . mxd file. There are versions for ArcGIS 8 and ArcGIS 9 supplied in the same download but only the version for ArcGIS 9 is described here.
The tool produces complete mapfiles and allows customization of the produced mapfiles. However, we have not used this functionality and, for the purposes of this cookbook, we are only interested in the generation of the CLASS definitions, the other parts of the mapfile should be edited according to the instructions elsewhere in these cookbook pages.
This tool is free and open source software released under the LGPL license. It can be obtained from the ESRI support center , the author would like an email if you use it and like it.
Section last modified : 19 January 2010.