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
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to