#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

12 releases

0.9.1 Feb 1, 2024
0.9.0 Dec 25, 2023
0.8.5 Dec 19, 2023
0.8.1 Nov 22, 2023
0.7.2 Oct 31, 2023

#259 in Geospatial

Download history 1/week @ 2024-01-11 4/week @ 2024-01-18 2/week @ 2024-01-25 18/week @ 2024-02-01 1/week @ 2024-02-08 6/week @ 2024-02-15 26/week @ 2024-02-22 20/week @ 2024-02-29 31/week @ 2024-03-07 61/week @ 2024-03-14 22/week @ 2024-03-21 58/week @ 2024-03-28 53/week @ 2024-04-04 8/week @ 2024-04-11

145 downloads per month
Used in martin

MIT/Apache

160KB
3.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

~34–50MB
~838K SLoC