[mapserver-users] issue when upgrading layer from 5.x to 6.0

Mark Volz MarkVolz at co.lyon.mn.us
Tue Aug 7 08:04:14 PDT 2012


Hello,

I am upgrading a mapfile from Mapserver 5.x to Mapserver 6.0.  This map works fine in 5.x, however it crashes on the "STYLE" line.  If anyone sees anything wrong with this layer let me know.

LAYER
	NAME 'Townships'
	TYPE POLYGON
	DATA './LyonCounty/Boundaries/Townships'
	MINSCALEDENOM 15000
	STATUS DEFAULT
	TRANSPARENCY 100
	CLASSITEM "COLOR"
	CLASS
		NAME 'Townships' 
		EXPRESSION 'T'
		STYLE   ####### THIS IS WHERE MS CRASHED DUE TO "Unknown identifier. Parsing error near (STYLE):(line 109)"
			#SYMBOL 'hatch-test'
			COLOR 170 170 170
			SIZE 2
			WIDTH 1
		END #STYLE
	END #class
END # townships layer

Thank you for your help

Mark




More information about the MapServer-users mailing list