Page MenuHomePhabricator

Set up Mapbox studio to use WMF tiles
Closed, ResolvedPublic


In order to both simplify our own style development, and to let the community participate in it, figure out a way to point Mapbox studio to the WMF tiles server rather than theirs.

Event Timeline

Yurik raised the priority of this task from to Needs Triage.
Yurik updated the task description. (Show Details)
Yurik added a project: Maps-Sprint.
Yurik added subscribers: Yurik, MaxSem.

I partially got this to work. There is a nasty bug in the whole mapbox stack which is hard to get rid of -- mapbox code ALWAYS expects the PBF tile to be returned in gzip format, even if it did not send the "Accept-encoding":"gzip". Kartotherian implements this hack behavior, but Varnish does not - so if tile is requested without the header from Varnish, it automatically uncompresses it.

My comment is at issue-1268 gives the expected JSON, but we should generate it on the fly instead of hardcoding, e.g. /osm/info.json

If the path inside that file is to be switched to port 4000, the system would work. Or follow the instructions in the issue1268

Tfinc moved this task from To-do to Done on the Maps-Sprint board.
Tfinc claimed this task.
Restricted Application added a subscriber: StudiesWorld. · View Herald Transcript