mapbox / rio-rgbify

Encoded arbitrary bit depth rasters in pseudo base-256
MIT License
103 stars 38 forks source link

How to merge multiple raster .mbtiles into the single one? #26

Open predictwise opened 4 years ago

predictwise commented 4 years ago

Hi,

I have multiple raster .mbtiles generated by command rio rgbify and all of them have the same zoom. Each of them is a part of city and can be combined together to form the whole city. Is there any solution I can merge them into a single one so that I am able to manage them more efficiently? Thank you

Oliver

kannes commented 1 year ago

Sure, they are just SQLite databases with minimal metadata. You can use any SQLite management tool to merge their tiles table into one.

ondrap commented 1 year ago

that won't work, you have to merge the images at lower zoom level