#encoder #gis #mvt #coordinates

tinymvt

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

5 releases

0.1.0 Mar 10, 2025
0.0.4 Feb 24, 2025
0.0.3 Feb 16, 2025
0.0.2 Feb 13, 2025
0.0.1 Oct 28, 2024

#248 in Geospatial

Download history 10/week @ 2024-12-04 27/week @ 2024-12-11 4/week @ 2024-12-18 33/week @ 2025-01-22 2/week @ 2025-01-29 12/week @ 2025-02-05 259/week @ 2025-02-12 111/week @ 2025-02-19 46/week @ 2025-02-26 128/week @ 2025-03-05 98/week @ 2025-03-12 79/week @ 2025-03-19

384 downloads per month

MIT license

25KB
578 lines

tinymvt-rs

codecov Crates.io Version

A minimal Rust toolkit 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 IDs) and XYZ tile coordinates

TODO?

  • Decoder

Author

Taku Fukada

Dependencies

~1–3MB
~43K SLoC