[MapProxy] Error on some zoom levels

Максим Хитрин hitrymax at gmail.com
Thu Feb 7 23:17:29 PST 2013


I've run development server and there is such error:

[2013-02-08 17:14:04,877] mapproxy.source.request - INFO - GET
http://85.143.48.160:1024/cgi-bin/mapserv.exe?map=C:/Map%20Files/test3857/test3857.map&styles=&format=image%2Fpng&height=2072&bbox=6832719.04785,7387742.86427,6837589.38965,7396267.00815&transparent=True&layers=QGIS-MAP&crs=EPSG%3A3857&service=WMS&width=1184&request=GetMap&version=1.3.0200
- 106
[2013-02-08 17:14:04,880] mapproxy.source.wms - WARNING - expected image
response, got: <?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
<ServiceExceptionReport version="1.3.0" xmlns="http://www.opengis.net/ogc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
http://www.opengis.net/ogc
http://schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd">
<ServiceException>
msWMSLoadGetMapParams(): WMS server error. Image size out of range, WIDTH
and HEIGHT must be between 1 and 2048 pixels.
msOutputFormatValidate(): General error message. OUTPUTFORMAT png has
IMAGEMODE RGB/RGBA, which is not supported for GD drivers.
</ServiceException>
</ServiceExceptionReport>

Is it a mapproxy side problem?


2013/2/7 Denis Rykov <rykovd at gmail.com>

> If you are using default MapProxy development server you can see HTTP
> requests which your client sends to WMS server in terminal.
>
>
> On Thu, Feb 7, 2013 at 3:23 PM, Denis Rykov <rykovd at gmail.com> wrote:
>
>> Hi Maxim!
>>
>> Could you share output of the following command:
>>
>>     tail /var/log/apache2/error.log
>>
>> It could give any clues about your issue.
>>
>> On Thu, Feb 7, 2013 at 2:33 PM, Максим Хитрин <hitrymax at gmail.com> wrote:
>>
>>>  Dear Sir or Madam,
>>>
>>> I've got a problem when I'm trying to zoom in MapProxy.
>>> It works well for about 2 or 3 zoom levels but then I got an error
>>> "Could not get any sources: no image returned from source WMS"
>>> I'm trying to get data from a MapServer that is localed on another
>>> machine. There is no limit for max/min scale in its capabilities.
>>>
>>> Here is my configuration:
>>> sources:
>>>   test3857:
>>>     type: wms
>>>     wms_opts:
>>>       version: 1.3.0
>>>     req:
>>>       url:
>>> http://85.143.48.160:1024/cgi-bin/mapserv.exe?map=C:/Map%20Files/test3857/test3857.map
>>>       layers: QGIS-MAP
>>>       transparent: true
>>>     supported_srs: ['EPSG:3857']
>>>     coverage:
>>>       bbox: [6807775, 7373595, 6875170, 7422370]
>>>       bbox_srs: 'EPSG:3857'
>>>
>>> grids:
>>>   test3857_grid:
>>>     base: GLOBAL_GEODETIC
>>>     bbox: [6807775, 7373595, 6875170, 7422370]
>>>     bbox_srs: 'EPSG:3857'
>>>
>>> caches:
>>>   test3857_cache:
>>>     sources: [test3857]
>>>     grids: [test3857_grid]
>>>
>>> layers:
>>>   - name: test3857
>>>     title: test3857
>>>     sources: [test3857_cache]
>>>
>>> Why am I getting this error?
>>> Thank you for your prompt help.
>>> --
>>>
>>> Yours faithfully,
>>>
>>> Maxim Khitrin
>>>
>>> _______________________________________________
>>> 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/20130208/ed324de1/attachment.html>


More information about the MapProxy mailing list