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

Mark Volz MarkVolz at co.lyon.mn.us
Wed Aug 8 13:50:39 PDT 2012


Hello,

Thank you for all your replies on helping me figure out why a mapfile was working in 5.x and not 6.x.  It turns out that the problem was with an included symbol.sym file.  I realized that I am not even using this file on this particular map so I removed the reference.  So now everything is working, and this particular map will now run a little faster.  As Astrid mentioned I will take a closer look at the migration guide when I move other maps over that depend on the included symbol file.

Thanks again

Mark Volz


> 
> Message: 1
> Date: Wed, 8 Aug 2012 06:07:25 +0000
> From: "Lime, Steve D (DNR)" <Steve.Lime at state.mn.us>
> To: Mark Volz <MarkVolz at co.lyon.mn.us>,
> 	"mapserver-users at lists.osgeo.org"	<mapserver-
> users at lists.osgeo.org>
> Subject: Re: [mapserver-users] issue when upgrading layer from 5.x to
> 	6.0
> Message-ID:
> 	<C549F0496453D842B4DD71AC8188DDC51E66F2 at 055-CH1MPN1-
> 042.055d.mgd.msft.net>
> 
> Content-Type: text/plain; charset="us-ascii"
> 
> 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