-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add support for OGC Filter Encoding to WMS #104
Comments
+1 |
+1 |
8 tasks
ping @pblottiere too |
pvalsecc
pushed a commit
to pvalsecc/QGIS
that referenced
this issue
Nov 28, 2017
@pvalsecc Thank you for this feature. Does filter accept GML version 3? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
QGIS Enhancement: Add support for OGC Filter Encoding to WMS
Date 2017/09/21
Author Patrick Valsecchi
Contact patrick.valsecchi@camptocamp.com
maintainer @pvalsecc
Version QGIS 3.0
Summary
The current WMS filter mechanism provided by QGIS is limited to QGIS specific expressions. This QEP proposes to add support of OGC Filter Encoding, following the same parameter format as MapServer and GeoServer.
Proposed Solution
Add another format for the WMS FILTER parameter that follows the current MapServer/GeoServer “standard”:
In the code handling the WMS format parameter, if the value starts with
“(<”
or with“<”
(both starting strings not possible with the current format), we split the filters for the different layers and generate theQgsFeatureRequest
from the XML, usingQgsWfs::parseFilterElement
(moving this function toQgsOgc
or something).The answer to GetCapabilities from MapServer doesn’t contain any reference to the filtering. So no change there.
Example(s)
See http://mapserver.org/development/rfc/ms-rfc-118.html
Affected Files
Performance Implications
Should have no impact on queries using the current filter format and the performance should be similar for the OGC Filter Encoding format.
Backwards Compatibility
No problem there. The old format will still be supported.
Votes
(required)
The text was updated successfully, but these errors were encountered: