exception in WMS GetMap [2]

Bart van den Eijnden bartvde at XS4ALL.NL
Wed Mar 30 12:30:01 EST 2005


Forget, the hosts file stuff Nuno.

Just use localhost in your CONNECTION instead of the remote server, and
then check the Apache access log for the WMS GetMap request created by
Mapserver WMS client. Should be much easier :)

Best regards,
Bart

On Wed, 30 Mar 2005 19:20:26 +0200, Bart van den Eijnden
<bartvde at xs4all.nl> wrote:

> Hi Nuno,
>
> to get the request you need a Mapserver compiled with DEBUG info
> (MSDEBUG when you do mapserv -v), and DEBUG ON on your LAYER definition.
>
> You can also perform the following trick on Windows: put the remote
> server in your Windows hosts file:
>
> \WINNT\system32\drivers\etc\hosts
>
> with a reference to localhost, eg:
>
> localhost iceds.ge.ucl.ac.uk
>
> That way you can check the Apache access log on your server to see what
> the Mapserver WMS request looked like.
>
> Hope this helps.
>
> Best regards,
> Bart
>
> On Wed, 30 Mar 2005 18:07:09 +0100, Nuno Gil <nunoragil at GMAIL.COM> wrote:
>
>> Hi listers,
>> I am trying to cascade a layer through Mapserver. When sending a GetMap
>> request:
>> http://iceds.ge.ucl.ac.uk/cgi-bin/wms?map=wmsjisc.map&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:27700&BBOX=427445.7381027595,262172.15873517306,436304.2618972405,268077.84126482694&WIDTH=600&HEIGHT=400&LAYERS=Raster50K&STYLES=&FORMAT=image/gif&BGCOLOR=0xffffff&TRANSPARENT=FALSE&EXCEPTIONS=application/vnd.ogc.se_xml&
>> I get this exception error:
>>
>> <?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
>> <!DOCTYPE ServiceExceptionReport SYSTEM
>> "http://schemas.opengeospatial.net/wms/1.1.1/exception_1_1_1.dtd">
>> <ServiceExceptionReport version="1.1.1">
>> <ServiceException>
>> msDrawMap(): WMS connection error. Failed to draw WMS layer named
>> &apos;Raster50K&apos;. This most likely happened because the remote
>> WMS server returned an invalid image, and XML exception or another
>> unexpected result in response to the GetMap request. Also check and
>> make sure that the layer&apos;s connection URL is valid.
>> msDrawRaster(): Image handling error. Unrecognized or unsupported image
>> format
>> drawEPP(): Image handling error. 1112197850196690.img.tmp is not an
>> EPPL file.
>> </ServiceException>
>> </ServiceExceptionReport>
>>
>> Can somebody help me understanding it? Is there anyway of checking the
>> request that Mapserver is sending to the cascaded server?
>>
>> Regards,
>> Nuno
>>
>
>
>



--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/



More information about the mapserver-users mailing list