Skip to content
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 WFS support #15

Open
kannes opened this issue Apr 23, 2023 · 2 comments
Open

Add WFS support #15

kannes opened this issue Apr 23, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@kannes
Copy link
Contributor

kannes commented Apr 23, 2023

@pathmapper and I were trying spatial queries on WFS layers and it might "just work". Not sure if every WFS will allow for it but it might be worth trying.

Example:
On https://www.wfs.nrw.de/geobasis/wfs_nw_dvg -> dvg:nw_dvg2_krs the filter SELECT * FROM nw_dvg1_krs WHERE ST_Intersects(msGeometry, ST_GeometryFromText('POINT(455600 5720000)')) works.

msGeometry is the name of the geometry column. We looked it up manually on https://www.wfs.nrw.de/geobasis/wfs_nw_dvg?SERVICE=WFS&REQUEST=DescribeFeatureType&VERSION=2.0.0&TYPENAMES=dvg:nw_dvg2_krs&TYPENAME=dvg:nw_dvg2_krs

It might be ugly/hard to get this via PyQGIS as layer.dataProvider().uri().geometryColumn() returns an empty string :(

Being able to filter (slow and quickly overloaded) WFS servers would be great!

@kannes kannes added the enhancement New feature or request label Apr 23, 2023
@kannes
Copy link
Contributor Author

kannes commented Sep 21, 2023

The storage type is 'OGC WFS (Web Feature Service)'

OGC API Features would be useful too.

@kannes
Copy link
Contributor Author

kannes commented Dec 14, 2023

We need to check if the filter actually results in a filtering WFS query (server provides filtered data) or if it is just client-side filtering (full data (in bbox) is downloaded).

Does it work?
Does it work for WFS1, WFS2 and OAPIF?

pgipper added a commit that referenced this issue Aug 24, 2024
Resolve "Minipunkte von grobem Codereview"

Closes #11 and #15

See merge request qgis/hvbg-filterplugin!1
@pgipper pgipper reopened this Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants