开发者

where can I find SVG or GeoJSON of countries that uses a 2 or 3 digit country code?

开发者 https://www.devze.com 2023-01-25 08:04 出处:网络
I was going to use the Polymaps.org library (combined with Protovis) to create a nic开发者_运维知识库e vector based world map.However, there example (http://polymaps.org/ex/world.html) uses a GeoJSON

I was going to use the Polymaps.org library (combined with Protovis) to create a nic开发者_运维知识库e vector based world map. However, there example (http://polymaps.org/ex/world.html) uses a GeoJSON from Thematic Mapping, but the countries are coded by name instead of by their 2 digit country codes.

When I pair up my data, I have problems with things like "Russia" vs "Republic of Russia". Anybody know of a GeoJSON file for countries that uses the ISO 2 or 3 digit codes? It seems crazy to use the names.

Any other SVG type file would be useful too. I could create one, but I feel like it must exist out there and I just don't know how to find it.


Its not exactly what you want since its not in geoJSON format:

http://vis.stanford.edu/protovis/ex/countries.js


May be this is what you want ? World Countries Information and ip geocoding RESTful Web services API

Happy coding:-)

0

精彩评论

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