Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Is it possible to create a prepared geometry object using the Python SWIG geos.ogr module? It seems that Shapely and GeoDjango both have this functionality, but I can't see any mention of it in the standard Python module source or documentation. Unless I'm missing something, this seems somewhat of an oversight.

http://toblerity.github.io/shapely/manual.html#prepared-geometry-operations https://docs.djangoproject.com/en/dev/ref/contrib/gis/geos/#prepared-geometries

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

"There's currently no access to GEOS prepared geometries in OGR. They are just internally used by OGR since GDAL 1.10 to evaluate the layer spatial filter."

http://lists.osgeo.org/pipermail/gdal-dev/2013-April/036101.html

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.