Releases: mapbox/vtzero
Releases · mapbox/vtzero
Version 1.1.0
Changed
- Now needs protozero 1.7.0 or above.
- Use
protozero::basic_pbf_builder
to make buffer type configurable. This allows you to create the final vector tile in any type of buffer, not juststd::string
. See documentation for details. - Switch to catch2 for testing.
Fixed
- Examples
vtzero-create
andvtzero-streets
now commit features written. - Various fixes and small cleanups, mostly based on clang-tidy reports.
Version 1.0.3
Added
- New
copy_id()
helper function on feature builder copies ID (if it exists) from an existing feature. - New
copy_properties()
helper funtion on feature builder copies all properties from an existing feature, optionally using aproperty_mapper
. - New
feature::for_each_property_indexes()
member function.
Fixed
- The example program
vtzero-stats
now catches exceptions and exists with an error message. - Fix an assert where a wrong iterator was checked.
Version 1.0.2
Fixed
layer_builder::add_feature()
did not work, because it didn't commit the features it added.
Version 1.0.1
Added
- Some documentation and tests.
Changed
- Catch exceptions in vtzero-streets example and output error message.
- Adds a template parameter to the
create_property_map
function allowing mapping between value types.
Fixed
- The indexes returned by
feature::next_property_indexes()
are now checked against the size of the key/value tables in the layer. If an index is too large avtzero::out_of_range_exception
is returned. This way the user code doesn't have to check this. The functionfeature::for_each_property()
now also uses these checks.
Version 1.0.0
First release.