#tile #maps #mvt #command-line #tilejson

bin+lib mbtiles

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

15 releases (4 breaking)

0.11.1 Jul 9, 2024
0.10.0 Jun 25, 2024
0.9.1 Feb 1, 2024
0.9.0 Dec 25, 2023
0.8.1 Nov 22, 2023

#169 in Geospatial

Download history 18/week @ 2024-08-14 43/week @ 2024-08-21 57/week @ 2024-08-28 21/week @ 2024-09-04 51/week @ 2024-09-11 56/week @ 2024-09-18 54/week @ 2024-09-25 24/week @ 2024-10-02 19/week @ 2024-10-09 34/week @ 2024-10-16 29/week @ 2024-10-23 29/week @ 2024-10-30 67/week @ 2024-11-06 64/week @ 2024-11-13 59/week @ 2024-11-20 70/week @ 2024-11-27

272 downloads per month
Used in 3 crates (2 directly)

MIT/Apache

195KB
4.5K SLoC

mbtiles

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

A library to help tile servers like Martin work with MBTiles files. When using as a lib, you may want to disable default features (i.e. the unused "cli" feature).

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.

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~56MB
~1M SLoC