[MapProxy] Issues with max_output_pixels

Johannes Weskamm weskamm at terrestris.de
Tue Oct 23 01:17:30 PDT 2012


Hi,

Im trying to get the parameter "max_output_pixels" to work. I have 
already tried this in version 1.3 and 1.4, but it seems that it does not 
work as it should.
I have set the parameter to [8000, 8000]
The following request works, with a resolution of 4000x4000 pixels:

http://ows.terrestris.de/osm-basemap/service?LAYERS=OSM-WMS-Deutschland&TRANSPARENT=false&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A900913&BBOX=1446395.6451562,6925401.831875,1602938.6790625,7081944.8657813&WIDTH=4000&HEIGHT=4000

By just increasing the Width and height from this request to 4500, it 
still works
http://ows.terrestris.de/osm-basemap/service?LAYERS=OSM-WMS-Deutschland&TRANSPARENT=false&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A900913&BBOX=1446395.6451562,6925401.831875,1602938.6790625,7081944.8657813&WIDTH=4500&HEIGHT=4500

But using 5000 pixels and above brings me an error
http://ows.terrestris.de/osm-basemap/service?LAYERS=OSM-WMS-Deutschland&TRANSPARENT=false&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A900913&BBOX=1446395.6451562,6925401.831875,1602938.6790625,7081944.8657813&WIDTH=5000&HEIGHT=5000

The error is
Request too large or invalid BBOX

My mapproxy.yaml starts like this:
services:
   #demo:
   #kml:
   tms:
     # needs no arguments
   wms:
     srs: ['EPSG:900913', 'EPSG:3857', 'EPSG:25832', 'EPSG:25833', 
'EPSG:31466', 'EPSG:31467', 'EPSG:31468', 'EPSG:4326', 'EPSG:3035', 
'EPSG:31463']
     image_formats: ['image/jpeg', 'image/png']
     max_output_pixels: [8000, 8000]
     attribution:
......


The mapproxy sourcecode tells me that an "TooManyTilesError" is raised, 
but i dont know why.

What am i doing wrong? Anyone else having this issue?

Thanks,
J. Weskamm


-- 

Dipl.-Geogr. Johannes Weskamm
--- Anwendungsentwickler ---

terrestris GmbH & Co. KG
Pützchens Chaussee 56
53227 Bonn

Tel:   +49 (0)228 / 96 28 99 -555
Fax:   +49 (0)228 / 96 28 99 -57

Email: weskamm at terrestris.de <mailto:weskamm at terrestris.de>
Web: http://www.terrestris.de

Amtsgericht Bonn, HRA 6835
Komplementärin: terrestris Verwaltungsgesellschaft mbH
vertreten durch: Hinrich Paulsen, Till Adams

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20121023/891cc7af/attachment.html>


More information about the MapProxy mailing list