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

OGR VRT: accept SrcRegion value to be any geometry type as well as SetSpatialFilter() #11537

Merged
merged 3 commits into from
Dec 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/source/drivers/vector/vrt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,10 @@ layer name, and may have the following subelements:


- **SrcRegion** (optional) : This element is used to
define an initial spatial filter for the source features. This spatial
define an initial spatial filter for the source features, such that only features intersecting ``SrcRegion`` will be returned be included in the VRT layer. This spatial
rouault marked this conversation as resolved.
Show resolved Hide resolved
filter will be combined with any spatial filter explicitly set on the
rouault marked this conversation as resolved.
Show resolved Hide resolved
VRT layer with the SetSpatialFilter() method. The value of the element
must be a valid WKT string defining a geometry. An optional **clip**
must be a valid WKT string defining a geometry in the spatial reference system of the source layer. An optional **clip**
attribute can be set to "TRUE" to clip the geometries to the source
region, otherwise the source geometries are not modified.

Expand Down
Loading