#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 140/week @ 2024-10-28 5/week @ 2024-11-04 1/week @ 2024-11-11 20/week @ 2024-11-18

166 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–3.5MB
~54K SLoC