Feature request #11636
ogr2ogr to select disjoint features
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Giovanni Manghi | ||
Category: | Processing/OGR | ||
Pull Request or Patch supplied: | No | Resolution: | fixed/implemented |
Easy fix?: | No | Copied to github as #: | 19889 |
Description
ogr2ogr can be used to compare features from two vectors, as v.select from GRASS GIS does (http://grass.osgeo.org/grass65/manuals/v.select.html).
It would be useful to have an ogr2ogr based tool that compares two vectors and selects/extracts disjoint features (e.g. features from vector A that are disjoing from vector B).
I found some code here that can be useful for writing this tool:
https://github.com/csterling/ogrTools/blob/master/disjoint.py
History
#1 Updated by Giovanni Manghi almost 8 years ago
- Category set to Processing/OGR
#2 Updated by Giovanni Manghi over 7 years ago
- Easy fix? set to No
#3 Updated by Giovanni Manghi over 5 years ago
- Status changed from Open to Feedback
- Description updated (diff)
We have now good native tools to do the selection/extration by location, unless an ogr based approach shows much better performances I would close this.
#4 Updated by Filipe Dias over 5 years ago
- Resolution set to fixed/implemented
- Status changed from Feedback to Closed