[mapserver-users] mapserv 5 -> 6 symbol question

Brent Fraser bfraser at geoanalytic.com
Mon Feb 13 12:43:19 PST 2012


Rich,

For my Intermittent Waterways in v6, I've used


    CLASS # intermittent
       NAME 'intermittent'
       EXPRESSION '1480132'
       STYLE
         SYMBOL "SmallDots"
         COLOR 221 230 254
         GAP 2
       END
       STYLE
         SYMBOL "dashed5"
         PATTERN 5 5 END
         WIDTH 1
         OUTLINECOLOR 0 122 194
       END
     END

where the symbol def is:

   SYMBOL
     NAME 'dashed5'
     TYPE SIMPLE
   END
   SYMBOL
     NAME 'SmallDots'
     TYPE ELLIPSE
     POINTS 1 1 END
   END


Best Regards,
Brent Fraser


On 2/13/2012 1:22 PM, Richard Greenwood wrote:
> I'm upgrading a site from mapserver 5.6 to 6.0 and the attached symbol
> has me stumped. I can't seem to replicate the style in 6.0.
>
> My mapserver 5.6 definition that created the attached GIF is here:
>
> SYMBOL
>   NAME 'Circle_Open'
>   TYPE ELLIPSE
>   FILLED false
>   POINTS 1 1 END
> END
>
> LAYER
>   TYPE polygon
>   TRANSPARENCY alpha
>   CLASS
>     STYLE
>       COLOR 69 158 239
>       OUTLINECOLOR 0 0 255
>       SYMBOL 'Circle_Open'
>       SIZE 1
>     END
>   END
> END
>
> In mapserver 6.0 I'm using the same SYMBOL definition. I have split
> the outline into a separate STYLE block. But regardless of the SIZE or
> WIDTH that I specify for the STYLE all I get is a solid fill. What am
> I missing?
>
> Thanks,
> Rich
>
> --
> Richard Greenwood
> richard.greenwood at gmail.com
> www.greenwoodmap.com
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120213/70dd712a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: intermittent.PNG
Type: image/png
Size: 66695 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120213/70dd712a/attachment.png>


More information about the MapServer-users mailing list