sqlite - joining together two mbtiles files -


i haven't managed find way join 2 *.mbtiles files (first 1 contains zoom level 0-16 , second 1 zoom level 17). working different sqlite managers, no mather how have exported , imported database2 database1, had no success - binary field badly corrupted couldn't image.png back.

does know simple procedurte of joining 2 mbtiles files together?

if 2 files have same metadata, , if tiles tables tables , not views, can append data of 1 other table:

/* open database1 main database, then: */ attach 'database2' db2; insert tiles select * db2.tiles; 

Comments