Skip to content
georgejhunt edited this page Jan 3, 2021 · 2 revisions

Quickly Display Bounding Boxes for Mbtiles

  1. Place the regional.mbtiles files in a direcetory, and copy the mbdir2bbox.py program into the same directory.
  2. Run it "./mbdir2bbox.py"
  3. This will create an ./output/ directory and write a file named bboxes.geojson to it.
  4. Move the bboxes.geojson in /library/www/osm-vector-maps/viewer/assets/ to bboxes.geojson.orig
  5. Copy the new file (./output/bboxes.geojson) to the assets directory.
  6. Edit the /library/www/osm-vector-maps/viewer/viewer-bundle.js by placing a line "found = true;" at Line 449.
Clone this wiki locally