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

ogr2ogr to select disjoint features #19889

Closed
qgib opened this issue Nov 13, 2014 · 4 comments
Closed

ogr2ogr to select disjoint features #19889

qgib opened this issue Nov 13, 2014 · 4 comments
Labels
Feature Request Processing Relating to QGIS Processing framework or individual Processing algorithms

Comments

@qgib
Copy link
Contributor

qgib commented Nov 13, 2014

Author Name: Filipe Dias (@fsdias)
Original Redmine Issue: 11636

Redmine category:processing/ogr
Assignee: Giovanni Manghi


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

@qgib
Copy link
Contributor Author

qgib commented Jan 10, 2017

Author Name: Giovanni Manghi (@gioman)


  • category_id was configured as Processing/OGR

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • easy_fix was configured as 0

@qgib
Copy link
Contributor Author

qgib commented Mar 11, 2019

Author Name: Giovanni Manghi (@gioman)


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.


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

to 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

@qgib
Copy link
Contributor Author

qgib commented Mar 11, 2019

Author Name: Filipe Dias (@fsdias)


  • resolution was changed from to fixed/implemented
  • status_id was changed from Feedback to Closed

@qgib qgib closed this as completed Mar 11, 2019
@qgib qgib added Feature Request Processing Relating to QGIS Processing framework or individual Processing algorithms labels May 25, 2019
@qgib qgib added this to the Future Release - Nice to have milestone May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

No branches or pull requests

1 participant