[mapserver-users] Re: WMS GetFeatureInfo - is it possible to support multiple INFO_FORMATs?

myOpenLayersUName joanne.mcgraw at SYMPATICO.CA
Tue May 10 13:05:26 PDT 2011


To clarify, I want to be able to make two completely separate GetFeatureInfo
requests to a WMS Server; one that will return HTML and the other will
return XML. 

As far as I'm understand from the MapServer documentation, I need to set
"wms_feature_info_mime_type" parameter to one of three values:

- text/xml
- text/html
- application/vnd.ogc.gml

How can I set it to two of those values?

Or, am I supposed to be able to do something like the following in a LAYER's
WEB object?

"wms_feature_info_mime_type" "text/html"
"wms_feature_info_mime_type" "text/xml"

And, if I can do that, how can I point to two different TEMPLATES? An HTML
one and an XSL for the XML? Or, again, am I supposed to be able to have two
TEMPLATE keywords in a single LAYER?

Or, am I completely missing some very important item in all these
discussions?


BTW, Rahkonen Jukka, I particularly appreciated your description of these
items at: 
http://osgeo-org.1803224.n2.nabble.com/GetFeatureInfo-request-doubts-td5083816.html
http://osgeo-org.1803224.n2.nabble.com/GetFeatureInfo-request-doubts-td5083816.html
.


--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/WMS-GetFeatureInfo-is-it-possible-to-support-multiple-INFO-FORMATs-tp6349109p6349329.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the MapServer-users mailing list