[mapserver-users] Rendering order of objects in a layer

David Nugent davidn at datalinktech.com.au
Thu Jun 11 01:23:27 EDT 2009


On Thu, 11 Jun 2009 02:08:54 +1000, Dan Little <danlittle at yahoo.com> 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.  
I wasn't aware it would handle "order by" (but only too aware that while  
being "sql like" it isn't exactly sql :-)).

Thanks to both of you for the response,

Regards,
David


More information about the mapserver-users mailing list