[Mapserver-dev] WMS formats for GetFeatureInfo
Daniel Morissette
dmorissette at dmsolutions.ca
Mon Jul 19 14:46:12 EDT 2004
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"
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