Skip to content

Utility to shave layers and features from a mbgl-offline pack

Notifications You must be signed in to change notification settings

alantgeo/mbgl-offline-shaver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

mbgl-offline shaver

Utility to shave layers and features from a mbgl-offline pack.

Usage

./index.js --db mbgl-offline.db --filter filter.json

Example filter.json:

{
  "road": {
    "filters": ["==", "class", "path"],
    "minzoom": 0,
    "maxzoom": 22,
    "properties": true
  },
  "water": true,
  "land": false
  ...
}

About

Utility to shave layers and features from a mbgl-offline pack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published