Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vectortile parsing error #1019

Closed
ansis opened this issue Feb 20, 2015 · 4 comments
Closed

vectortile parsing error #1019

ansis opened this issue Feb 20, 2015 · 4 comments
Labels

Comments

@ansis
Copy link
Contributor

ansis commented Feb 20, 2015

Uncaught TypeError: Cannot read property 'push' of undefined
vectortilefeature.js:76
https://github.com/mapbox/vector-tile-js/blob/5b562b945aa552f48b3e0b6fb37c5de08a5219af/lib/vectortilefeature.js#L76

This happens when parsing tile 11/572/748
http://localhost:3000/debug/#11.3/43.5449/-79.4266/-17.3

@ansis ansis added the bug 🐞 label Feb 20, 2015
@jfirebaugh
Copy link
Contributor

The second feature in the "water" layer of this tile has a geometry that begins with a "closePolygon" command. vector-tile-js assumes that can't happen.

/cc @springmeyer

jfirebaugh added a commit to mapbox/vector-tile-js that referenced this issue Feb 28, 2015
@jfirebaugh
Copy link
Contributor

Pushed a failing test-case to vtjs: https://github.com/mapbox/vector-tile-js/compare/mapbox-gl-js-1019

@springmeyer
Copy link
Contributor

@jfirebaugh - will need to try to reduce a testcase by recreating tiles from water - tracking at mapbox/mapnik-vector-tile#90

@mourner
Copy link
Member

mourner commented Mar 5, 2015

Upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants