enthought gdal/ogr not built with GEOS?

心不动则不痛 提交于 2019-12-10 11:56:02

问题


I'm using the academic version of enthought python for Windows. Most of ogr works, but not geometry methods like geometry.Buffer() or predicates like geometry1.crosses(geometry2). According to this:

http://gdal.org/python/osgeo.ogr.Geometry-class.html#Crosses

ogr needs to have been built with GEOS. Has anybody got these methods to work with Enthought? If not, can you suggest a Windows python binary where these are working?

thanks, jim


回答1:


Correct, there are many possible build configurations of GDAL/OGR, and geos is not currently supported by Enthought's build configuration. We will consider adding it in a future build. Meanwhile, FYI, GEOS operations are fully supported in the powerful and popular Shapely package which is included in the Enthought repository.



来源:https://stackoverflow.com/questions/26594890/enthought-gdal-ogr-not-built-with-geos

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!