Open nemobis opened 10 years ago
As Semantic MediaWiki properties you mean feature like aggregating places on maps on WikiVoyage?
http://en.wikivoyage.org/wiki/Zurich
@nikerabbit @nemobis
I suppose you mean https://en.wikivoyage.org/wiki/Zurich#Get_around ; I admit my ignorance on how Wikivoyage does that but yes, something similar. In our case data for https://translatewiki.net/wiki/Map_of_translators comes from a {{location}} template users can place on their user pages, e.g. https://translatewiki.net/wiki/User:Nike (https://translatewiki.net/w/i.php?title=User:Nike&action=formedit )
Hey @nemobis yep this should totally be possible. We could even do some cool things including use marker clusters - https://github.com/Leaflet/Leaflet.markercluster
Essentially how this would work in this extension is one of two ways: 1) Manually create a GeoJSON representing that data set 2) Have some script generate a GeoJSON and post it to a wiki page in the Map: namespace 3) Make /api.php able to generate a response which has that data in it (Any API result which contains latitude and longitude in the response can be used to create a graph) - see http://dj.wmflabs.org/wiki/Making_maps_via_the_API
Note you can also play with this instance courtesy of @hartman :)
I'm interesting in an answer to this question by @nikerabbit, didn't see any:
2) One of my use cases is creating maps of translators [1]. Will it be able to display OSM maps based on Semantic MediaWiki properties?
[1] https://translatewiki.net/wiki/Map_of_translators
http://lists.wikimedia.org/pipermail/wikitech-l/2014-May/076436.html