- Wgs84Pos / WebMercatorPos conversion structs
GeomEncoder::bbox
/::transform
methods
- Updated protobuf to v3.3
- Generic parameter for MapGrid -- always use
f64
- Transform parameter from
GeomEncoder::new
GeomData::is_empty
/GeomData::len
methods
- Moved
BBox
topointy
crate GeomEncoder::point
/add_point
are now fallible (float to int errors)GeomEncoder
now has aFloat
type parameter (f32
orf64
)MapGrid
now has aFloat
type parameter (f32
orf64
)- Updated
protobuf
dependency to version 3.2
- Replaced
geom
module withpointy
crate dependency
- Implement Default for Layer
- Made Error enum non-exhaustive
- Replaced
MapGrid::new_web_mercator()
withMapGrid::default()
- Use
cargo run --features=update
to update to a new protobuf version
- Updated to protobuf 2.17
- Updated protobuf dependency
- Layer::name() method
- Made MapGrid cloneable
- Made Tile::compute_size() public
- Feature::layer and ::num_tags methods
- Error::Other
- Feature::set_id can no longer fail
- Error::DuplicateId
- GeomEncoder::point and ::complete (for method chaining)
- GeomEncoder::add_point and ::complete_geom now take a reference
- MapGrid, TileId and BBox
- New error variant: InvalidTid
- Check extent when adding layer to tile
- GeomEncoder now has encode method to create GeomData struct
- New error variant: InvalidGeometry
- GeomEncoder now uses builder pattern
- Made Tile::compute_size private
- Tile::get_extent() => extent()
- Initial version