Skip to content

Conversation

@jakepruitt
Copy link

Adds the EMAPNIK eror code within the source.profile method so that errors can be handled properly in mapbox-upload validate (refs https://github.com/mapbox/mapbox-upload-validate/blob/master/lib/validators/tm2z.js#L19).

NOTE: I think this is a stopgap to a deeper mapnik bug. The style added here was valid in mapnik 3.4.17, but invalid in 3.5.6 because of a Tile does not exist error. This smells like something else is afoot, and while this PR fixes the missing code and should be merged, we should solve the underlying issue asap.

cc/ @GretaCB @flippmoke @springmeyer @mapsam

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 96.647% when pulling 417accf on emapnik into 89c8b76 on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 96.647% when pulling dc7b5e0 on emapnik into 89c8b76 on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 96.647% when pulling a08cc34 on emapnik into 89c8b76 on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants