@artsdatabanken/dump-mbtiles-metadata
v1.4.6
Published
Scan directory structure and dump GIS map file metadata statistics to JSON
Downloads
34
Keywords
Readme
Dump .mbtiles metadata
Reads the metadata table from all .mbtiles inside a directory. Outputs the metadata to console in JSON format.
Installation
Package is hosted at https://www.npmjs.com/package/@artsdatabanken/dump-mbtiles-metadata
npm install -g @artsdatabanken/dump-mbtiles-metadata
Usage
dump-mbtiles-metadata <source .mbtiles directory>
The metadata will be written to standard out.
Sample
> dump-mbtiles-metadata .
{
"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": {
"...": "..."
}