MapTools.org

[Chameleon-dev] [Bug 265] [CWC2] ManageServers fails for ArcIMS servers

bugzilla-daemon@www.maptools.org bugzilla-daemon@www.maptools.org
Fri, 5 Mar 2004 11:08:36 -0500
http://www.maptools.org/bugzilla/show_bug.cgi?id=265

spencer@dmsolutions.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gadoury@dmsolutions.ca



------- Additional Comments From spencer@dmsolutions.ca  2004-03-05 11:08 -------
fixed a bug in server_data_manager.php (phpwms) ... the request for capabilities
was all mixed up in version numbers (wmtver instead of version,
request=capabilities instead of getcapabilities).  This has fixed the issue with
#1 listed below (with adding the server).  This has raised another issue, which
is that the layers added from this server don't seem to be drawn by mapserver. 
This is very interesting, watching the debug output of mapserver indicates that
the layers added from this server are never even requested ... perhaps there is
something else going on ... I will need some help with this ...


For issue #2, the problem is with the remote server.  In its capabilities
document, it lists the following formats:

   <GetMap>
<Format>image/jpeg</Format>
<Format>image/gif</Format>
<Format>image/png</Format>
-
    <DCPType>
-
    <HTTP>
-
    <Get>
<OnlineResource xlink:type="simple"
xlink:href="http://coastalmap.marine.usgs.gov:80/servlet/com.
esri.wms.Esrimap?"/>
</Get>
</HTTP>
</DCPType>
</GetMap>

MapServer chooses a format from this list by scanning its own input drivers in
order.  GIF comes before the other drivers so it will request a GIF image in
this case.  This results in the following URL being sent to the remote server:

http://coastalmap.marine.usgs.gov/servlet/com.esri.wms.Esrimap?SERVICE=WMS&VERSION=1.1.0&LAYERS=Canada&FORMAT=image%2Fgif&TRANSPARENT=TRUE&STYLES=&REQUEST=GetMap&WIDTH=400&HEIGHT=300&SRS=EPSG:4326&BBOX=-72.050000,39.860000,-62.920000,46.720000&EXCEPTIONS=application/vnd.ogc.se_inimage

unfortunately, this returns the following error:

<ServiceExceptionReport version="1.1.0">
<ServiceException>
Exception in sending image.
</ServiceException>
</ServiceExceptionReport>

Replacing the image type with png or jpeg results in the correct image being
returned.

I have modified chameleon to prefer png over gif but the real problem is with
their server.






------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


This archive was generated by Pipermail.