#gis #vector-tiles #mvt #coordinates #encoder

tinymvt

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

7 releases

new 0.2.1 Apr 15, 2025
0.2.0 Apr 15, 2025
0.1.0 Mar 10, 2025
0.0.4 Feb 24, 2025
0.0.1 Oct 28, 2024

#243 in Geospatial

Download history 5/week @ 2024-12-17 29/week @ 2025-01-21 6/week @ 2025-01-28 12/week @ 2025-02-04 243/week @ 2025-02-11 94/week @ 2025-02-18 67/week @ 2025-02-25 112/week @ 2025-03-04 112/week @ 2025-03-11 90/week @ 2025-03-18 3/week @ 2025-03-25

292 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
~44K SLoC