Jump to content

Community Wishlist Survey 2022/Multimedia and Commons/World map extension

From Meta, a Wikimedia project coordination wiki

World map extension

  • Problem: World maps are a useful means to provide a quick overview in many articles. However, a minority of users are skilled to create and update such maps.
    Example of a map that regularly needs to be updated (plastic bag laws)
  • Proposed solution: It would be handy to have an extension (similar to e.g. Graph or EasyTimeline) for world maps. It would need be possible to assign a color to each country (using codes such as USA or ITA).
  • Who would benefit: Users who don't have SVG editing skills; readers who are shown world maps (that would otherwise not exist).
  • More comments: It would make it easier and quicker to create and updated such maps compared to editing SVG files. Examples of the types of maps that could be created and updated using such an extension are found in e.g. Category:SVG political maps of the world.
  • Phabricator tickets:
  • Proposer: Leyo (talk) 01:16, 19 January 2022 (UTC)reply

Discussion

  1. allow upload of css files associated to svg maps. This may be not very convenient but is still easier to update a text file with a country ISO code. A graphical tool to change these codes may help. I proposed this solution previously with the aim to reduce the size of maps as the svg picture of the borders is the same for all maps and only colors change.
  2. create a graphical tool as proposed earlier by SWilson. I agree with Leyo that the SVG Map Maker tool is not the most convenient. I worked on a similar tool here. that allows to adapt any map from Commons and update it. I still work on it but I tried with few maps and it works quite fine. The only condition is to adapt slightly the svg maps by adding a specific class name to the elements representing shapes of countries to be colored.
I will be glad to help on this request. --Ikonact (talk) 20:37, 20 January 2022 (UTC)reply
By the way the tool I created can provide more than just coloring countries but also some basic pie charts, waffle charts or bubble charts. Otherwise this tool in Wikipedia may be used to color code countries on map. --Ikonact (talk) 21:07, 20 January 2022 (UTC)reply
Thank you. I wasn't aware of Template:Graph:Map. This is nearly what I was proposing. It has, however, one major drawback: As opposed to an image, there does not seem to be a possibility to add a thumb version of it to an article, whereas the full version is only shown when clicked on. --Leyo (talk) 22:59, 20 January 2022 (UTC)reply

Voting