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

tinymvt

A lightweight library for encoding Mapbox Vector Tiles (MVT)

8 releases

new 0.2.2 Apr 18, 2025
0.2.1 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 7/week @ 2025-01-17 27/week @ 2025-01-24 2/week @ 2025-01-31 80/week @ 2025-02-07 196/week @ 2025-02-14 121/week @ 2025-02-21 36/week @ 2025-02-28 154/week @ 2025-03-07 106/week @ 2025-03-14 39/week @ 2025-03-21 193/week @ 2025-04-11

246 downloads per month

MIT license

27KB
629 lines

tinymvt-rs

codecov Crates.io Version

A lightweight Rust library for encoding Mapbox Vector Tiles (MVT)

License: MIT

Features

  • 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

Planned?

  • Decoder

Dependencies

~1–3MB
~43K SLoC