Is there a way to get an extension to display the tile server on wikipedia? It would be useful to be able to display dynamic maps (with something like a GeoJson) instead of static SVGs. I know the roads project would find this extremely useful.
--Tom
You can already create any tool in wmf labs, and use it as an iframe into any wiki project. This is exactly what the existing tools https://www.mediawiki.org/wiki/Maps/Future_Plans#Existing_Tools do (at this point, most of them don't use the new maps service, but they hopefully will very soon). Once done, those tools can be used from wikipedia, as long as they are not used by default - in other words a user has to make an action before the map is loaded. An example would be the little drop down map that you see next to geo coordinates in some articles. Eventually, if community decides that our maps are good and needed, we will ramp up the number of servers to handle the full wikipedia load and build tools right into wikipedia to show maps in the articles by default.
Please document your use case here https://www.mediawiki.org/wiki/Maps/Future_Plans so that everyone could comment on it.
Also, tile server is already capable of producing GeoJSON for its tiles. For example, see https://maps.wikimedia.org/osm-intl/7/37/47.json?nogeo (which is the geojson behind this image https://maps.wikimedia.org/osm-intl/7/37/47@2x.png). The ?nogeo is a debug flag to view the json without all the geo data, thus making it much smaller.
We could also produce the needed geojson data directly from the database, for an area that is different than one tile. It would require some work though.
Thanks!
On Fri, Sep 18, 2015 at 4:16 AM, T Fish tfish@guerillero.net wrote:
Is there a way to get an extension to display the tile server on wikipedia? It would be useful to be able to display dynamic maps (with something like a GeoJson) instead of static SVGs. I know the roads project would find this extremely useful.
--Tom
Maps-l mailing list Maps-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/maps-l
Le 2015-09-18, Yuri Astrakhan a écrit :
Also, tile server is already capable of producing GeoJSON for its tiles. For example, see https://maps.wikimedia.org/osm-intl/7/37/47.json?nogeo (which is the geojson behind this image https://maps.wikimedia.org/osm-intl/7/37/47@2x.png). The ?nogeo is a debug flag to view the json without all the geo data, thus making it much smaller.
I'm a bit confused here. Are you sure it's Geojson ? For me, it is a custom low-level json format produced by mapbox tool, as "documented" here : https://github.com/mapbox/vector-tile-spec/tree/master/1.0.1 but it's not Geojson.
For the moment, I don't see how to use this information to produce additional service. Would you know an example of this kind, please ?
(for example, that would be great to click on a node on the tile, with a "sticky road" feature ; only an example).
Nevertheless, you did a great job working on this new map stack. Many thanks and applauses !
Also from my side, thanks to open the door to vector tiles for us. Vector tiles can be useful if they contains additional informations.
I think there two practical use-cases, that I hope we can see soon: *If we have all language tags inside we can create multilingual maps. *If we would have a start- and an end-date for each object we could generate maps for OpenHistoricalMap.
The generation of these maps can happen on server-side or client-side.
In the past it was not possible to provide such services, because database requests took too long. To make a request on a vector tile is much faster. If you have the date, the pure rendering takes only Milliseconds.
So this is only the beginning.
Greetings Tim alias Kolossos
P.S.: I include the style as optional layer inside the OSM-map we have in different language version (de,fr,ru,...).
Am 18.09.2015 um 22:32 schrieb Guillaume Allegre:
I'm a bit confused here. Are you sure it's Geojson ? For me, it is a custom low-level json format produced by mapbox tool, as "documented" here : https://github.com/mapbox/vector-tile-spec/tree/master/1.0.1 but it's not Geojson.
For the moment, I don't see how to use this information to produce additional service. Would you know an example of this kind, please ?
(for example, that would be great to click on a node on the tile, with a "sticky road" feature ; only an example).
Nevertheless, you did a great job working on this new map stack. Many thanks and applauses !