-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes WFS EXP_FILTER parsing in GetFeature request #47029
Conversation
Hello @nboisteault, FYI, I think this PR will fix your issue raised some days ago about the |
I'd just note that isn't consistent with the WFS spec regarding usage of FILTER for multiple layers. For WFS 2, see Example 10 of http://docs.opengeospatial.org/is/09-025r2/09-025r2.html#391
and WFS 1.1 example 13 of http://docs.opengeospatial.org/is/04-094r1/04-094r1.html :
Interestingly I just discover that in WFS 2 TYPENAMES=A,B means a join layer, whereas TYPENAMES=(A)(B) means get the 2 layers separately... |
@pblottiere backport ? |
@rouault very interesting indeed. |
@rouault thanks a lot for your input 👍
@nboisteault Considering the comment of Even and the corresponding spec, I think I should probably update the regex to support the BTW, I'm willing to bet that the |
d91ba48
to
9b688fb
Compare
By taking a look to the WMS So I moved the filter parser in The |
@pblottiere A documentation ticket will be opened at https://github.com/qgis/QGIS-Documentation when this PR is merged. Please update the description (not the comments) with helpful description and screenshot to help the work from documentors. Thank you! |
I'll merge this PR in the coming days if I don't have more comments in the meantime. |
1267add
to
7837215
Compare
@pblottiere |
... for using this kind of request:
TYPENAME=countries,places&EXP_FILTER="name"='France';"name"='Paris'
.(note that the
;
separator is used to be homogeneous with the filter implementation in WMS 1.3.0 service).This PR is related to https://www.mail-archive.com/qgis-user@lists.osgeo.org/msg50029.html.