[mapserver-users] Adding symbols on top of polyline elements
thomas bonfort
thomas.bonfort at gmail.com
Thu Nov 13 00:44:59 PST 2008
you don't have to... you can use the multiple style blocks as I showed
in my last email....
althoug you will have to play with offsets to avoid the symbols overlapping
thomas
On Thu, Nov 13, 2008 at 09:40, Adrian Popa <adrian_gh.popa at romtelecom.ro> wrote:
> Thanks for the reply Thomas,
>
> I will try a workaround by creating a third symbol with both arrows on top
> of it ><
>
> Thanks,
>
> thomas bonfort wrote:
>
> Hi,
>
>
>
> Case 3: displaying both arrows on the same element:
> CLASS
> NAME "Right"
> EXPRESSION /^FO040314$/
> STYLE
> SYMBOL right
> SIZE 24
> COLOR 51 102 0
> END
> END
> CLASS
> NAME "Left"
> EXPRESSION /^FO040314$/
> STYLE
> SYMBOL left
> SIZE 24
> COLOR 102 51 0
> END
> END
>
> How can I display both arrows on the same object (or do they display, but
> they overlap completely?)
>
>
> only ONE class is drawn for each feature, the first one in the rder of
> the mapfile to meet the expression and scale tests. so your second
> class is never rendered in this case.
>
> CLASS
> NAME "Rightand left"
> EXPRESSION /^FO040314$/
> STYLE
> SYMBOL right
> SIZE 24
> COLOR 51 102 0
> END
> STYLE
> SYMBOL left
> SIZE 24
> COLOR 102 51 0
> END
> END
>
>
> cheers,
> thomas
>
>
>
> --
> Adrian Popa
>
> Network Engineer
> Romtelecom S.A.
> Divizia Centrul National de Operare Retea
> Departament Transport IP & Metro
> Compartiment IP Core
>
>
More information about the MapServer-users
mailing list