<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
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.<br>
I have set the parameter to [8000, 8000]<br>
The following request works, with a resolution of 4000x4000 pixels:<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-15">
<a
href="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">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</a><br>
<br>
By just increasing the Width and height from this request to 4500,
it still works<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-15">
<a
href="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">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</a><br>
<br>
But using 5000 pixels and above brings me an error<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-15">
<a
href="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">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</a><br>
<br>
The error is <br>
Request too large or invalid BBOX<br>
<br>
My mapproxy.yaml starts like this:<br>
services:<br>
#demo:<br>
#kml:<br>
tms:<br>
# needs no arguments<br>
wms:<br>
srs: ['EPSG:900913', 'EPSG:3857', 'EPSG:25832', 'EPSG:25833',
'EPSG:31466', 'EPSG:31467', 'EPSG:31468', 'EPSG:4326', 'EPSG:3035',
'EPSG:31463']<br>
image_formats: ['image/jpeg', 'image/png']<br>
max_output_pixels: [8000, 8000]<br>
attribution:<br>
......<br>
<br>
<br>
The mapproxy sourcecode tells me that an "TooManyTilesError" is
raised, but i dont know why.<br>
<br>
What am i doing wrong? Anyone else having this issue?<br>
<br>
Thanks,<br>
J. Weskamm<br>
<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-15">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-15">
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-15">
<style type="text/css">
#signature {
color: #333 !important;
font-family: monospace;
font-size: 12px;
padding: 10px;
line-height: 1.5em;
}
#highlight-container {
padding: 5px;
width: 450px;
margin: 30px 0;
border-width: 0px 0 0px 0;
border-right-width: 0;
border-left-width: 0;
border-style: dotted;
border-color: #333;
}
#signature a,
#signature a:link,
#signature a:visited,
#signature a:hover,
#signature a:active {
color: darkblue !important;
}
#signature address {
font-style: normal;
}
#col-container {
width: 550px;
}
#col-1 {
width: 180px; float: left;
}
#col-2 {
width: 320px; float: left;
}
#col-clear {
clear: both; padding-top: 30px;
}
#signature img {
margin-top:10px;
}
#col-container p,
#col-container address {
margin: 4px 0 0 0;
}
#signature .no-margin {
margin: 0;
}
#highlight {
font-weight: bold;
}
</style>
<div id="signature">
<div id="col-container">
<div id="col-2">
<p class="no-margin"> Dipl.-Geogr. Johannes Weskamm<br>
— Anwendungsentwickler —<br>
</p>
<address> terrestris GmbH & Co. KG<br>
Pützchens Chaussee 56<br>
53227 Bonn </address>
<p> Tel: +49 (0)228 / 96 28 99 -555<br>
Fax: +49 (0)228 / 96 28 99 -57<br>
</p>
<p> Email: <a href="mailto:weskamm@terrestris.de">weskamm@terrestris.de</a><br>
Web: <a href="http://www.terrestris.de">http://www.terrestris.de</a>
</p>
</div>
<div id="col-clear">
<p> Amtsgericht Bonn, HRA 6835<br>
Komplementärin: terrestris Verwaltungsgesellschaft mbH<br>
vertreten durch: Hinrich Paulsen, Till Adams <br>
</p>
</div>
</div>
</div>
</div>
</body>
</html>