File talk:BlankMap-World6.svg/Documentation

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Other languages: Russian

Countries included[edit]

American Samoa, Anguilla, Antarctica, Aruba, Bermuda, Cayman Is., Cook Is., Curaçao, Faroe Is., Falkland Is., French Southern and Antarctic Lands (excluding Adélie Land), French Polynesia, Gibraltar, Greenland, Guam, Guernsey, Jersey, Isle of Man, Monserrat, New Caledonia, Niue, Norfolk Island, N. Mariana Is., Palestinian territories, Pitcairn Is., Puerto Rico, St. Barthélemy, St. Helena, St. Martin (France), Saint-Pierre and Miquelon, Sint Maarten (Neth.), S. Georgia & S. Sandwich Islands, Taiwan, Tokelau, Turks & Caicos Is., Vatican City, Virgin Is. (UK), Virgin Is. (US), Wallis & Futuna, and Western Sahara.

The largely unrecognized countries of Abkhazia, Kosovo, Northern Cyprus, South Ossetia, Nagorno-Karabakh, Somaliland, and Transnistria are also represented on the map, but without a border. If desired to be used, will have to be selected by searching for its id tag. Unless otherwise specified colouring the country the above are recognized as part of will also colour the unrecognized country.

Subnational areas[edit]

  • China (cn) includes the SARs of Hong Kong (hk) and Macau (mo). However, any of these can be selected individually by using their own ISO code (see below). Also the rest of the People's Republic of China without the SARs can be selected by using the code cnx.
  • Netherlands (nl) includes the BES islands (bq). However, any of these can be selected individually by using their own ISO code (see below). Also the rest of the Netherlands without the BES islands can be selected by using the code nlx.

Supranational areas[edit]

  • European Union (eu) includes all member states of the European Union. Using eu will color all 28 member (and territories) states simultaneously. Coloring individual states will not have any affect on the other member states. This does not include the newly formed BES islands (which is not part of the EU at the present).

Unpopulated areas[edit]

Because Antarctica (aq), the South Georgia and the South Sandwich Islands (gs), Heard Island and McDonald Islands (hm), Macquarie Island (xm) 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).

Small countries[edit]

A map showing all the small nation 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%.

The French DOMs and the Chinese SARs listed above can also be selected separately from, or together with, the small countries circles (see below), the circles for these regions is smaller in size.

The unrecognized nations included in this map (see below) also have circles.

Selecting and colouring countries[edit]

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

In a text editor[edit]

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.

Also, all countries have a "class" attached to them. The class for each country is the country's ISO 3166-1 alpha-2 code in lower case. There are other areas to colour as well that don't have a code, listed below:

To colour a country just set the "fill" of it's class to the desired colour. e.g. to colour Afghanistan and Bahamas just enter the code below within the css block:

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

to colour the circle of a country (if it has one) as well as the country write:

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

If you wish to colour the unrecognized countries (without an ISO code) and the nation they are internationally recognized as part of (for example, Kosovo and Serbia) in differently the style of the .xk (for Kosovo) class needs to be specified after that of the Serbia (.rs) class.

Remember that how the image looks in Inkscape, Firefox and Mediawiki may differ greatly.

In Inkscape or similar[edit]

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 a "id" attached to them, making them easy to find (comes in handy for the small countries). Select "find" and then enter in the country's ISO 3166-1 alpha-2 code in lower case in the "id" field to find the country (don't ask me why I did it that way, I'm a bit of a geek to classify countries by their ISO-3166 code). There are other areas to colour as well that don't have a code, listed below:

For small countries, you can find and select their "circle" by typing the country's ISO 3166-1 alpha-2 code in lower case followed by a period. 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 a single period in the ID field of the Find 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). The Chinese SARs and French DOMs (except French Guiana, which is too large for a circle) will not be selected or displayed in this manner. However, if desired, you can search in a similar manner for all IDs containing a "_" in the tag, which will select the smaller circles for these regions, and can be handled in the same manner.

Utilities[edit]

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

A utility script written in Python is now 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 (long and lat);
  • 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 postprocessing).
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

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

4. Translate SVG script (by Nikola Smolenski talk)

See http://tools.wikimedia.de/~nikola/svgtranslate.php , which allow to translate all text appearing in a commons' SVG. It may be need to extend to be able to change "xxxxx" by "yyyyyy" what ever it is.

Comments

It may be need to set a team to merge all these SVG tools and expand them according to the needs. The Graphic Labs and wikigraphists (like me) already stated that such project (and a team of SVG programmers/think tank) may be really helpful to ease illustration, spread harmonized maps, and set up integrated SVG tools as the needs appears.

Conclusion[edit]

I hope that this map can be used on Wikipedia for illustration purposes, and I gladly give permission for this or any other use (hence the tag). 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.

Again, my sincere thanks to en:User:Brianski who as far as I know created the original map this is based on, and to the many others who have made beneficial improvements to the file.

This is my first attempt at any kind of SVG work, and I would appreciate comments, feedback, or improvements on this map (this is a wiki which anyone can edit).