Page MenuHomePhabricator

Staging error: Snapshots with overlay map failed to render
Closed, ResolvedPublic

Description

While debugging T383710 I tried to reproduce the issue locally.
As expected we don't have the network limitations as in k8s environment but I encountered another issue. More specifically:

When I tried to GET this snapshot with the overlay map

Kartotherian returned this error

failed to initialize projection with: '+init=epsg:3857' in Map

Turns out the root cause is in one of the mapnik dependencies. More specifically:

Event Timeline

I tested this patch locally and renders the map with overlay as expected from prod:
https://github.com/wikimedia/geojson-mapnikify/pull/3

The updated library has been deployed to k8s staging and it works nicely. @Jgiannelos do you want to release the new version to npm or are we good using the git sha for the moment? I think the latter is acceptable, if so we can close this.

This is fixed in staging