mapbox / mapnik-vector-tile

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

Fix improper clipping #287

Closed flippmoke closed 6 years ago

flippmoke commented 6 years ago

Fix mistake where initializing 5 values to default values was used rather then reserve in the clipping bound box function. This was causing a strange polygon with 5 extra points at 0,0 to be passed directly into the clipping function. The first I have noticed that caused this was https://github.com/mapnik/node-mapnik/issues/892. We need to patch this and push upstream quickly.