平铺系统的墨卡托坐标操作

webmercator的Python项目详细描述


TravisCICodeCovPyPIMIT-License

WebMercator是一个Python(2.7、3.4、3.5、3.6、3.7)包,用于帮助将地理点转换为平铺系统的Mercator投影。

开始

先决条件

要利用或贡献WebMercator,您只需要Python!

安装

用于出血边缘

# keeping the repo local
$ git clone git@github.com:republicwireless-open/webmercator
$ cd webmercator
$ python setup.py install

# only install; no need to clone
$ pip install git+https://github.com/republicwireless-open/webmercator@master

或者对于pypi版本

$ pip install webmercator>=0.1.2

运行测试

测试可以以多种方式运行:

# runs all tests, in all environments
$ path/to/tox

# runs all tests, only in Python 2.7
$ path/to/tox -e py27

# runs specific test class, only in Python 3.6
$ path/to/tox -e py36 tests/point.py

# runs specific test class, only in Python 3.6
$ path/to/tox -e py36 tests/point.py:TestPoint

# runs specific test class, only in Python 3.6
$ path/to/tox -e py36 tests/point.py:TestPoint.test_init_empty

# only runs style guide tests
$ path/to/tox -e flake8

贡献

请阅读CONTRIBUTING.md了解有关我们的行为准则以及向我们提交请求的过程的详细信息。

版本控制

我们使用SemVer进行版本控制。有关可用的版本,请参见tags on this repository

作者

另请参阅参与此项目的contributors列表。

许可证

这个项目是根据MIT License

致谢

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
JavaI从另一个Jframe类B扩展了一个J帧类a,但在显示帧B时,它也在B中播放帧a   java适配器模式应用程序   使用并行流从java列表中获取Pojo,而不使用任何类型的索引   java更新文本文件中的双精度   java从webservice返回自定义对象   java在查找多个集合的交集时使用Retainal()的最快顺序   java如何在安卓社交媒体应用程序中应用用户对用户支付?   c代码能引发java异常吗?   Java数组填充了最后一个插槽中的内容   java JOOQ从大表中获取数据:良好实践   使用ApachePOI在JavaSwing中嵌入excel工作表   java如何使用枚举定义常量值组   java JavaFX将文本追加到TextArea引发异常   javascript JS在firefox中无法正常工作   java如何在同一片段中的片段打开后编辑该片段打开的活动中的值   对夏洛克的命令。py的解释不同于linux命令行和java进程api   php在Java中动态创建全局多维数组   html Java XML Transformer将“\n”替换为空格   Javac编译编码问题