mapbox / mapnik-vector-tile

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

Use `box2d<value_type>` in `decode_geometry` #206

Open springmeyer opened 8 years ago

springmeyer commented 8 years ago

The bbox used in decode_geometry is currently hardcoded to double. It should be using the value_type for best performance: https://github.com/mapbox/mapnik-vector-tile/blob/69d0d8e9df0c27521f685d730a8fd10a190d8dbb/src/vector_tile_geometry_decoder.ipp#L775-L784

Waiting on https://github.com/mapnik/mapnik/issues/3405