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

Jeff McKenna jmckenna at gatewaygeomatics.com
Tue May 10 12:34:31 PDT 2011


On 11-05-10 4:11 PM, myOpenLayersUName wrote:
> Hello all,
>
> I've been trying to figure out how to do this for a while this afternoon and
> thought perhaps I'd better step back and find out if it's even possible
> before I keep struggling with it.
>
> Is it possible to support multiple INFO_FORMAT properties to a WMS
> GetFeatureInfo request? That is, is there a way to configure a MAP file that
> is acting as a WMS Server to return HTML or XML based on what is asked for
> in the request itself?

Not that I know of.  In fact you should probably check the WMS spec on 
the OGC site to see if that is allowed by the standard (my guess is no). 
  I do know that the MapServer support for GetFeatureInfo requests is 
documented in the "Configuring for GetFeatureInfo Requests" section of 
http://www.mapserver.org/ogc/wms_server.html

Of course, I've been wrong many times before, so someone can correct me 
if I am wrong here :)

-jeff


-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/






More information about the MapServer-users mailing list