[OpenLayers-Users] Problem with WMSGetFeatureInfo erroring out

Daniel Morissette dmorissette at mapgears.com
Fri Nov 20 17:10:49 EST 2009


Stephen Woodbridge wrote:
> 
> And I get the following:
> 
> <?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
> <!DOCTYPE ServiceExceptionReport SYSTEM 
> "http://schemas.opengis.net/wms/1.1.0/exception_1_1_0.dtd">
> <ServiceExceptionReport version="1.1.0">
> <ServiceException>
> msWMSFeatureInfo(): WMS server error. Unsupported INFO_FORMAT value 
> (text/html).
> </ServiceException>
> </ServiceExceptionReport>
> 

With MapServer, to enable text/html as an WMS info format, you have to 
use the "wms_feature_info_mime_type" metadata.

Look for wms_feature_info_mime_type in 
http://mapserver.org/ogc/wms_server.html

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/



More information about the Users mailing list