[MapProxy] min_res, max_res for TMS Requests

Oliver Tonnhofer tonnhofer at omniscale.de
Mon Feb 14 02:49:38 EST 2011


Hi,

On 11.02.2011, at 19:48, Ami Rahav wrote:
> I am trying to merge several ArcGIS tiled services. 
> Not all layers are seeded to the same zoom level. 
> 
> One of the layers is actually broken into two different services. 
> The first service has seven zoom levels, 0-6, and resolution of 156543.033928 to 2445.98490512499. 
> The second service has four zoom levels, 0-3, and resolution of 1222.99245256249 to 152.874056570411. 
> When I configure the second service it accesses levels 0-3 but at the lower resolution, so I can’t use that service to replace the first one. 

If you only want to use these layers in a WMS layer, then you can create two caches each with a limited grid: one grid with the resolutions of level 4-6 and one with the resolutions of level 0-3.
You can than add these caches to one WMS layer and MapProxy will use the right cache for each resolution.

Not an optimal solution, but a good workaround.

> I also noticed that a WMS layer and a tiled layer can’t be merged. This might be useful at higher resolutions. Is this something that can be done? 

For now, only if you disable meta tiling for that cache. (meta_size: 0, meta_buffer: 0)

It is something that could be improved, like min_res/max_res for tile sources. As always, patches or fundings are always welcomed :)


Regards,
Oliver

-- 
Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
http://mapproxy.org | https://bitbucket.org/olt




More information about the MapProxy mailing list