[MapProxy] Create WMS from PDOK WMTS and create maps below minimum tile scale

Just van den Broecke just at justobjects.nl
Fri Nov 24 03:03:07 PST 2017


On 24-11-17 10:39, Oliver Tonnhofer wrote:
> Hi,
> 
> On 23.11.2017, at 14:09, Just van den Broecke <just at justobjects.nl> wrote:
>> - make an MP config that directly fetches tiles for levels 0-14 (PDOK BRTAchtergrondkaart levels, see above) and for levels 15+ use "use_direct_from_res: 0.21" using the WMS Source. Possibly you need a combined cache (TMS Source for 0-14 and WMS Source for 15+) different grids/subgrids and never store tiles via disable_storage: true.
> 
> this is only required when you need to 'blow-up' tiles for WMTS/TMS services. MapProxy will use the last cache level when making WMS requests for a higher resolution. Ron, just make sure the grid of your cache has the right number of zoom levels.

So if I understand this: in the case where the original WMS Source is 
not available e.g. when serving from a shipped pre-tiled cache with 
levels 1-N, MP could in theory serve tiles for levels (N+1)+ by calling 
the external WMS Service of its own tile-cache as its WMS Source? That 
would be awesome!

The case Ron describes, and I was trying to explain is similar but the 
MP instance doesn't have a (filled) tilecache, only an external TMS/WMTS 
Source. Challenge is to still call MP's WMS for the levels not served by 
the TMS/WMTS Source. Will need some advanced combined-cache/grid 
MP-config hacking. (As the Dutch national map-service PDOK Ron and I are 
referring to is migrating from GeoWebCache to MP, but will probably 
close off WMS access to GWC/MP...)

Best,

Just

> 
> 
> Regards,
> Oliver
> 


More information about the MapProxy mailing list