martin/martin-mbtiles
rstanciu 6f32f0e7b4
Add feature to detect Mbtiles format (#713)
Feature for `Mbtiles` struct to detect which format a `.mbtiles` file is
in according to the [MBTiles
specfication](https://github.com/mapbox/mbtiles-spec/blob/master/1.3/spec.md#database).
The function `detect_type` identifies whether the `.mbtiles` file
contains a `tiles` _table_ OR if it contains `map` and `images` table
(which provide the data for a `tiles` _view_).

See also #667
2023-06-13 20:04:11 -04:00
..
src Add feature to detect Mbtiles format (#713) 2023-06-13 20:04:11 -04:00
.env Add .mbtiles support (#549) 2023-01-09 00:10:23 -05:00
Cargo.toml Bump versions for release 2023-06-04 15:04:42 -04:00
README.md readme for all packages 2023-06-04 00:56:20 -04:00
sqlx-data.json Add feature to detect Mbtiles format (#713) 2023-06-13 20:04:11 -04:00

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.