[Qgis-user] QgisServer - WMS getMap with geographical filters

DelazJ delazj at gmail.com
Tue Nov 17 10:09:10 PST 2020


Hi
Nicolas, about the filter parameter, are you referring to
https://docs.qgis.org/3.16/en/docs/server_manual/services.html#filter ?
That said, there is already a bbox parameter for the wms service :
https://docs.qgis.org/3.16/en/docs/server_manual/services.html#bbox

Regards,
Harrissou

Le mar. 17 nov. 2020 à 18:56, niki oro <oro.niki at gmail.com> a écrit :

> I wasn't lucky :( Could you show me some examples of using OGC
> geographical filters with WMS getMap, please?
>
> Thank you
>
> Il giorno lun 2 nov 2020 alle ore 09:58 niki oro <oro.niki at gmail.com> ha
> scritto:
>
>> Thanks, I'll check it out.
>>
>> Il giorno sab 31 ott 2020 alle ore 21:42 Nicolas Boisteault <
>> nboisteault at 3liz.com> ha scritto:
>>
>>> Hi,
>>> You can use OGC filter with wms. It is undocumented but you can look at
>>> this QEP : https://github.com/qgis/QGIS-Enhancement-Proposals/issues/104
>>>
>>> Le sam. 31 oct. 2020 à 17:17, niki oro <oro.niki at gmail.com> a écrit :
>>>
>>>> Hi everyone,
>>>>
>>>> I'm working with a layer which I need to filter in a WMS GetMap request
>>>> by adding a BBOX query in order to retrieve only a subset of information. I
>>>> suppose that the right way to accomplish this is by adding a kind of CQL
>>>> filter, but I cannot find the proper manner.
>>>> I tried with this:
>>>> Filter= LayerWhichINeedToFilter : "nameOfGeometryAttribute"
>>>> 'BBOX'(2841625.00, 8882591.00, 2962275, 8971491);
>>>>
>>>> Is there a right way to do this?
>>>> Thank you
>>>> _______________________________________________
>>>> 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
>>>
>>> _______________________________________________
> 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/20201117/70b0b130/attachment.html>


More information about the Qgis-user mailing list