[mapserver-users] R

David Nugent davidn at datalinktech.com.au
Thu Jun 11 02:37:11 EDT 2009


On Thu, 11 Jun 2009 15:23:27 +1000, I wrote:

>> If you're already pulling from a view, you might want to consider three  
>> views:
>> interstates
>> highways
>> local roads
>>
>> (or how ever you layer it)
>
> Yep, that is what I was originally doing, but I broke it by purposely  
> combining all road layers to make joins between roads with outlines  
> looking much better (which Thomas' reply referred to).
>
> As part of that change, and in order to improve visual effect, I decided  
> instead to use ground relationship to split roads into three layers,  
> resulting in tunnels under surface roads under bridges.  I figured I  
> could tidy up the side effects if I could just get objects within the  
> layer rendering in order of road importance.  :-)
>
> I will try playing with ordering in the DATA property as Thomas suggests.


This works perfectly, so now I'm 95% there. :-)

One last problem I'm scratching my head on.

I want to highlight bridges by using a thick border on each side of the  
road (and if possible an angular section at each end of the border as  
often seen in traditional road maps). Using an outline won't work for this  
as outlines close the end points of the line segment with a border and I  
would prefer them to blend directly with the road to which they belong.  
I'm thinking a symbol would be needed but not sure how to approach it.

Like (view this with a fixed width font):

____\____________________________/__
____ ____________________________ __
    /                             \

(imagine lines joining \/ being thick)

How to achieve such a border?

Regards,
David


More information about the mapserver-users mailing list