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
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to