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

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]
  • I very much recognize this need, I've been trying to push for it inside WMF for a while. Two pieces of context might help. Graphoid was recently decomissioned and there's a stalled effort to bring it back online. This would allow us to render thumbnails to fix the problem @Leyo mentions above. On a parallel track, there's hope that the visualization components we built for Wikistats 2 will be upstreamed to Wikimedia Codex, the new standard design system that we'll use for UI going forward. I just hope we can connect one or both of those efforts to this very real need. Milimetric (WMF) (talk) 13:40, 3 February 2022 (UTC)[reply]
  • Would have supported if I had known voting ended at 18 UTC. ~~~~
    User:1234qwer1234qwer4 (talk)
    19:17, 11 February 2022 (UTC)[reply]

Voting