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

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Tue Aug 7 23:07:25 PDT 2012


Nothing jumps out. Are you using INCLUDES or and external symbol file? Wonder if the line number is off or referencing another file.

Steve

________________________________________
From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] on behalf of Mark Volz [MarkVolz at co.lyon.mn.us]
Sent: Tuesday, August 07, 2012 10:04 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] issue when upgrading layer from 5.x to 6.0

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

_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users





More information about the MapServer-users mailing list