[mapserver-users] Invalid format for the EXCEPTION parameter
Robert Sanson
SansonR at asurequality.com
Tue Sep 22 17:49:13 PDT 2009
Hi Assefa
Unfortunately not - it seems to be hardcoded in. Can I get Mapserver to only offer WMS version 1.1.1?
Thanks,
Robert
>>> Yewondwossen Assefa <yassefa at dmsolutions.ca> 23/09/2009 12:48 p.m. >>>
Hi There,
Valid EXCEPTIONS values for wms 1.3.0 are INIMAGE, BLANK, XML.
application/vnd.ogc.se_XML was used for previous versions. Do you have
any control on this parameter from ArcMap/ArcCatalog ?
regards
Robert Sanson wrote:
> I have a 5.4.2 version of Mapserver (MS4W) configured for WMS access.
> OpenLayers is accessing it fine, however, ArcMap / ArcCatalog v 9.3 is
> giving me an Error message:
>
> WMS service exceptions:-Service Error Code:InvalidFormat
> Service Error Description: msWMSLoadGetMapParams(): WMS server error.
> Invalid format for the EXCEPTION parameter.
> -Service Error Code:InvalidFormat
>
> Looking in the Apache access.log file I see:
>
> "GET
> /cgi-bin/mapserv.exe?map=/ms4w/apps/service/nztm.map&VERSION=1.3.0&REQUEST=GetMap&CRS=EPSG:2193&BBOX=773500,4615000,2602100,5973130.71761735
> &WIDTH=82&HEIGHT=111&LAYERS=crs_roads,crs_address,centroids,main_gates,main_homesteads,stockyards,dairysheds,synlait,apiaries,copyright
> &STYLES=,,,,,,,,,&EXCEPTIONS=application/vnd.ogc.se_XML&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE
> HTTP/1.0"
>
> In my various layer Metadata I have the following:
>
> METADATA
> "ows_title" "apiaries"
> "ows_abstract" "These are the registered apiaries from the Apiary DB"
> "wms_srs" "EPSG:2193"
> "wms_opaque" "0"
> "wms_group_title" "API"
> "wms_group_abstract" "Apiaries"
> "ows_extent" "773500 4615000 2602100 6324500"
> "wms_dataurl_format" "text/html"
> "gml_include_items" "all"
> "wms_exceptions_format" "application/vnd.ogc.se_xml"
> END
>
> Many thanks,
>
> Robert Sanson
------------------------------------------------------------------
The contents of this email are confidential to AsureQuality. If you have received this communication in error please notify the sender immediately and delete the message and any attachments. The opinions expressed in this email are not necessarily those of AsureQuality. This message has been scanned for known viruses before delivery. AsureQuality supports the Unsolicited Electronic Messages Act 2007. If you do not wish to receive similar communications in future, please notify the sender of this message.
------------------------------------------------------------------
This message has been scanned for malware by SurfControl plc. www.surfcontrol.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090923/a51567eb/attachment.htm>
More information about the MapServer-users
mailing list