[mapserver-users] Can I set default format for WMS GetFeatureInfo?

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Mon Nov 16 08:18:21 EST 2009


Hi Bart,

I have it set but unfortunately it does not make
"application/vnd.ogc.gml" as default, at least not with this 5.2.1. 

-Jukka-

bartvde wrote:
> 
> Hi Jukka,
> 
> it should be possible using:
> 
> wms_feature_info_mime_type
> 
> Best regards,
> Bart
> 
> > Hi,
> >
> > There are stupid WMS clients which can send GetFeatureInfo requests 
> > but which do not allow giving INFO_FORMAT parameter.  Is 
> there a way 
> > to configure MapServer to use for example 
> "application/vnd.ogc.gml" as 
> > a default info format instead of text/plain if INFO_FORMAT 
> parameter 
> > is missing from the request?
> >
> > By the way, I noticed that just adding &INFO_FORMAT without an "=" 
> > sign or info format value is changing the output from text to gml.
> >
> > I am running Mapserver 5.2.1.
> >
> > -Jukka Rahkonen-
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
> 
> 
> 


More information about the mapserver-users mailing list