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

Jose Gomez-Dans jgomezdans at gmail.com
Wed Dec 8 07:16:03 EST 2010


Hi,

On 8 December 2010 09:38, Sebastian E. Ovide <sebastian.ovide at gmail.com> 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:
<http://gist.github.com/733207>

Jose


More information about the gdal-dev mailing list