[MapProxy] MBTiles: multiple grids stored in single tiles table
Just van den Broecke
just at justobjects.nl
Wed Aug 2 04:26:16 PDT 2017
Hi Oliver,
Ok, I now use GeoPackage caching, works like a charm. Need WMS and
cannot change URLs. Also more metadata.
Best,
Just van den Broecke
PS my responses to this list are always cutoff by my mailer
(Thunderbird) when replying your mails. It is the -- in your signature
my searches say, e.g.
https://support.mozilla.org/en-US/questions/1001264. (I now pasted original)
On 03-07-17 16:58, Oliver Tonnhofer wrote:
> Hi,
>
> yes, the filename option doesn't work with multiple grids.
>
> The tile_sources option for layers might be a solution, if you only need to access these two grids/caches with WMTS and not WMS: https://mapproxy.org/docs/nightly/configuration.html#tile-sources
>
> Regards,
> Oliver
>
--
Oliver Tonnhofer | Omniscale GmbH & Co KG | https://omniscale.com
OpenStreetMap WMS and tile services | https://maps.omniscale.com
> On 03.07.2017, at 13:13, Just van den Broecke <just at justobjects.nl>
wrote:
>
> Hi,
>
> I am trying to use two grids (GLOBAL_MERCATOR and the Dutch National
tiling grid) with MBTiles caching. Something like:
>
> my_mbtiles_cache:
> grids: [dutch_grid, merc_grid]
> sources: [my_wms]
> format: image/jpeg
> cache:
> type: mbtiles
> [filename: my.mbtiles]
>
> With e.g. Filecaches, one cache per grid is created. But with MBTiles
the tiles for the two grids are created in a single "tiles" table in a
single sqlite file "my.mbtiles". I would expect two MBTiles files, named
after the grids. Also if I leave "filename" out a single
"my_mbtiles_cache.mbtiles" file is created. (Defining two MBTiles caches
is a bit complicated now, as this would require renaming Layers).
>
> I realize MBTiles assumes a single tiling schema/grid,
GLOBAL_(WEB)MERCATOR . Possibly I should move to sqlite or geopackage
caches, the latter storing more metadata and a single tiles table per
grid...
>
> Best,
>
> Just van den Broecke
>
>
>
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapproxy
More information about the MapProxy
mailing list