-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
OGRVRTLayer layer level SrcRegion clip not implemented #11519
Comments
The documentation has this DataSource level example https://github.com/OSGeo/gdal/blob/42ca02ce9397ec3f37dcc46eace97011f1aa0d53/doc/source/drivers/vector/vrt.rst#example-transparent-spatial-filtering. Does it work?
|
I made a test with a geopackage, and SrcRegion really does work inside GeometryField, but outside that
|
I clipped the geopackage and made a clip region that overlaps with the testdata. Minimal geopackage with sample data: Tested VRT:
|
What is the bug?
According to the documentation of VRT the SrcRegion on OGRVRTLayer should have a clip attribute.
For the GeometryField the SrcRegion clip="true" is working but looking at the source code its not implemented for OGRVRTLayer.
Steps to reproduce the issue
Not working VRT for SrcRegion clip on VRTLayer
Working VRT for GeometryField
Versions and provenance
GDAL 3.6, 3.9.3, 3.10.0 self-built from binaries.
Additional context
No response
The text was updated successfully, but these errors were encountered: