Expand description
MVT protobuf encoding via prost.
Encodes grouped TileFeatures into a single MVT tile (protobuf bytes).
Key/value tables are deduplicated per-layer for compact encoding.
Modules§
- proto
- Rust types for the Mapbox Vector Tile protobuf schema, generated by prost.
Functions§
- decode_
commands - Decode MVT geometry commands into parts.
- encode_
linestring - Encode MVT geometry commands for a linestring.
- encode_
multilinestring - Encode MVT geometry commands for a multi-linestring.
- encode_
points - Encode MVT geometry commands for a point or multipoint.
- encode_
polygon - Encode MVT geometry commands for a polygon (single ring or multi-ring).
- encode_
tile - Encode a group of tile features (all belonging to the same tile) into MVT bytes.