Noble Programming Mantra

    @artsdatabanken/dump-mbtiles-metadata

    1.4.6 • Public • Published

    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": {
        "...": "..."
      }

    Keywords

    Install

    npm i @artsdatabanken/dump-mbtiles-metadata

    DownloadsWeekly Downloads

    0

    Version

    1.4.6

    License

    MIT

    Unpacked Size

    126 MB

    Total Files

    8

    Last publish

    Collaborators

    • olsoybakk
    • reppen
    • myrdrahl