mapbox / mapnik-vector-tile

Mapnik implemention of Mapbox Vector Tile specification
BSD 3-Clause "New" or "Revised" License
552 stars 117 forks source link

Reprojection Fix - Master #275

Closed flippmoke closed 6 years ago

flippmoke commented 6 years ago

Fixed the way that reprojection is handled for vectors in rare situations where it is not possible to query the source projection because the tile projection is out of maximum extent of the source projection. As a fall back we simply query the entire layer's extent or envelope. This will cause slowdowns in situations and it is still suggested to reproject data prior to a web mercator projection prior to use with vectors. Prior to this fix it would either silently fail in previous versions when this occured or it would throw an exception.

same as #274