[Mapserver-users] column alias and filtering columns

Daniel Morissette morissette@dmsolutions.ca
Wed, 05 Nov 2003 10:35:01 -0500


bartvde@xs4all.nl wrote:
> Hi list,
> 
> is it possible to influence the GetFeatureInfo response (in GML) in such a
> way that you can:
> 
> a) provide an alias (title) for a column name which is used for display
> b) filter out some of the columns based e.g. on null values
> 
> Thanks in advance for the info.
> 

Have you considered using MapServer query templates in your WMS server 
and then call GetFeatureInfo with INFO_FORMAT=text/html?

Using the templates you can control the way the information is displayed 
(i.e. alias for column names) and you can select the columns to display. 
  I'm not sure what you meant by filtering based on null values so the 
templates may or may not do what you want for that.

-- 
------------------------------------------------------------
  Daniel Morissette               morissette@dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users