Re: [gdal-dev] ogr + python: find polygons in x,y

2010-12-08 Thread Sebastian E. Ovide
Hi Jose, thanks for that. I've used SetSpatialFilterRect(x,y,x+0.01,y+0.01) On Wed, Dec 8, 2010 at 12:16 PM, Jose Gomez-Dans wrote: > Hi, > > On 8 December 2010 09:38, Sebastian E. Ovide > wrote: > > Using Python + Gdal/OGR is there any efficient way of finding all the > > polygons that contai

Re: [gdal-dev] ogr + python: find polygons in x,y

2010-12-08 Thread Jose Gomez-Dans
Hi, On 8 December 2010 09:38, Sebastian E. Ovide wrote: > Using Python + Gdal/OGRĀ is there any efficient way of finding all the > polygons that contains the point X,Y ? This is my try. Not the most efficient, but you could always use a spatial index and a spatial filter:

[gdal-dev] ogr + python: find polygons in x,y

2010-12-08 Thread Sebastian E. Ovide
Hi All, Using Python + Gdal/OGR is there any efficient way of finding all the polygons that contains the point X,Y ? thanks ? -- Sebastian E. Ovide ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev