[Qgis-user] QGIS-Server Layer Order

1520 gis juliermeopensourcedeveloper at gmail.com
Wed Mar 31 13:16:00 PDT 2021


Hi Andrea,

Did  you mean to add [1] LAYERDRAWINGORDER=... as a parameter in WMS
request?

 [1]  <LayerDrawingOrder>
OSM,biomas,ufe,rodovias,aerovias,rbmc,maregrafos,cbers4</LayerDrawingOrder>

Kind regards

Julierme


On Wed, Mar 31, 2021 at 2:13 PM 1520 gis <
juliermeopensourcedeveloper at gmail.com> wrote:

> Hi Andreas,
>
> Thank you very much for your reply and help.
>
> I appreciate it.
>
> Kind regards
>
> Julierme
>
> On Wed, Mar 31, 2021 at 1:17 PM Andreas Neumann <a.neumann at carto.net>
> wrote:
>
>> 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/25433625/attachment.html>


More information about the Qgis-user mailing list