[MapProxy] Disable the resampling

David Pavlíček pavlicek.david at gmail.com
Sun Feb 12 16:01:55 EST 2012


Hello Andrea,
I think, this is not possible.
WMS is dynamic service without scale constraint (image is created  by
server on demand). Cache is (in contrast) limited to set of predefined
scales. When you request image with scale which is not covered by cahce,
mapproxy must generate (resample) this image from existing cache levels.

As a workaround of this, you can use "denser" cache with more levels, or
disable the cache. With smaller gaps between cache levels, the resampling
effect won't be so distinct. In addition, I suggest You to look at
stretch_factor option in grid definition. By disabling cache (use source
service(s) directly in layer source without cache in a middle), mapproxy
will translate all request directly to target services, thus resampling
isn't needed (I assume dynamic, no tiled, sources).

Best wishes, David

2012/2/12 Andrea Peri <aperi2007 at gmail.com>

> Hi,
> using the wms service and the cache,
> is possible to disable the resampling ?
>
> Looking in the documentation I don't find any info on how to disable the
> resampling.
>
> Thx,
>
> --
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------
>
>
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapproxy/attachments/20120212/fdb8c06c/attachment.html


More information about the MapProxy mailing list