Draw order of DEFAULT layers in WMS
Shawn Gervais
project10 at PROJECT10.NET
Wed Dec 5 10:50:43 PST 2007
Greetings list,
I noticed while playing with DEFAULT layers that they were being drawn
behind all my other layers. After looking at the code, I found that
mapwms.c will draw DEFAULT layers before any others, and does not
respect the draw order that the WMS client provides.
I think this violates the WMS 1.1.1 spec - 01-068r3 7.2.3.3 which states:
"A WMS shall render the requested layers by drawing the leftmost in the
list bottommost, the next one over that, and so on."
From the WMS client's perspective, it has no idea what a layer's STATUS is.
I have attached a patch which will respect the draw order for DEFAULT
layers, if they are specified in the LAYERS parameter. If they are not
specified, the old behavior is used. I would appreciate feedback, if
anyone has, on whether this is worthy of submitting as a ticket.
-Shawn
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mapwms-default_draworder.patch
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20071205/9ac76dad/attachment.ksh>
More information about the MapServer-users
mailing list