File talk:BlankMap-World6.svg/Documentation

From Wikimedia Commons, the free media repository

Jump to: navigation, search

Contents

[edit] Countries included

American Samoa, Anguilla, Antarctica, Aruba, Bermuda, Cayman Is., Cook Is., Faeroe Is., Falkland Is., French Polynesia, Gibraltar, Greenland, Guam, Guernsey, Jersey, Isle of Man, Mayotte, Monserrat, Netherlands Antilles, New Caledonia, Niue, N. Mariana Is., Palestinian territories, Pitcairn Is., Puerto Rico, St. Barthélemy, St. Helena, St. Martin (France), Norfolk Island, St. Pierre & Miquelon, Taiwan, Tokelau, Turks & Caicos Is., Vatican City, Virgin Is. (UK), Virgin Is. (US), Walis & Futuna, Western Sahara.

Abkhazia ("abkhazia"), Kosovo ("kosovo"), and South Ossetia ("south_ossetia") 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 Serbia will also colour Kosovo.

[edit] Subnational areas

  • France (id "fr") includes the overseas departments of Reunion ("re"), Guadeloupe ("gp"), Martinique ("mq"), and French Guiana ("gf") as they are integral parts of France. However, any of these can be selected individually by using their own ISO code (see below). Also Metropolitan France (that is, France in Europe) can be selected by using the code "frx".
  • China (id "cn") includes the SARs of Hong Kong ("hk") and Macao ("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".
  • The United States ("us") has a setting which may allow you to view the two states of Alaska ("ak") and Hawaii ("hi") separate from the mainland ("usx").

[edit] Small countries

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 state of Swaziland has not been given a circle due to the state being already shaped like a circle.

There is also a space left in the Caribbean for a separate circle for Sint Maarten, when it is scheduled to become a separate territory administered by the Netherlands upon the dissolution of the Netherlands Antilles at an undefined future date.

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.

[edit] Selecting and colouring countries

Please have a look at Commons talk:Project Mapmaking Wiki Standards before creating a new map.

[edit] 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 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:

  • Kosovo: tag is "kosovo"
  • Abkhazia: tag is "abkhazia"
  • South Ossetia: tag is "south_ossetia"
  • Lakes: tag is "lakes"
  • Oceans: tag is "ocean".

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.

[edit] 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.

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:

  • Kosovo: tag is "kosovo"
  • Abkhazia: tag is "abkhazia"
  • South Ossetia: tag is "south_ossetia"
  • Lakes: tag is "lake"
  • Oceans: tag is "ocean".

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 Kosovo and Serbia in differently the style of the .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.

[edit] Utilities

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;
  • 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).
Gunnmap (gradiant mapmaker application, by Arthur)
Map made using http://gunn.co.nz/map/ (code by: arthur [atrobase] gunn.co.nz )

Gunnmap is a little free application allowing to produce nice colored 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.

Recommendations to make maps

Wikigraphists plan to set up common recommendation for all wikipedias. This is not yet done. More information at : Commons_talk:Project_Mapmaking_Wiki_Standards.

Translate SVG script (by Nikola Smolenski [[User talk
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 ba 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.

[edit] Conclusion

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, remember.  ;) )