[mapserver-users] Adding symbols on top of polyline elements
Adrian Popa
adrian_gh.popa at romtelecom.ro
Thu Nov 13 02:12:03 PST 2008
I looked again over your example, and now I understand the difference
from what I tried. Thanks!
thomas bonfort wrote:
> 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
>>
>>
>>
>
>
--
Adrian Popa
Network Engineer
Romtelecom S.A.
Divizia Centrul National de Operare Retea
Departament Transport IP & Metro
Compartiment IP Core
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081113/e0b4e9fc/attachment.htm>
More information about the MapServer-users
mailing list