How to merge multiple tilesets (MBTiles)
This article describes the process of merging tilesets in MapTiler Engine.
MapTiler Engine can easily merge different raster maps in the MBTiles format. It is also possible to replace a part of one file with another file. This feature is quite useful and saves a lot of rendering time in case you receive a new source data update. Merging tilesets is also available in the command line utility.
If you don’t have MapTiler Engine yet, you can download it here.
The merging process
The merging process itself is very simple, as there is a dedicated workflow for this purpose in the MapTiler Engine application.
Select the workflow
After starting the application, enter merging utility by clicking the “Merge tilesets” button. You’ll get to the input page.
Add and order your data
Here, add the input tilesets by dragging & dropping them or by clicking the “Add” button. If your data overlap, you can adjust the visibility order of certain tilesets in the ouptut file by moving them up and down using arrows at each item in the list. The top-most file is the top-most in the output (covers everything underneath). Once your input is complete, click “Continue”.
Finish output settings
Now, on the output settings page, you can choose the output image format. You can decide whether to keep the original format (or a hybrid combination of jpeg and png), or you can convert files to a new format. Perform the setting, click “Continue,” and choose the unique filename for your output.
Upload or save only locally?
The last thing to do is to choose the upload type. Continue by selecting the upload method if you’d like to publish your output right away (described here), or go with the “Skip upload” option if you wish to save your data only locally. Proceed by clicking the “Continue” button.
Check the result
When the processing is complete, you’ll see the status Finished in the task queue. Go to Options > Output preview to see the preview of your map.