The MBTiles database contains vector data if the format specifier returns pbf (i.e. Protocol Buffers): $ sqlite3 test.mbtiles SQLite version 3.8.5 2014-08-15 22:37:57 Enter ‘.help’ for usage hints. sqlite&gt, .tables geocoder_data grid_key grids keymap metadata grid_data grid_utfgrid images map tiles sqlite3 de.mbtiles ‘select quote(images.tile_data) from images where images.tile_id = ‘f93dd1408623fbc191025a00e057a338′,’ | cut -d ”’ -f2 | xxd -r -p &gt, tile_data.zip $ protoc –decode=vector_tile.Tile vector_tile.proto &lt, tile_data layers { name: ‘de’ features { id: 1 tags: 0 tags: 0 type: POLYGON geometry: 9 geometry: 8448 geometry: 255 geometry: 34 geometry: 0 geometry: 8704 geometry: 8703 geometry: 0 geometry: 0 geometry: 8703 geometry: 8704 geometry: 0 geometry: 15 } keys: ‘name’ values { string_value: ‘Germany’ } extent: 4096 version: 1 } Source.

Menu
whatsapp button