Tagged Questions
2
votes
3answers
103 views
How to test if geometry is inside another?
I need to tell whether geometries from a shapefile are inside other geometries or not.
For example, I want to test if there are trees (represented as points in trees.shp) inside the urban areas ...
2
votes
2answers
527 views
Is there a way to get at C's OGRLayer.Intersection() or OGRLayer.Clip() in Python?
I am working with OGR in Python and noticed that the C libraries have useful Intersection() and Clip() functions as part of the Layer class. Is there any way to get at these functions in Python? I ...
8
votes
4answers
1k views
Best way to find the polygons crossed by a line
I'm trying to find all the polygons crossed by a single line (a GPS track).
I'm using the OGR library (from python) for computing this, but it's currently a bit 'brute-force' (and slow). For every ...
