**已关闭。**此问题不符合Stack Overflow guidelines。当前不接受答案。
我们不允许问题寻求书籍、工具、软件库等的建议。您可以编辑问题,以便使用事实和引文来回答。
五年前就关门了。
Improve this question
有没有一个python库可以处理坐标系转换?我正在处理numpy meshgrid,但有时切换坐标系是有用的。因为我不想重复发明轮子,有没有任何库可以处理:
- 变换(笛卡尔变换、球面变换、极坐标变换...)
- 翻译
- 轮换?
**已关闭。**此问题不符合Stack Overflow guidelines。当前不接受答案。
我们不允许问题寻求书籍、工具、软件库等的建议。您可以编辑问题,以便使用事实和引文来回答。
五年前就关门了。
Improve this question
有没有一个python库可以处理坐标系转换?我正在处理numpy meshgrid,但有时切换坐标系是有用的。因为我不想重复发明轮子,有没有任何库可以处理:
2条答案
按热度按时间7kjnsjlb1#
关于变换和旋转,我发现Christoph Gohlke的transformations.py非常有用。
xnifntxz2#
您可以使用shapely库:http://toblerity.org/shapely/manual.html
仿射变换:http://toblerity.org/shapely/manual.html#affine-transformations
坐标转换:http://toblerity.org/shapely/manual.html#other-transformations示例代码:
您也可以使用ogr库。
(from(http://pcjericks.github.io/py-gdalogr-cookbook/projection.html)