mirror of
https://github.com/maplibre/martin.git
synced 2024-12-20 05:11:57 +03:00
6f32f0e7b4
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 |
||
---|---|---|
.. | ||
src | ||
.env | ||
Cargo.toml | ||
README.md | ||
sqlx-data.json |
martin-mbtiles
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.