#mbtiles #maps #tiles #mvt #tilejson

bin+lib martin-mbtiles

A simple low-level MbTiles access and processing library, with some tile format detection and other relevant heuristics

6 releases (3 breaking)

0.4.0 Jul 4, 2023
0.3.0 Jul 4, 2023
0.2.2 Jun 23, 2023
0.1.0 Mar 25, 2023

#49 in Geospatial

Download history 59/week @ 2023-05-30 53/week @ 2023-06-06 33/week @ 2023-06-13 51/week @ 2023-06-20 20/week @ 2023-06-27 78/week @ 2023-07-04 21/week @ 2023-07-11 18/week @ 2023-07-18 23/week @ 2023-07-25 19/week @ 2023-08-01 44/week @ 2023-08-08 38/week @ 2023-08-15 36/week @ 2023-08-22 25/week @ 2023-08-29 38/week @ 2023-09-05 26/week @ 2023-09-12

126 downloads per month
Used in martin

MIT/Apache

56KB
1.5K SLoC

Rust 1K SLoC // 0.0% comments JavaScript 176 SLoC

martin-mbtiles

Book docs.rs docs Slack chat GitHub crates.io version CI build

A library to help tile servers like Martin work with MBTiles files.

This crate also has a small utility that allows users to interact with the *.mbtiles files from the command line. See tools documentation for more information.

Development

Any changes to SQL commands require running of just prepare-sqlite. This will install cargo sqlx command if it is not already installed, and update the ./sqlx-data.json file.

Dependencies

~27–40MB
~681K SLoC