[MapProxy] Mbtile file naming in SQlite cache

Oliver Tonnhofer olt at omniscale.de
Sun Apr 13 23:04:31 PDT 2014


On 10.04.2014, at 14:23, Pekka Sarkola wrote: 
> When I use sqlite cache, Mapproxy will create mbtiles per layer, like 0.mbtile, 1.mbtile…
> I tried to open those files with GDAL or QGIS (2.3), but just got an error. It seems that GDAL is expecting that MBtile-files are ending with .mbtiles (not .mbtile). So when I rename all those files to .mbtiles: no problem with GDAL or QGIS open files.
> So, is ti possible somewhere to configure that Mapproxy will create .mbtiles (not .mbtile) or should be this be a new feature?

No, you can't configure the file extension.
But you should use the mbtiles cache instead of the sqlite cache if you want to use the tiles with other software. 


Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.com
http://mapproxy.org | https://github.com/olt    | @oltonn

More information about the MapProxy mailing list