OK, I see that we can set the exceptions format as metadata using 'wms_exceptions_format'. That should solve the issue.
From: [email protected] [mailto:[email protected]] On Behalf Of Murty Maganti Sent: Tuesday, March 24, 2009 5:26 PM To: [email protected] Subject: [mapserver-users] WMS question Hello I have an issue using a WMS layer from http://njwebmap.state.nj.us/njorthos in map file. mapObj.draw() throws an exception. This is the URL constructed by map server http://njwebmap.state.nj.us/njorthos?LAYERS=Infrared2007,Natural2007&REQ UEST=GetMap&SERVICE=WMS&FORMAT=image/jpeg&STYLES=,&HEIGHT=415&VERSION=1. 1.1&SRS=EPSG:4326&WIDTH=578&BBOX=-76.4510022342995,38.91088,-73.01986476 57005,41.372736&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_inima ge If I run this URL in a browser, it still gives error. But if I remove EXCEPTIONS=application/vnd.ogc.se_inimage, then it works fine. Is there a way to suppress the exceptions tag appended by map server Thanks Murty
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
