[mapserver-users] Issue after upgrading to MapServer 6.0.0

Brent Fraser bfraser at geoanalytic.com
Thu Jun 16 07:19:02 PDT 2011


The most common change I needed to make was moving PATTERN, STYLE, and 
GAP from my SYMBOL definitions to the STYLE objects.

So for example in V5 I had:

# -- Symbol Defs: --
   SYMBOL
     NAME 'dashed5'
     TYPE SIMPLE
     STYLE 5 5 END
   END

# -- in my LAYER->CLASS object --
        STYLE
           SYMBOL "dashed5"
           WIDTH 1
           COLOR 80 80 80
       END


And in V6 it is now:

   SYMBOL
     NAME 'dashed5'
     TYPE SIMPLE
   END

# -- in my LAYER->CLASS object --
        STYLE
           SYMBOL "dashed5"
           PATTERN 5 5 END
           WIDTH 1
           COLOR 80 80 80
       END

Best Regards,
Brent Fraser


On 6/16/2011 8:04 AM, Chenier, Nicolas wrote:
> Hi all,
>
> Our legend and overview maps are not loading correctly when MapServer
> 6.0.0 is enabled (all works fine when using our original MapServer 5.6
> binaries).
>
> The error returned for both the legend and the overview map is the same:
>
> loadSymbol(): Unknown identifier. Parsing error near (STYLE):(line 167)
>
> I have searched quickly for this issue but did not find anything. Any
> help would be greatly appreciated!
>
> Thank you,
>
> Nicolas
>
> _______________________________________________
> 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