Re: [OpenLayers-Users] Problem with WMSGetFeatureInfo erroring out

2009-11-20 Thread Daniel Morissette
Stephen Woodbridge wrote: > > If I want GML back, do I need to set HEADER, TEMPLATE, FOOTER? Nope. GML is supported out of the box. However you may need to worry about the gml_include/exclude_items metadata to control whicih attributes are output. I think you may need DUMP TRUE in your GML-ena

Re: [OpenLayers-Users] Problem with WMSGetFeatureInfo erroring out

2009-11-20 Thread Stephen Woodbridge
Daniel Morissette wrote: > Stephen Woodbridge wrote: >> OK, part of the problem is solved I added to the matadata: >> >> 'wms_feature_info_mime_type' "text/html" >> >> which fix the error, but now I get back what looks like image map of the >> features which is not what I was expecting. >> > > Ar

Re: [OpenLayers-Users] Problem with WMSGetFeatureInfo erroring out

2009-11-20 Thread Daniel Morissette
Stephen Woodbridge wrote: > OK, part of the problem is solved I added to the matadata: > > 'wms_feature_info_mime_type' "text/html" > > which fix the error, but now I get back what looks like image map of the > features which is not what I was expecting. > Are you using an old 5.6 beta? This i

Re: [OpenLayers-Users] Problem with WMSGetFeatureInfo erroring out

2009-11-20 Thread Stephen Woodbridge
OK, part of the problem is solved I added to the matadata: 'wms_feature_info_mime_type' "text/html" which fix the error, but now I get back what looks like image map of the features which is not what I was expecting. I currently have TEMPLATE "dummy" in my layers, do I need to create a real te

Re: [OpenLayers-Users] Problem with WMSGetFeatureInfo erroring out

2009-11-20 Thread Daniel Morissette
Stephen Woodbridge wrote: > > And I get the following: > > > "http://schemas.opengis.net/wms/1.1.0/exception_1_1_0.dtd";> > > > msWMSFeatureInfo(): WMS server error. Unsupported INFO_FORMAT value > (text/html). > > > With MapServer, to enable text/html as an WMS info format, you have to

[OpenLayers-Users] Problem with WMSGetFeatureInfo erroring out

2009-11-20 Thread Stephen Woodbridge
Hi all, I'm trying to WMSGetFeatureInfo but have the following problem when using it with mapserver: http://example.com/cgi-bin/mapserv?map=/maps/test-900913-wms.map&&service=WMS&version=1.1.0&request=GetFeatureInfo&layers=OneMileETJ%2CLakes%2CParcels%2CRailroad%2CFMRoads%2CServiceRoads%2CStree