WMS: Can I change the order of the layers?

Shawn Gervais project10 at PROJECT10.NET
Tue Jan 22 12:27:18 EST 2008


> I just created a mapfile with about 5 layers which do also appear in the 
> returned XML file of GetCapabilities() and now I want to show them with 
> GetMap() and maybe want to change the order the leayers appear (make the 
> lowest come up, etc.).
> Is there a way without changing the whole mapfile to do this?

Yes - the draw order of layers is taken from the LAYERS= parameter in 
the GetMap request. The first layer in that list is drawn first, the 
second second, etc ...

-Shawn



More information about the mapserver-users mailing list