python中的交互式地理空间数据操作
telluric的Python项目详细描述
大地
概述
telluric是一个python库,用于在交互式环境中管理矢量和栅格地理空间数据。 简单的方法。
打开光栅非常简单:
In [1]: import telluric as tl
In [2]: tl.GeoRaster2.open("http://download.osgeo.org/geotiff/samples/usgs/f41078e1.tif")
Out[2]: <telluric.georaster.GeoRaster2 at 0x7facd183ad68>
读取一些矢量数据也同样简单:
In [3]: tl.FileCollection.open("shapefiles/usa-major-cities.shp")
Out[3]: <telluric.collections.FileCollection at 0x7facd1183048>
对于更多的使用示例和完整的api引用, check out our documentation阅读文档。
以及source codeissue tracker托管在github上, 所有的贡献和反馈都是非常受欢迎的。
安装
您可以使用pip:
pip install telluric
请阅读our documentation上的更多完整安装说明。
telluice是一个纯python库,因此应该在linux、os x和windows上工作 前提是您可以安装其依赖项。如果你发现任何问题, please open an issue 我们会处理好的。
开发
Tellucia通常是在Linux上开发的。对于完整测试,请执行:
$ make build
$ make test
对于测试单个测试,请执行:
$ make dockershell
docker$ python -m pytest TEST_FILE::TEST_NAME