exception in WMS GetMap

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


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