[Mapserver-users] column alias and filtering columns

Daniel Morissette morissette at dmsolutions.ca
Wed Nov 5 10:35:01 EST 2003


bartvde at 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 at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------




More information about the mapserver-users mailing list