开发者

Given list of countries draw map with those countries a different color

开发者 https://www.devze.com 2023-04-10 15:03 出处:网络
Looking to the开发者_运维问答 do what the title says - produce a world map image that colors particular countries.I\'m open to platform - Processing or Python/Basemap preferable.Web based service ok i

Looking to the开发者_运维问答 do what the title says - produce a world map image that colors particular countries. I'm open to platform - Processing or Python/Basemap preferable. Web based service ok if it has an API.

Anyone have direction on this?


have you looked at GIS? There are a number of open source and free clients that allow you to work with various maps (probably .dwg) with various corresponding data in xml format to produce geographical visualizations through queries and you can export a number of formats. I think this would give you either the visualization that you want or the data to plug into processing or whatever to create it.


Get the map data in shapefile format, look at python bindings to OGR and GDAL, or maybe try Fiona: http://sgillies.net/blog/1095/fiona/ or SciPy, or just download Qgis www.qgis.org and learn some GIS skills.

Country-level shapefiles for the world are fairly widely available www.gadm.org maybe.


Google Geomap did the trick here.

It's part of their chart visualizations tools. A javascript call that returns an SVG map colored according to data that you provide.

0

精彩评论

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

关注公众号