3

For a little hobby project am looking for a collection of svg files of maps of all countries in the world separately with the country codes included in the svg or filename. It would have a structure like this:

  • AFG.svg
  • ALB.svg
  • ...
  • ZMB.svg
  • ZWE.svg

It would also be nice to have to have a projection that keeps the size of the countries realistically since i will use them to compare pairs of countries.

I have looked on the following places:

I also found a couple more resources which contain the whole world as one svg or seperate countries but no collection with all of them with country codes included.

Is there a resource which offers use for non-commercial purposes svg of countries with a way to identify them by country code?

  • offhand, i bet wikimedia, openstreetmaps, and the noun project also have versions of this as well. – albert Dec 15 '18 at 2:56
7

mapsicon

mapsicon is a free collection of maps for every country in the world, available in 11 sizes or in SVG.
The maps are named after the official two-letter country codes defined in ISO 3166-1. Basically, that means the United States are named US, Canada is named CA, etc.
If you need to access all those countries programmatically, here is a gist containing all the countries as well as their ISO code: https://gist.github.com/djaiss/2938259"

There's also:
Simple World Map: a simple and lightweight SVG world map, annotated with two-letter country code standard ISO 3166-1 alpha 2. This map is one SVG, not individual SVGs.
and
Marked-Up SVG World Map: an SVG world map marked-up with ISO 3166 country codes. Path (path) and group (g) elements are annotated with cc attributes containing their country codes.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.