[Mapserver-users] Using WMS

Daniel Morissette morissette at dmsolutions.ca
Tue Jul 8 13:55:53 PDT 2003


Jordy Keighan wrote:
> 
> I'm running mapserv 3.6.6
> with maplab 2.0.1
> 
> when I try to apply a wms layer to my map i get this error
> anyone as a idea why ?
> 
> Warning: MapServer Error in msDrawRaster(): Unrecognized or
> unsupported image format in
> /home/httpd/html/maplab/htdocs/common/wrapper/drawmap.php on line 387
> 

The short answer is that the remote WMS server didn't return a response
in an image format that mapserver can understand.  This can happen if
your WMS layer's CONNECTION parameter is missing some required
parameters and then the remote server returns an exception in XML format
which would then confuse MapServer (I know it should try to make sense
of XML exceptions, that's on the ToDo list, in the meantime, using
exceptions INIMAGE is recommended).

Perhaps if you sent your layer definition then we could help more.  BTW,
you write that you use MapLab, what did you do exactly in MapLab to get
this error?  Perhaps there is a problem with MapLab with your specific
server?

Daniel
-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the MapServer-users mailing list