Community Wishlist Survey 2021/Miscellaneous/Support more OSM relation types in Extension:Kartographer

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
Random proposal◄ Miscellaneous  The survey has concluded. Here are the results!

Support more OSM relation types in Extension:Kartographer

  • Problem: The Kartographer extension can only display OSM relations of type multipolygon, route, and boundary on maps. Other relations like waterway, superroute, network etc. can not be displayed.
  • Who would benefit: Readers and editors of wiki pages which can be improved with interactive maps displaying OSM relations which are now unsupported.
  • Proposed solution: Add support for more or ideally all OSM relation types in Kartographer. Especially waterway relations (typically rivers) and superroute relations (typically international routes) would be nice to display.
  • More comments: OpenStreetMap (OSM) have free geodata for most geographic features in many parts of the world. It can be a big help for many Wikipedia articles and Wikivoyage to have access to these data to generate interactive maps showing their topics.
  • Phabricator tickets: T156433
  • Proposer: Dipsacus fullonum (talk) 01:28, 21 November 2020 (UTC)Reply[reply]


  • Could that be added to the river-template? Automatically generated river maps, that's what I've been looking for for so long. I would vote for that. --Smarties (talk) 20:59, 22 November 2020 (UTC)Reply[reply]
    Yes. Maps from OSM are used in many infoboxes on English Wikipedia. An example is wikipedia:Bundesautobahn 1. The infobox gets the map data for Bundesautobahn 1 from OpenStreetMap relation 9716761 which have type=route. If type=waterway was supported you could do the same for almost any river. --Dipsacus fullonum (talk) 22:16, 22 November 2020 (UTC)Reply[reply]
  • "Add support for more or ideally all OSM relation types" -- note that there isn't an exhaustive list of relation types due to osmwiki:any tags you like but using the most common ones will cover almost all of the relations in the database. Arlo Barnes (talk) 20:20, 9 December 2020 (UTC)Reply[reply]