Page MenuHomePhabricator

[EPIC] Client-side vector tile rendering
Open, LowPublic

Description

Context

We would like to have client side rendering with vector tiles, backed by the tegola vector tile server. This would help with internationalisation, simplify hosting multiple styles, and avoid having to use @2.png retina screen PNG tiles. We have some level of Vector Tile support internally, but this never made it to production for client side rendering.

For anyone interested in working on this:
We used to have an endpoint. (without styling) for vector tiles, but it never made it to the level of 'being supported'

It was something like: https://maps.wikimedia.org/osm-pbf/{z}/{x}/{y}.pbf and it is still in the docker config for Kartotherian. https://gerrit.wikimedia.org/g/mediawiki/services/kartotherian/+/148400384313afad30034e79239f3a8c555a42a6/sources.docker.yaml#57

In 2021, there was some benchmarking and other exploratory work done as part of T269690#7503367, including a patch to Kartographer to implement a client side solution.

Event Timeline

Jgiannelos renamed this task from Client-side vector tile rendering options to Client-side vector tile rendering.
Jgiannelos updated the task description. (Show Details)

Change 663867 had a related patch set uploaded (by MSantos; owner: MSantos):
[mediawiki/extensions/Kartographer@master] WIP: suppot vector-tile rendering using mapbox-gl

https://gerrit.wikimedia.org/r/663867

Change 664835 had a related patch set uploaded (by MSantos; owner: MSantos):
[maps/spikes@master] client-rendering: benchmark MVT and raster tiles

https://gerrit.wikimedia.org/r/664835

The status of this task is doing, but it's not clear what's happening and how someone can help.

The status of this task is doing, but it's not clear what's happening and how someone can help.

This task is kind of on hold until we have a proper style configuration to render maps with maplibre-gl, see T276317: WMF Map WebGL style - Specification.

I started the WIP patch to explore how to do proper language fallback, but this will need more attention when the subtask resolves.

Jgiannelos lowered the priority of this task from Medium to Low.Aug 26 2021, 10:59 AM
MSantos renamed this task from Client-side vector tile rendering to [EPIC] Client-side vector tile rendering.Oct 19 2023, 7:06 PM

FWIW, the Android App is Today the main consumer of the vector tiles endpoint as of T347201#9521505 for client-side map rendering.