Maps/v2
Appearance
< Maps
Overview
The maps stack is responsible to render maps.wikimedia.org and any embedded maps in Wiki articles.
Components
On MediaWiki, the Kartographer extension calls the maps.wikimedia.org endpoint with specific parameters, that are aimed to visualize a map with or without overlay shapes on top (city map displaying the neighborhoods for example).
The maps stack is composed by:
- Kartotherian: it is the frontend for maps.wikimedia.org and it offers an API to render a specific map in raster or vector formats. It retrieves the base map from Tegola (see below) and it applies geoshapes if requested/configured by the users. It fetches data from the Postgres gis database as well.
- Tegola: called by Kartotherian; it is responsible to fetch vector data from the Postgres gis database on maps* bare metal hosts and render the related map tiles in a specific format. It uses Thanos Swift as cache for the tiles.
- Postgres: it is the datastore behind the stack, storing custom information about the above services and the vector data retrieved from Open Street Map.
- Imposm: It is the daemon running on Postgres master hosts (maps1011 and maps2011) that fetches data from Open Street Map upstream and updates the gis database.
Monitoring
- Kartotherian dashboard
- Tegola dashboard
- Postgres dashboard (you need to select the right host, maps1011 and maps2011 are the current master nodes, the rest are replicas).