[Mapserver-dev] WMS formats for GetFeatureInfo

Kralidis,Tom [Burlington] Tom.Kralidis at ec.gc.ca
Mon Jul 19 14:56:39 EDT 2004


> -----Original Message-----
> From: Daniel Morissette [mailto:dmorissette at dmsolutions.ca] 
> Sent: Monday, July 19, 2004 14:46
> To: Kralidis,Tom [Burlington]
> Cc: mapserver-dev at lists.gis.umn.edu
> Subject: Re: [Mapserver-dev] WMS formats for GetFeatureInfo
> 
> 
> Kralidis,Tom [Burlington] wrote:
> > Hi,
> > 
> > In CVS, WMS Server, when I run GetCapabilities, text/html does not 
> > return as a valid format option (only text/plain text/html and 
> > application/vnd.ogc.gml).
> > 
> > This is available in 4.2.0.  Has this been taken out?  If 
> yes, why?  I 
> > have numerous WMS/WFS instances where we have HTML 
> templates defined 
> > for OGC:WMS GetFeatureInfo text/html requests.
> > 
> 
> It used to be that "text/html" was listed by default unless you set 
> mapfile metadata "WMS_FEATURE_INFO_MIME_TYPE" to "none". This caused 
> problems when users added dummy TMEPLATE values in their mapfiles to 
> make their layers queryable.
> 
> To resolve that, in 4.3 text/html is not advertized unless you 
> explicitly specify it with the following mapfile metadata:
> 
> "WMS_FEATURE_INFO_MIME_TYPE"  "text/html"
>

Ah, ok.  Thanks for the info.

 
> See also http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=736
> 
> Daniel
> -- 
> ------------------------------------------------------------
>   Daniel Morissette               dmorissette at dmsolutions.ca
>   DM Solutions Group              http://www.dmsolutions.ca/
> ------------------------------------------------------------
> 
> 




More information about the mapserver-dev mailing list