Open mapsam opened 6 years ago
@mapsam Good catch. Also, what do you mean by "forward project"?
From @flippmoke - here's what forward/backward mean in mapnik terms
Projection A;
Projection B;
Transformer T(A, B);
T.forward(data); // A to B of data
T.backward(data); // B to A of data
If a shapefile has some sort of invalid projection, it isn't able to forward project the extent value. https://github.com/mapbox/mapnik-omnivore/blob/29ead3673df622c773f334ec555d3d749a9c673f/lib/shape.js#L99 and the process bails out. Let's try/catch this to ensure the file is reprojectable.
cc @GretaCB @millzpaugh