[mapserver-users] Adding symbols on top of polyline elements

Adrian Popa adrian_gh.popa at romtelecom.ro
Thu Nov 13 00:40:32 PST 2008


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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081113/032d6aff/attachment.htm>


More information about the MapServer-users mailing list