File talk:BlankMap-World.svg

Documentation
Other languages: Russian / русский
File:BlankMap-World.svg

This is a blank map of the world with political borders with Robinson projection.

Territories included

The map contains the territories included in ISO 3166, with a few modifications. Specifically, the following territories are included:

Subnational areas

  • China (cn) includes the SARs of Hong Kong (hk) and Macau (mo).
    • Every SAR as well as Mainland China (cnx) can also be selected separately.
    • The circles around the SARs can also be selected with cnxx.
  • Netherlands (nl) includes the Caribbean BES islands (bq).
    • The BES islands (bq) and the European Netherlands (nlx) can also be selected separately.
    • The circle around the BES islands can also be selected with nlxx.

Supranational areas

Unpopulated areas

Because Antarctica (aq), the South Georgia and the South Sandwich Islands (gs), British Indian Ocean Territory, and French Southern and Antarctic Lands (tf) are areas with no permanent population, they have been given their own class (antxx). The smaller of the three have also been given their own class of locator circles (noxx).

Disputed sovereignty

Several largely unrecognized countries are included in this map (as an overlay over their "host" countries) but they remain invisible by default. It's important to note that these are countries, not just geographic territories: the distinguishing feature of all these territories is their de facto autonomy and existence of a local government that maintains administrative control over their claimed territory. If they don't have an ISO 3166 code, then they are assigned a code outside the ISO 3166-1 standard (prefixed by letter "x"). It is left to the user to decide whether to display them and how to color them:

Territorial disputes

Some territories are disputed between two or more countries. It's important to note that these are geographic territories, not countries: the distinguishing feature of all these territories is an absence of their claim for independence. It is left to the user to decide how to color them, although each by default is shown belonging to the country that maintains actual (de facto) administrative control over the territory:

Claims for independence/sovereignty

The territories for which there exist current claims for independence, but for which the claimants maintain no de facto control over the claimed territory, are not specifically shown on the map. Some examples are (this is not an exhaustive list):

Small countries

A map showing all the small-nation & small-territory markers unhidden.

All countries under 20,000 km2 have a rather large circle (roughly the equivalent of 20,000 km2 in size) to show their position. The opacity of the circles is currently set to 0%.

Some subnational territories (French DOMs, the Chinese SARs, as well as Dutch and Australian territories) listed above can also be selected separately from, or together with, the small countries circles (see below), the circles for these regions are smaller in size (roughly the equivalent of 10,000 km2).

The smaller-size unrecognized nations included in this map (see below) also have circles of the smaller size similar to the subnational territories.

Selecting and colouring countries

Please have a look at the English Wikipedia map conventions before creating a new map.

In a text editor

Non-contiguous parts of a country's territory are grouped together with the main area of the country, so any country can be coloured in by setting the style for the class of that country.

All included territories have a CSS class attached to them. The class for each territory is its ISO 3166-1 alpha-2 code in lower case. See here for territories without an ISO 3166-1 code. The oceans and Antarctica each have their own class: oceanxx and antxx

To colour a country, set the fill of its class to the desired colour. For example, to colour Afghanistan and Bahamas, enter the code below within the css block:

.af, .bs
{
   fill:#2b3bb6;
}

to show the circle for a small country, as well as the country itself, write:

.af, .bs
{
   opacity:1;
   fill:#2b3bb6;
}

Remember that the image may look very different in Inkscape, Firefox and Mediawiki.

In Inkscape or similar

Non-contiguous parts of a country's territory are "grouped" together with the main area of the country, so any country can be coloured in completion with one click anywhere on the country's territory.

Also, all countries have an "id" attached to them, making them easy to find (comes in handy for the small countries). Select "find" in the Objects side panel and then enter in the country's ISO 3166-1 alpha-2 code in lower case in the "id" field to find the country. There are other areas to colour as well that don't have a code, listed below (the codes are not canonical and had been assigned to them only for the purposes of this map):

For small countries as well as for subnational territories (Australian, Chinese, French and Dutch), you can find and select their "circle" by typing the country's ISO 3166-1 alpha-2 code in lower case followed by an underscore ("_"). However, just searching for the country, and selecting and colouring it, will also colour the circle as well, increasing the transparency of the circles will reveal them. Searching for all IDs that contain a "_" in the tag (in Inkscape this is achieved by just entering an underscore in the ID field of the Find/Replace box) will select all the circles, the transparency can then be increased to 100%, and the colour of the circles will be same as that of the territory it represents (if it has already been coloured).

Utilities

1. SVG script (by Biercenator talk)
Map made using Biercenator's script centered at 162E and flattened

A utility script written in Python is available, that can perform a number of weird and wonderful operations on this map. These include (in least-to-most-entertaining order):

  • output of the original file, with all SVG transforms applied
  • output as a flattened image with parallel lines of longitude (see theoretical notice)
  • output as a rotated Robinson projection, with an arbitrary line of longitude at the center of the image
  • output of an individual country
  • addition of pinpoint marks of arbitrary size, at positions set by geographic coordinates (longitude and latitude)
  • production of rendered images in PNG or JPG format
  • generation of pages with clickable countries and/or clickable pinpoint marks
  • replacement of the style section of the file with arbitrary CSS code, before rendering
  • production of separate rendered image "layers", each containing a portion of a single map instance (useful when a bitmap editor is to be used for post-processing)
2. Gunnmap (gradiant mapmaker application, by Arthur)
Map made using http://gunn.co.nz/map/ or http://gunnmap.herokuapp.com/ (code by: arthur [atrobase] gunn.co.nz )

Gunnmap is a little free application allowing to produce nice coloured wiki world maps according to provided data. The author, Arthur, only made some edits on wikipedia.org to announce his application, and hasn't made further edits since summer 2007. It may be need to contact him, ask him information about the status of his application, and if possible collaborate to expand it, or edit it to be more adapted to wiki-mapmakers needs. (See also theoretical notice.)

3. Recommendations to make maps

Wiki-graphists plan to set up common recommendation for all wikipedias. This is not yet done. More information at : en:Wikipedia:WikiProject Maps/Conventions‎.

4. SVG Translate script

See https://tools.wmflabs.org/svgtranslate/ – this script helps translate all text appearing in an SVG.

Comments
  • There may be other useful tools available – feel free to add them here.
  • There was also an effort underway to organize a team to merge all these and similar SVG tools and expand them according to the needs. The Graphic Labs and wiki-graphists already started such project (and a team of SVG programmers/think tank). This may help with easing the process of creating illustrations, spreading harmonized maps, and setting up integrated SVG tools as the needs appear.

Notice

The following notice refers to images as they existed on 18 February 2019. They may have since been changed.

In practice, a professional recommendation is not to re-use or produce:

The reason is, such derivative works are still Robinson projection maps, but since they lose their outline it becomes hard for readers to recognize the actual projection used. Without the outline as a reference, a reader would likely consider them as cylindrical projections instead – but the shapes of the continents will be wrong (i.e. they will not match the shapes that correspond to cylindrical projections). Because of that, any derivative work (especially the cut-off work) that uses these maps without correctly flattening/stretching them first, would also be wrong – and additionally, such derivative works may end up using very weird projections, which would not correspond to any of the standard or well-known map projections.

Another factor to consider is that, since most of these blank maps will likely be released into the public domain and the attribution not made obligatory, their derivative works could easily lose any and all information about their origins, and hence it may become impossible to track the specific projections and projection types those images will end up using.

The following are also specifically not recommended:

Since they are only flattened horizontally from File:BlankMap-World.svg with no vertical flattening/stretching applied, they would not be of a standard or known map projection. Be aware that they are not of an equirectangular projection either, since Robinson projection compacts the distances between the parallels (i.e. lines of equal latitude) beyond 38°N/S, and also in addition it uses interpolation to calculate exact coordinates based on the coarse grid with 5-degree spacing, see: Robinson projection#Specification. However, such flattened maps may still be "better" than either File:BlankMap-World, compact.svg or the maps that Gunnmap produces.

Finally, for any statistical world map, it's desirable to use cylindrical projections, especially either equirectangular projection or Miller cylindrical projection. If the Robinson projection is used nevertheless, the map must retain the Earth's elliptical outline to make it clear that it's Robinson and not one of the cylindrical projections.

File origins/sources

Although the origins of this file had been mis-attributed for years (from this documentation's initial creation in 2007 till early 2019), this SVG vector map seems to have been originally derived from the following file: File:"Political World" CIA World Factbook map 2005.svg. It is unclear how exactly it had been derived – converted, retraced, etc. – but it bears much closer resemblance in minute details to that SVG file than to its ultimate origin – the CIA-published vector-based PDF file (which can now be found in Perry–Castañeda Library Map Collection). Since the outlines of the countries, coastlines, etc. closely match that 2005 vector map, including some of the obvious errors – e.g. the Netherlands seemingly having an inland lake – the source now seems to have been established beyond any doubt.

Conclusion

Over the intervening years since its original creation, this blank map has been found very useful to serve as a base for multiple derivative works. It is highly recommended that any derivative maps created from this file, as well as any new updates to this file, be created using a text editor to reduce file size and to keep file structure human-editable by hand.


Karabach, DPR, LPR

I would like to see those former autonomous territories removed. Many visa maps use BlankMap-World.svg. Karabakh, DPR and LPR no longer exit. Ssdd.11 (talk) 14:41, 2 May 2026 (UTC)

Split United Kingdom map into England, Scotland, Wales and Northern Ireland

Better to shade only England instead of the whole UK

I understand that the map is not intended to show internal borders, but can an exception be made for the United Kingdom?

Several sports have these countries contesting separately, and there is currently no blank SVG world map that can show that. An example use-case is the FIFA world cup.

Thanks in advance,
cmɢʟee ⋅τaʟκ 09:54, 26 May 2026 (UTC)

@Cmglee: There IS a blank SVG world map that can show that: File:World map configurable.svg Brainiac242 (talk) 22:36, 26 May 2026 (UTC)
Thank you very much, @Brainiac242: it works well! Is there any reason to use File:BlankMap-World.svg instead of File:World_map_configurable.svg then? Thanks, cmɢʟee ⋅τaʟκ 22:54, 28 May 2026 (UTC)
Not really, no. Brainiac242 (talk) 02:23, 29 May 2026 (UTC)

Derivative map tool

Hi all. I made a tool to make it easier to make derivative maps of this and File:BlankMap-World-Compact.svg. Since they resulting maps only get some added CSS they should also be fairly easy to update if either the base map (or the map data) changes. If you are someone who does maps based of this one then give it a spin, any feedback is welcome.

The tool is at toolforge:mapcolouriser. / Lokal_Profil 18:42, 8 July 2026 (UTC)

@Lokal Profil: that's wonderful, thank you very much. Might it be possible to load an SVG file generated by the tool to continue editing it, so that someone can update a map when its data is supposed to change? Otherwise, one will need to check all the checkboxes again. Thanks, cmɢʟee ⋅τaʟκ 20:49, 8 July 2026 (UTC)
Ooooh :)
Thats not a bad idea. It will require some new mechanics to detect pre-existing css and convert that back into preloaded settings. But it should be possible. Main problem will be to guard against people passing in incorrect things (from just the right file with wrong css to actively malicious files). One nice side feature of this would be that it should become easier to switch base map.
What likely won't work is loading a map which has been edited in some other way and expect the CSS to be properly detected. / Lokal_Profil 08:50, 9 July 2026 (UTC)
@Lokal Profil: Thanks. Good point that that allows one to switch base maps. It's completely fair that it can load only files it has generated itself.
If that's difficult, how about showing a configuration string (could be the CSS itself) which an editor can paste in a file's description page, and provide an "advanced" text field to paste such a string to be parsed? cmɢʟee ⋅τaʟκ 18:04, 9 July 2026 (UTC)
@Cmglee I now added a (re)import feature =) Note that it only preserves the CSS, changes to the actual map are discarded (for now). It should be fairly forgiving about hand edits to the CSS though and let you know before it discards anything it cannot handle (from those hand edits). / Lokal_Profil 22:15, 10 July 2026 (UTC)
@Lokal Profil: that's fantastic! Thanks very much for your efforts. cmɢʟee ⋅τaʟκ 22:50, 10 July 2026 (UTC)
@Cmglee (and @Kurcke). Changed the frontend somewhat as well. The new one is temporarily at toolforge:lp-test. I think it should work better and be more familiar to Wikimedia users but would love some more opinions before switching. / Lokal_Profil 10:09, 11 July 2026 (UTC)
@Lokal Profil: Great tool – I've used it for the first time in anger to remake File:Countries_where_ChatGPT_is_available.svg.
As there were many countries and territories, I first selected a random country, downloaded the SVG, edited it, and imported it. There were some unknown ccTLD like .uk and .tp so I had to manually correct them.
A minor feedback is that .fr appearing several time in the list caused an error that there were repeat values, but it didn't state what those values were, so I had to manually hunt them down. cmɢʟee ⋅τaʟκ 20:45, 28 July 2026 (UTC)
Thanks for testing and thanks for the feedback! Which version of the tool did you use? The one currently on toolforge:mapcolouriser should be more appropriate forselecting very many countries whereas the on at toolforge:lp-test probably works best in all other cases. (Running the second one with javascript disabled should still give you the selection mechanism of the first one).
Not sure I follow what the issue was with the codes. The map doesn’t use ccTLDs but ISO 3166-1 codes. So East-Timor would be .tl, not .tp and UK is .gb.
For the repeated codes case. The import tool should support the same code showing up in different groups. Was your case one where .fr showed up twice in the same (manually created) list? If so I'll take a look at if I can improve the error message (or maybe just allow+warn in the case of repeats). / Lokal_Profil 07:20, 29 July 2026 (UTC)
My pleasure. I used lp-test. The code issue arose because I edited the file manually before importing. The list I used had codes .uk and .tp . The way your tool works i.e. reporting that these codes were invalid is the best way to handle it, in my opinion. It would be great if it could also state which codes are repeated, and not just the fact that there are repeated codes. Thanks, cmɢʟee ⋅τaʟκ 08:15, 29 July 2026 (UTC)
P.S. One could even just accept repeated codes and output only one instance in the SVG, but give a warning in case the user made a typo. cmɢʟee ⋅τaʟκ 08:19, 29 July 2026 (UTC)
I added the warn but allow solution now. So in your case you should now get a warning "Group 'Countries where ChatGPT is available': ignored repeated country code(s): fr.".
I've also now merged the changes into the main tool so lp-test is turned back off. / Lokal_Profil 22:07, 31 July 2026 (UTC)

PNG map

The PNG map currently links the page itself. Tomas Guus (talk) 22:06, 24 July 2026 (UTC)

Removed, that png was redirected here as a duplicate file. CMD (talk) 03:36, 25 July 2026 (UTC)

Winkel tripel projection

Do we have an equivalent using the en:Winkel tripel projection? If so, please be specific.   — 🇺🇦Jeff G. ツ please ping or talk to me🇺🇦 04:06, 1 August 2026 (UTC)

Do you just mean a map with that projection and similar colours or do you mean one with the same "intelligence" (i.e. can be coloured only using a CSS appendix with country codes)? / Lokal_Profil 07:16, 1 August 2026 (UTC)
@Lokal Profil: I would appreciate answers to both.   — 🇺🇦Jeff G. ツ please ping or talk to me🇺🇦 13:29, 1 August 2026 (UTC)
I don't know of any inteligent ones but plain ones there are plenty in Category:Maps with Winkel tripel projection. With File:World location map (W3).svg being a fairly clean example. / Lokal_Profil 13:51, 1 August 2026 (UTC)
@Lokal Profil: Thanks! So what would you think if someone were to develop an intelligent one that could take the place of this one in some cases, stemming from NGS's adoption of it in 1998?   — 🇺🇦Jeff G. ツ please ping or talk to me🇺🇦 19:38, 1 August 2026 (UTC)
In general I think its great to have more "intelligent" maps of different projections. That way an editor/mapmaker can pick the most appropriate projection for their purpose, rather than be artificially restricted by available base maps. / Lokal_Profil 08:06, 2 August 2026 (UTC)

Inaccurate map of Spain

The map seems to be missing the Spanish-Moroccan border, and when you hover over Spain (Melilla, for example) it says Morocco instead of Spain. In the case of Ceuta, for example, it sometimes even says that it is Gibraltar. ~2026-48581-09 (talk) 13:51, 7 September 2026 (UTC)

The map is missing a lot of very small exclaves and similar, as a natural function of its scale. The hover over likely says Gibraltar as all the small territories have a much larger circle around them so they can be made highly visible if needed. CMD (talk) 00:16, 8 September 2026 (UTC)