problem with .sym definition

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Wed Apr 13 06:15:01 PDT 2005


Have you tried using:

SYMBOL 'triangle'

names in the mapfile should be quoted.

-Steve


gerard barrington wrote:
> Just like to thank Bart for his quick reply to an earlier post.
>
> Here's another question for the group. In my map file i have this class
> definition:
>
>  CLASS
>   STYLE
>    COLOR 0 0 0
>    SIZE 1
>    SYMBOL triangle
>   END
>  END
>
> and in my symbol file I have:
>
>   SYMBOL
>  NAME 'triangle'
>  TYPE VECTOR
>  FILLED TRUE
>  POINTS
>   0 1
>   1 0
>   1 1
>   0 1
>  END
>   END
>
> but i get an error on the 'SYMBOL triangle' line of my map file.
> However, when i replace 'triangle' with another symbol in my .sym file,
> the line shows perfect.
>
> Is there something wrong with my triangle symbol definition?
>
> cheers!
>
> Gerard B
>



More information about the MapServer-users mailing list