开发者

Shapefile/ArcInfo to SVG? Preferably in Python

I'm interested in taking these census cartographic files and converting them into SVG files. So far I've f开发者_如何转开发ound this shptosvg Perl script, but I'd really prefer to do any coding or data wrangling in Python.

Also, I know shpUtils.py can be used for parsing .shp files in Python, but I'm unaware how to take that output and create SVG paths.

Anyways, I'd definitely be interested in any advice you guys have or modules you know of.


Late response, but here is exactly what you want, in Python with a wonderful API:

https://github.com/kartograph/kartograph.py

As comments have noted it was previously available at https://github.com/svgmap/svgmap.py


The svgmap link was broken for me on github, but kartograph.py works for ESRI shp. files


Not python, but you may be interested in these links:

http://egb13.net/2009/07/shapefile-to-svg-translator-project/

http://www.carto.net/svg/utils/shp2svg/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜