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 geometryColumnName() method for WFS and OAPIF providers #60055

Open
kannes opened this issue Jan 6, 2025 · 0 comments
Open

Add geometryColumnName() method for WFS and OAPIF providers #60055

kannes opened this issue Jan 6, 2025 · 0 comments

Comments

@kannes
Copy link
Contributor

kannes commented Jan 6, 2025

Feature description

#59909 added https://qgis.org/pyqgis/master/core/QgsVectorDataProvider.html#qgis.core.QgsVectorDataProvider.geometryColumnName for some providers (ogr, hana, mssql, oracle, postgres, spatialite).

Would it be possible to extent this to the WFS and OAPIF providers too? (cc @nyalldawson)

For QGIS expression filters one can use $geometry. But when constructing SQL layer filters in Python that refer to the geometry, one needs to know the geometry column's name so this would greatly simply there.

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant