mapbox / mbutil

Importer and Exporter of MBTiles
http://mapbox.com/developers/
BSD 3-Clause "New" or "Revised" License
762 stars 199 forks source link

Add 'dump's parameter — e.g., $ mb-util world.mbtiles dumps #68

Closed roblabs closed 8 years ago

roblabs commented 8 years ago

mb-util is very useful, and I found myself extracting tiles to disk just to peek at the metadata.json.

This pull request adds a new parameter that uses json.dumps to dump the contents of the metadata to stdout.

usage

mb-util world.mbtiles dumps
tmcw commented 8 years ago

:+1: thanks!