This article will show you how to turn a (large-scale) raster image into zoomable tiles with no geographical location. This process is used in GLAM (gallery, library, archive, museum) institutions for processing and publishing large-scale imagery on the web. This is also perfect for publishing large-scale photography in biology and science institutes. The final publishing on the web is done via a standard JavaScript library - with all advantages of a zoomable viewer.
Make your image zoomable
At first, you can go through the whole process in a short video:
Step-by-step workflow
-
Choose your image.
- Open MapTiler Desktop and load your image.
-
Skip the selection of the geographical location (no coordinate system), click “Close”.
-
Skip the selection of the input coordinate system, click “Close”.
-
Preview your image, click “Export”.
-
Change the pre-selected output coordinate system (Global Mercator), click “Change“.
-
Select the “Pixels“ tab to adjust the settings of your zoomable image.
-
Adjust the tile size, if you don’t want predefined 512x512, and then click “Set“.
-
Select the output format as “Folder with tiles“, then click “Continue“. This option is best for uploading the final image to your own file hosting via FTP. If you select the GeoPackage option, you can upload the image directly to MapTiler Cloud or another cloud service and serve it to your users from there. More info about hosting is here.
-
Adjust the zoom levels for your image and select the “HiDPI tiles” option, then click “Render“.
-
Choose your output folder and name it accordingly, then click “Render“.
-
Wait for the rendering process to finish and maybe consider going for a higher plan.
-
Review your tiled image processed by MapTiler Desktop, when done, click “Continue“.
-
Open the target folder with rendered tiles.
-
Each zoom level has a dedicated folder with raster tiles generated from your original image.
Conclusion
When done rendering, you have to choose how to publish your newly generated zoomable image.
The GeoPackage can be uploaded directly to MapTiler Cloud and served to your users. If you exported to a folder with tiles, you can upload them via FTP to any web server and serve with leaflet.html or openlayers.html prepared viewers.
Useful links
Folder vs. MBTiles vs. GeoPackage
Retina - HiDPI tiles
MapTiler Cloud map hosting
Web and custom map hosting
Comments
0 comments
Please sign in to leave a comment.