#tile #mapbox #vector #serialization #encoder #mvt #tags

tinymvt

Simple library for serializing Mapbox Vector Tile (MVT) with minimal dependencies

1 unstable release

0.0.1 Oct 28, 2024

#6 in #mapbox

Download history 136/week @ 2024-10-27 9/week @ 2024-11-03 1/week @ 2024-11-10 17/week @ 2024-11-17

163 downloads per month

MIT license

25KB
578 lines

tinymvt-rs

codecov

A simple Rust library providing a set of tools for serializing Mapbox Vector Tiles (MVT).

License: MIT

Includes the following utilities:

  • Protobuf (prost) data types for MVT
  • Geometry encoder
  • Tags encoder
  • Conversion between Web Mercator and geographic coordinates
  • Conversion between linear tile IDs (PMTiles-compliant Hilbert id) and XYZ tile IDs

Dependencies

~1.7–4MB
~54K SLoC