[Mapserver-users] Using WMS

Jordy Keighan jkeighan at cubewerx.com
Wed Jul 9 08:10:28 PDT 2003


--------------070000080904020408090907
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Yes, i'm getting this error by way of maplab
inside mapbrowser, i select a datastore, connect to
it and add a layer.

Is this error caused by maplab.

Daniel Morissette wrote:

>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
>  
>


--------------070000080904020408090907
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title></title>
</head>
<body>
Yes, i'm getting this error by way of maplab<br>
inside mapbrowser, i select a datastore, connect to<br>
it and add a layer.<br>
<br>
Is this error caused by maplab.<br>
<br>
Daniel Morissette wrote:<br>
<blockquote type="cite" cite="mid3F0B2FD9.50946C0E at dmsolutions.ca">
  <pre wrap="">Jordy Keighan wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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

    </pre>
  </blockquote>
  <pre wrap=""><!---->
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
  </pre>
</blockquote>
<br>
</body>
</html>

--------------070000080904020408090907--




More information about the MapServer-users mailing list