steve.tout...@inspq.qc.ca wrote: > > Hi, > I use INFO_FORMAT=gml for a GetFeatureInfo request. It works, but I > would like to get the wms_title instead of the layers name. > > In the UI people are seeing the title not the name. Showing the name of > a layer is useless in our context. > Is it possible to retreive the wms_title if it exists?
It seems that there is a nice undocumented feature to do what you want (I found it in the code just now): Add a "wms_layername" metadata to your layer definition and this value will be used as the layer name in the GetFeatureInfo GML output. (The default is to use the layer name + "_layer" (e.g. "parks_layer" for a layer named "parks") Daniel -- Daniel Morissette http://www.mapgears.com/ _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users