[Qgis-user] QGIS-Server Layer Order
Andreas Neumann
a.neumann at carto.net
Wed Mar 31 09:16:58 PDT 2021
Hi Julierme,
It is the client that requests a certain layer order, not the server.
Unless you request a group layer/top level layer.
You find the information on the initial layer order in the
GetProjectSettings response:
https://docs.qgis.org/3.16/en/docs/server_manual/services.html#server-wms-getprojectsettings
The information of the GetProjectSettings response can be parsed by the
client and used to generate an appropriate GetMap request with the
correct layer order.
Hope this helps,
Andreas
On 2021-03-31 18:07, 1520 gis wrote:
> Hi developers,
>
> I have tried to change the QGIS-Server layer order using QGIS Desktop
> Layers Panel and L.TileLayer.WMS (Leaflet) zIndex options. None of them
> could change the layer order. It seems that QGIS-Server always serves
> from bottom to Top: raster images, polygons, lines and points by
> default. Is there any way to change these settings?
>
> Kind regards
>
> Julierme
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210331/66b8d083/attachment.html>
More information about the Qgis-user
mailing list