mboff

command module
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2024 License: MIT Imports: 10 Imported by: 0

README

mboff

Mboff is tiny CLI that allows the optimisation of MBTiles by removing unnecessary data. You only need to provide it with a key/value pair and mboff will search and remove such data.

Usage

mboff requires you to at least give a path to the existing MBTiles file and the key/value pair of the data you wish to remove from the file. Optionally, you may want to filter the removal of data by zoom level:

mboff [file path] [key value pair] [zoom level]

Examples:

# Remove data that contains category=road key/value pair
mboff myMap.mbtiles category=road

# Remove data that contains category=road key/value pair in zoom level 10
mboff myMap.mbtiles category=road 10

Future

  • Add mboff to Homebrew
  • A command for checking if a key/value pair exist in a MBTiles file and how many times is present.
  • Extend/add validation for args

License

See LICENSE

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL