Wikimedia Maps/2015-2017

OpenStreetMap and Wikimedia are collaborating at multiple levels, many times thanks to individual efforts of volunteers, sometimes through formal projects involving the Wikimedia Foundation or chapters.

Let's map this collaboration. Every entry should have a wiki page, a bug report or a URL somewhere.

Use cases

 * An editor wants to easily add a map to a Wikipedia article without leaving the Wikipedia site.
 * A reader wants to zoom and pan a map in a Wikipedia article.
 * A reader wants to see a zoomable, pannable map immediately when they click geo-coordinates on an article.
 * An editor wants to add geographic information about the location where they currently are.
 * A reader wants to navigate articles with an atlas (instead of typing a page name or URL, zoom and pan a map, and click pins)
 * A reader wants to browse Wikimedia Commons images on a map.
 * A reader wants to visualize geospatial data (country and city outlines, river courses, habitats for animals etc.)
 * An article shows interactive historical maps for certain areas. The map can contain annotation layers, POIs, routes, data layers etc. to illustrate the article topic. An editor wants to create these maps. (Taking part: Susannaanas (talk))
 * A historical map file can be displayed overlaid on a slippy map in the file display (file page / media viewer). Wikimaps design doc. (Taking part: Susannaanas (talk))
 * A reader/Commons user/editor wants to find scanned maps by selecting the area on a slippy map. Wikimaps design doc. (Taking part: Susannaanas (talk))
 * A reader can explore complex shapes (highways, geographic borders etc.) inside the infoboxes much better by using a slippymap than a static image. (need support for: kml, geoJSON, topoJSON)
 * An editor wants to add and edit maps using VisualEditor. We already have some proof of concept code so we just need some API endpoints. ESanders (WMF)
 * User Mey2008's WikiVoyage dynamic maps, such as POI Map, Art Map, and Monument Map (RU).
 * Show Raster imagery of earth, e.g. from Natural Earth, and other planets/celestial bodies. Overlay them with useful info.
 * An editor want's to add coordinate information to a photo on Commons
 * An editor wants to specify a map on wikidata so it can be reused on any of the wikiarticles associated with that wikidata item. One wikidata item may have multiple associated maps - location map, current borders, historic borders (start date =?), etc. each with a specification stored on wikidata. These specifications specify what layers are to be used, from where (OSM or OHM or other) but probably don't include the map data.

Mobile app use cases

 * User is able to see the map of the nearby points of interests from the mobile app
 * User is able to explore points of interest next to the current article
 * User is able to view articles similar to the current one on the map (based on Wikidata class)
 * Mobile map is a complete replacement for the wikivoyage interface - layers for each type of element (eat, museum, sleep etc.) shown on the map with linking to element data on wikidata, localised by wikidata in your language. You will be able to access and edit wikivoyage info without ever going to the wikivoyage wikis.

Production maps cluster
The Production maps cluster is in development by the WMF Discovery team. The implementation has various components including:
 * Kartotherian - a server capable of providing map tiles in vector (pbf) or raster (png) formats, as well as static map snapshots of any size for a given location.
 * Tilerator - a distributed backend tile generation service with a jobque
 * A flexible sources system to set up the needed storage and processing pipeline

A version of the tile server is now in operation at maps.wikimedia.org.
 * It serves tiles at URLs such as https:// maps.wikimedia.org/osm/11/327/791.png (bitmap) or .../791.json (OSM data – waterways, roads, place labels, etc.).
 * It can scale images up to 4 times (for high res screens), e.g. .../791@2x.png
 * It can provide static maps with a given size and scaling, e.g. https:// maps.wikimedia.org/osm/6/44.8247/4.9981/1000/600.png
 * For now, it can only accepts requests from the domains in beta.wmflabs.org
 * http://maps.beta.wmflabs.org is a simple map server that serves the Leaflet JavaScript library and some static files to provide a pannable, zoomable map using the Production maps cluster.
 * Please adapt your own labs tools to use maps.wikimedia.org! Set your tool's domain to *.beta.wmflabs.org.

Other projects

 * Set up vector tiles rendering.
 * http://a.tiles.wmflabs.org/osm/slippymap.html
 * this is based on non-vector legacy tile creation, sometimes called mod_tile
 * T35980 – Wikimedia-hosted OpenStreetMap (OSM) / mapnik tileservers wanted for mobile usage.
 * Wikimaps & OpenHistoricalMap
 * WikiMiniAtlas deployed on major Wikipedias for years now, supporting over 50 languages
 * to see WikiMiniAtlas, click the drop-down arrow next to coordinates on any Wikipedia article (if JavaScript is enabled)

Key Performance Indicators
We all know maps are important part of the knowledge eco-system, but to better serve the community, we should invest our efforts into addressing the maps use cases that are more used than others. In order to find such use cases, here are some key performance indicators we should track.
 * Discovery contributions
 * Amount of articles surfaced through a tile generated map that a user chose to read
 * Amount of articles that could have a map but don't
 * Overall map usage
 * Amount of individual sessions that fully loaded a tile generated map within a wiki page broken down for all tile services & tools
 * Amount of user interaction (zoom, drag, etc) for a tile generated map within a wiki page broken down for all tile services & tools

Wishlist

 * Proposed Bot to add Wikipedia/Wikidata tags to OSM features.
 * Local and regional bridges between both projects in order to collaborate in activities and events.
 * Wikimedia CH plans.
 * Log in to OSM with Wikimedia credentials.
 * Clarify licensing situation of OSM data used in Wikimedia. (T105090 -- seems to be ok)
 * Open-Wikidata-map.
 * A page to jot down use cases for historical maps and geodata (Susannaanas)