gpt4 book ai didi

python - Shapefile/ArcInfo 到 SVG?最好用Python

转载 作者:行者123 更新时间:2023-11-28 20:53:32 24 4
gpt4 key购买 nike

我有兴趣参加 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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com