最好的Python GIS库? [英] Best Python GIS library?

查看:77
本文介绍了最好的Python GIS库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在根据以下(主观)标准,寻求有关当前可用的最佳Python GIS库的建议:

I am looking for recommendations as to the best Python GIS library currently available based on the following (subjective) criteria:

  • 易于使用/Python界面/文档
  • 就当前以及将来的可用功能而言,它具有强大的功能(仍在开发中还是已淘汰).

到目前为止,我已经详细了解了

So far I have looked at, in some detail:

  • GEOS/OGR/GDAL:到目前为止,我一直在看这个图书馆,使用此网页作为辅导老师.我最初的反应是,尽管有些事情很容易,但我已经遇到了一些坑洼.例如,如果我想创建一个MultiPoint几何并使用Union()函数确定多边形内的点,就会遇到问题,但是Python绑定仅由SWIG生成,并且所有文档都是由计算机生成的.我之所以写这篇文章,是因为它令我震惊,因为那里可能会有更好的库.

  • GEOS/OGR/GDAL: So far I have been looking at this library, using this webpage as a tutor. My initial reaction is that while some things have been easy, already I have been running into a few potholes. For example, if I want to create a MultiPoint geometry and determine which points are inside a Polygon using the Union() function, I run into problems, but the Python bindings are just generated by SWIG and all of the documentation is computer generated. I made this post because it struck me that there might be better libraries out there.

GeoDjango:好的,它还是基于GEOS C/C ++库,但是界面似乎很直观,而且可能记录得更好.我也感觉到它正在积极更新.我对Web应用程序不感兴趣,但这似乎不是问题吗?

GeoDjango: Well this is again based on the GEOS C/C++ library, but it appears the interface might be intuitive, and possibly better documented. I also have the sense it is being actively updated. I'm not interested in web applications, but this doesn't seem to be an issue?

形状:再次基于GEOS库,似乎具有Pythonic接口.不确定功能支持或开发状态.

Shapely: Again based on the GEOS library, seems to have a Pythonic interface. Not sure about feature support or development status.

其他?有什么想法吗?预先感谢!

Others? Thoughts? Thanks in advance!

推荐答案

在2011年,您可以通过以下方法检查项目的生命体征:

In 2011, this is how you check a project's vital signs: https://github.com/sgillies/shapely/commits/master/.

根据我的诚实意见(免责声明:我是首席开发人员和手动作者),Shapely的文档与任何其他GIS软件一起在此处;也许不如PostGIS手册(crêmede lacrême)更好,但是比ArcPy的要好,比GEOS的要好得多.

In my honest opinion (disclaimer: I am the lead developer and manual author), Shapely's documentation is right up there with any other GIS software; maybe not quite as good as the PostGIS manual (crême de la crême), but better than ArcPy's, and much better than GEOS's.

这篇关于最好的Python GIS库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆