[mapserver-users] How to fill in an area to the right of a line

Michael Shishcu micklesh at gmail.com
Tue Jan 3 01:19:38 EST 2012


Hi Matt,

with symbol you are limited to 50 by default but can redefined to something
bigger, see MAXSIZE for CLASS in docs
though you can create a new polygon to cover the sea near the coast. I'm
not sure which way is faster in production, just make some tests

regards, michael

On Tue, Jan 3, 2012 at 5:25 AM, Matt McClelland <matt at wildwalks.com> wrote:

> Happy new year
>
> I am wanting to run a wide line down the coast of a map (to cover up some
> less then perfect data underneath).
>
> Basically I want to draw a thin blue line for the coast, and a thick (say
> 1000px) light blue line to the right to cover the ocean.
>
> I have tried parallel lines (using Offset) but this gave a messy result.
> So I have now tried using a symbol to fill the area to the right of the
> line.  This works OK but I seem to be limited to the size.
>
> Any other better idea on how to solve this issue??
>
>
> this is the relevant section of the map file for the attached image.
>     CLASS
>         EXPRESSION 'coastline'
>         STYLE
>           COLOR 181 209 240
>           SYMBOL "coastline"
>           SIZE 500
>           WIDTH 1
>       #LINEJOIN miter
>       #OFFSET 14 14
>         END # STYLE
>         STYLE
>           COLOR 100 100 255
>           WIDTH 2
>         END # STYLE
>     END
>
> SYMBOL
>   NAME "coastline"
>   TYPE vector
>   FILLED true
>   POINTS
>     0 500
>     0 1000
>     500 1000
>     500 500
>   END # POINTS
> END # SYMBOL
>
> Matt  :)
>
> _______________________________________________
> 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/20120103/4a84e0d2/attachment.html


More information about the mapserver-users mailing list