File talk:BlankMap-World6.svg

From Wikimedia Commons, the free media repository

Jump to: navigation, search
Archives
2006-2008

Contents

Documentation

[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), St. Pierre & Miquelon, Taiwan, Turks & Caicos Is., Vatican City, Virgin Is. (UK), Virgin Is. (US), Walis & Futuna, Western Sahara.

  • Kosovo is 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 ("kosovo"). Unless otherwise specified colouring Serbia will also colour Kosovo.

[edit] Subnational areas

France (id "fr") includes the overseas departments of Reunion, Guadeloupe, Martinique, and French Guiana 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 "fx".

China (id "cn") includes the SARs of Hong Kong and Macao. 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".

[edit] Small countries

A map showing all the small nation markers unhidden.

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

(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 datas. 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.  ;) )



[edit] Update required!

The most important. The colors have to be set to the standard convention of en:WP:WPMAP as follows:

Color Hex RGB Sample Used for
Black #000000 0, 0, 0   Primary label color
Brown #A08070 160, 128, 112   Political borders. Country, state, and province borders should be brown.
Light brown #D0C0A0 208, 192, 160   Secondary political borders.
Light yellow #FFFFD0 255, 255, 208   Primary territory of interest, or one of four choices for four-color maps.
Pink #FFD0D0 255, 208, 208   Another color to be used for four-color maps.
Orange #F8A20C 248, 162, 12   A third color to be used for four-color maps.
Green #3CE67B 60, 230, 123   A fourth color to be used for four-color maps.
Light blue #CEFEF2 206, 254, 242   An alternate color to be used for four-color maps.
Orange #F7D3AA 247, 211, 170   Alternative color for the above Tan (surrounding territories).
Medium blue #9EC7F3 158, 199, 243   Bodies of water. Oceans or lakes.
Blue #1821DE 24, 33, 222   Water borders, if necessary. For lake or ocean borders that need a color contrasting with surrounding land, or for rivers.
Red #B00000 176, 0, 0   Points of interest. Cities, especially.
Red-orange #F07568 240, 117, 104   Alternative color for the above Red (points of interest).
Medium red #E0584E 224, 88, 78   Border color for areas highlighted in Red-orange
Green #A0F090 160, 240, 144   Parks or natural preservation areas
  1. The present blank map is based on the File:World map pol 2005 v02.svg. CIA doesn't appear to be hosting it any more. But all the original .pdf files are available in the Perry-Castañeda Library Map Collection. By the way, some user has converted the 2008 map: File:CIA WorldFactBook-Political world.svg, but I do not know, how good it is.
  2. At the moment there are no separate options for coloring inland and sea borders. So, if one makes the inland borders thicker to set value, it completely destroys the coastline of Norway or Greenland. So I propose, to make separate Ocean borders as here: File:Map of USA with state names.svg, or in the original CIA - The World Factbook - Political Map of the World.
  3. I know, I already ask too much, but another request :-) Please, make optional stripes as here: File:World map stripes for shading.PNG, because some complex maps, as this one: File:Free Trade Areas.PNG can not be converted to .svg otherwise. Thanks!
  4. It would as well be nice to have an option of showing the grid through CSS.
  5. Kosovo should be present (at least optionally), and the claimed territories, and the other unrecognized states, where possible. After all, most of the other maps should be derived from this one.
  6. Those, who are capable, please, update the map. But all this is a complex job, and could wait until the April, when they release the Political map for 2009. Sorry, for all this :-) Emilfaro (talk), 23:59, 19 January 2009 (UTC) - 03:42, 20 January 2009 (UTC)
Have you even read the description of this image? Kosovo is available. Has there been any significant changes in national borders since this map was last updated? If not then why the need for a syncing. Stripes can easily be added for derivative files. Since this image is vector based it doesn't make much sense to produce a map such as File:World map stripes for shading.PNG since that one exists due to the limitations of raster images. If one is still needed it can always be created as a separate file. As for the "standard" colours, why? This is a default map designed only for the purpose of making derivative maps, any colouring can be added to the derivative maps. This is quite apart from the fact that there is nothing "standard" about the colours except for them being the convention recently decided upon by a small set of people at en.wiki. /Lokal_Profil 15:03, 23 January 2009 (UTC)
As for the code being W3C invalid please read Template talk:ValidSVG about why this isn't necessarily so. /Lokal_Profil 15:07, 23 January 2009 (UTC)
That one has not really been my request. I have merely integrated it in from the previous versions of the page. Emilfaro (talk) 10:23, 24 January 2009 (UTC)

[edit] French color set

There is as well another set of colors: fr:Projet:Cartographie/Recommandation/Carte géographique, fr:Projet:Cartographie/Recommandation/Carte topographique. How can it be determined, which one should be used for the commons blank maps for the adoption of a common standard? Don't tell me it is kilometers vs. miles again :-) Maybe this could be voted on? Emilfaro (talk) 10:44, 24 January 2009 (UTC)

I personnaly will not encourage democratic vote in a such specific-technical issue. The best seems for me to still wait and see. Yug (talk) 07:33, 14 February 2009 (UTC)

[edit] Other partially recognized countries

If Kosovo is available then why not to code Abkahzia and South Ossetia support? SkyBonTalk\Contributions 15:32, 12 May 2009 (UTC)

Personal tools