[mapserver-users] Cascading WMS
morissette at dmsolutions.ca
Tue Nov 5 14:59:12 EST 2002
It is possible that the remote WMS server is returning an XML error,
which is not handled very nicely by MapServer 3.6. You can try
including in your CONNECTION string a EXCEPTIONS=INIMAGE parameter so
that the error is returned in image format. Or recompile your MapServer
using --enable-debug, and then look in the Apache error_log, you will
see the URL that MapServer calls when contacting the remote WMS server,
and if you call this URL in a web browser then you'll see what error is
P.S. I hope your CONNECTION string doesn't contain spaces like in the
example quoted in your Email. If it does then theat could be the source
of your problems: make sure your CONNECTION parameter is a single string
with no space.
"Brachmann, Ellen" wrote:
> I am a mapserver newby and have some problems with the cascading service.
> The mapserver gave the following message during execution:
> msDrawRaster(): Image handling error. Unrecognized or unsupported image
> We use the MS Version:
> MapServer version 3.6.1 OUTPUT=PNG OUTPUT=WBMP SUPPORTS=PROJ SUPPORTS=TTF
> SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT INPUT=EPPL7 INPUT=SHAPEFILE
> with the libraries:
> MS runs correctly without the cascading service with the Mapfile "lgb2.map".
> The problematically part of the Mapfile is:
> "wms_title" "Basistopographie"
> "wms_srs" "EPSG:25833"
> NAME topographie
> MINSCALE 50000
> MAXSCALE 5000000
> TYPE RASTER
> STATUS ON
> CONNECTIONTYPE WMS
> "http://pc661/cgi-bin/mapserv?map=wms/lgb2.map&VERSION=1.1.0& \
> LAYERS=state,wood,towns,RiversCanals& \
> FORMAT=image/png& \
> And now my questions:
> - Which tags are necessary for the CONNECTION call ?
> - Where could the mistake been ?
> Mapping Agency of Brandenburg
> Data Center
More information about the mapserver-users