metadata name is in fact ows_exceptions_format instead of ows_exception
Yewondwossen Assefa wrote:
Hi There,
Maybe you could do a GetCapabilities request on the WMS server and see
what are the types of exceptions that are supported by the server. It
might support other exceptions than the application/vnd.ogc.se_inimage.
if that is the case, you can set a layer level metadata called
ows_exception to the one that is supported. Something like:
METADATA
"ows_exception" "supported_exception"
...
END
best regards,
Robert Hicks wrote:
I am making a WMS request from a simple OpenLayers client to Mapserver
which is in turn calling another WMS server. My problem is, is that
the call from MapServer to the secondary WMS server has an extra
paramater tacked on: EXCEPTIONS=application/vnd.ogc.se_inimage (I saw
this going through Wire Shark which is a packet sniffer), and when I
grab the exact call, strip out that argument, the image returns fine.
Is there a way to specify, in the map file, that I either do not want
this? Note, that the request coming from OpenLayers does not have this
argument (I found this out via Firebug).
Here is a layer out of my map file:
LAYER
# name of layer
#
NAME "Infrared1995"
GROUP "newjerseywms"
# what type of data is this?
TYPE RASTER
# always returned with interface
STATUS ON
CONNECTION "http://njwebmap.state.nj.us/njorthos"
CONNECTIONTYPE WMS
METADATA
"wms_srs" "EPSG:4326"
"wms_name" "Infrared1995"
"wms_server_version" "1.1.1"
"wms_format" "image/png"
END
END
Thanks!
--
web http://www.hyxspace.com
aim hyx1138
------------------------------------------------------------------------
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: [email protected]
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users