mbtile-stats
v1.0.3
Published
Dump .mbtiles metadata tables
Downloads
2
Readme
Scan .mbtiles
Reads the metadata table from all .mbtiles inside a directory. Outputs the metadata to console in JSON format.
Installation
Install dependencies
npm install
Usage
node scan-mbtiles.js <directory>
Sample
> node scan-mbtiles.js .
{
"AO": {
"name": "/data/AO.mbtiles",
"description": "/data/AO.mbtiles",
"version": "2",
"minzoom": "0",
"maxzoom": "11",
"center": "10.810547,59.578822,11",
"bounds": "4.087527,57.759005,31.761389,71.384877",
"type": "overlay",
"format": "pbf",
"json": "{...}"
},
"NA": {
"...": "..."
}