Open DerekTizz opened 3 years ago
Probably duplicate of https://github.com/OpenOrienteering/mapper/issues/84
As MBTiles format is an SQLite datebase of WMS tiles, it is not supported for import it as templates yet.
FTR, As a workaround you may try to use SAS.Planet app to load MBTiles and convert it to suitable format for OpenOrienteering Mapper, for example GeoTIFF file or OZIExplorer referenced image (raster image file + map reference file).
Where those MBTiles comes from?
MBTiles are listed as gdal supported file format https://www.openorienteering.org/mapper-manual/pages/gdal.html If that worked it would be a smooth way to handle high resolution templates over big areas without having to chop them into separate tiles.
If that worked it would be
@mlerjen, I found a lot of solutions for converting raster single image into MBTiles with GDAL:
BUT still can't find any example of extracting MBTiles into single raster image with GDAL.
As for start point (not a solution) may be take a look on this:
P.S. May be the easiest way would be just load MBTiles into QGIS app and export/convert it as GeoTIFF file, which could be loaded as georeferenced template into OpenOrienteering Mapper.
MBTiles are listed as gdal supported file format
This list is auto-generated from the list of drivers coming with Mapper's GDAL. However, not all drivers can be used as simple as Mapper does. I'm sorry for the wrong impression that this list generates. With good feedback, we might improve that.
Openorienteering 0.9.5 doesn't open mbtiles files.
The problem is probably the same as for WMS: there is not a particular reasonable size in pixel, as assumed by Mapper. Mapper would need to request data for a particular area of interest. However, without mbtiles test data, I cannot verify the problem.
For WMS, there is a proof of concept, https://github.com/OpenOrienteering/mapper/pull/1816.
Steps to reproduce
Actual behaviour
Openorienteering 0.9.5 doesn't open mbtiles files.
Expected behaviour
Open mbtiles
Configuration
Mapper Version: 0.9.5 Operating System: Win10