作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有兴趣参加 these census cartographic files并将它们转换成 SVG 文件。到目前为止,我已经找到了这个 shptosvg Perl script ,但我真的更喜欢用 Python 进行任何编码或数据整理。
另外,我知道shpUtils.py可用于在 Python 中解析 .shp 文件,但我不知道如何获取该输出并创建 SVG 路径。
无论如何,我肯定会对你们的任何建议或你们知道的模块感兴趣。
最佳答案
迟到的响应,但这正是您想要的,在 Python 中具有出色的 API:
https://github.com/kartograph/kartograph.py
正如评论所指出的那样,它以前可以在 https://github.com/svgmap/svgmap.py 上找到。
关于python - Shapefile/ArcInfo 到 SVG?最好用Python,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4222610/
我有兴趣参加 these census cartographic files并将它们转换成 SVG 文件。到目前为止,我已经找到了这个 shptosvg Perl script ,但我真的更喜欢用 P
我是一名优秀的程序员,十分优秀!