Community Wishlist Survey 2019/Maps/Show nearby or related articles in maps

Show nearby or related articles in maps

  • Problem: Mapframe is now used in over 800,000 categories on Commons to display the area that the category covers through the coordinate on Wikidata and the layout of the corresponding item on OpenStreetMap (via commons:Template:Wikidata Infobox) - as well as being used on many other Wikimedia projects. However, it is not currently possible to automatically display related items in the map. Ideally, it should be possible to show items linked to through has part/P527 in the map - or, if there aren't any such values, then the nearby items (using the example of commons:Category:Teide Observatory)
  • Who would benefit: Readers and editors that see a map on Commons and other wikis who then want to explore nearby items.
  • Proposed solution: Have an option that shows the nearby/"part of" items in the maps.
  • More comments: Ideally this functionality could also be used in w:Special:Nearby to show a map of nearby objects rather than a list (As community-requested in 2017. Wikishootme is a current example where nearby Wikipedia articles and Wikidata items are shown on a map (along with Commons photos), but that is on the toolserver rather than built in to Mediawiki.
  • Phabricator tickets:
  • Proposer: Mike Peel (talk) 23:31, 2 November 2018 (UTC)[reply]

Discussion

mw:Beta Features/Nearby Pages sounds related (and talks about maps in some far away future). --AKlapper (WMF) (talk) 00:33, 5 November 2018 (UTC)[reply]

What you want here are KML and/or GeoJSON layers of Special:Nearby basically. Special:Nearby is powered by Geosearch api in turn part of mw:Extension:GeoData. So fixing that extensions to provide standard GeoJSON and KML layers, as well as updating GeoData to improve some of that information with wikidata richness sounds like a plan. Related are: phab:T180909, phab:T35704, phab: T142431, phab:T149280, phab: T158922 and wikivoyages' ext.kartographer.wv module. I think this would actually be a very much more suitable item than Community_Wishlist_Survey_2019/Miscellaneous#Wikimedia_Maps_Improvements and worth pursuing. —TheDJ (talkcontribs) 10:25, 5 November 2018 (UTC)[reply]

Voting