[MapProxy] limiting image width and height in WMS requests?

Oliver Tonnhofer olt at omniscale.de
Thu Mar 17 03:07:54 EDT 2011


On 16.03.2011, at 15:59, Christian Willmes wrote:

> On 16.03.2011 15:31, Oliver Tonnhofer wrote:
> 
>> 
>> The size depends on your tile size, meta size and meta buffer. 1184 is 256x4+2x80, but the 2478 is odd. Is that your complete configuration?
>> 
> 
> No it isn't the complete configuration, the complete mapproxy.yaml is
> attached.


Wait, the source gets transformed from EPSG4326 to EPSG:900913. In this case MapProxy increases the request image size to get square pixels and to get at least the required resolution target (in both axis). With EPSG:4326 you have large distortions in the first levels and for regions far from the equator.

You can try to reduce the meta size to [2, 2] and then seed the first levels before changing it back.

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