MSPL Apps
MSPL Apps

Reputation: 49

I am using MBtiles for offline map in iOS app, how to merge updated MB tiles with old one. I am using mac system

I have updated MBtiles as a new file and want to merge with existing main MBtiles file, how can I do that in MAC OS system.

Simply I want to update the MBtiles, any suggestion?

Upvotes: 1

Views: 512

Answers (1)

Alan Kinnaman
Alan Kinnaman

Reputation: 926

You might try using mbutil to export the tiles from both MBTiles files and then import them into a new MBTiles file. You'd need to do something like this:

mb-util InputFile1.mbtiles /path/to/directory
mb-util InputFile2.mbtiles /path/to/directory
mb-util /path/to/directory OutputFile.mbtiles

Upvotes: 1

Related Questions