[Qgis-user] [QGIS-Server] Possible to use multiple FILTER or EXP_FILTER relatives to multiple TYPENAME?
Nicolas Boisteault
nboisteault at 3liz.com
Mon Jan 17 12:37:32 PST 2022
Hi all,
If I execute :
http://DOMAIN/?MAP=mymap&SERVICE=WFS&REQUEST=GetFeature&VERSION=1.0.0&OUTPUTFORMAT=GeoJSON&TYPENAME=data_integers&EXP_FILTER="id"=2
or
http://DOMAIN/?MAP=mymap&SERVICE=WFS&REQUEST=GetFeature&VERSION=1.0.0&OUTPUTFORMAT=GeoJSON&TYPENAME=data_trad_en_fr&EXP_FILTER="id"=4
Responses are correct.
Now if I try to execute both queries in one this way :
http://DOMAIN/?MAP=mymap&SERVICE=WFS&REQUEST=GetFeature&VERSION=1.0.0&OUTPUTFORMAT=GeoJSON&TYPENAME=data_integers,data_trad_en_fr&EXP_FILTER="id"=2",id"=4
It returns all features for both layers when I'd like two features (one
from first query plus one from second one).
The problem is the same with OGC Filter. Is there anything I'm doing
wrong or it is not intended to query multiple TYPENAMEs with multiple
EXP_FILTERs/FILTERs?
Thanks.
--
Nicolas Boisteault
Ingénieur
www.3liz.com <http://www.3liz.com>
*Tel.* 06 19 36 78 32
*Bureau*
31, rue de l'Argenterie
<https://maps.google.com/?q=31,+rue+de+l'Argenterie+34000+Montpellier&entry=gmail&source=g>
34000 Montpellier
<https://maps.google.com/?q=31,+rue+de+l'Argenterie+34000+Montpellier&entry=gmail&source=g>
*Siège social*
73, allée Kleber
<https://maps.google.com/?q=73,+all%C3%A9e+Kleber+Boulevard+de+Strasbourg+34000+Montpellier&entry=gmail&source=g>
Boulevard de Strasbourg
<https://maps.google.com/?q=73,+all%C3%A9e+Kleber+Boulevard+de+Strasbourg+34000+Montpellier&entry=gmail&source=g>
34000 Montpellier
<https://maps.google.com/?q=73,+all%C3%A9e+Kleber+Boulevard+de+Strasbourg+34000+Montpellier&entry=gmail&source=g>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220117/3c167d67/attachment.html>
More information about the Qgis-user
mailing list