[Mapserver-users] column alias and filtering columns

Daniel Morissette morissette at dmsolutions.ca
Wed Nov 5 07:40:35 PST 2003


Oh... I just realized that you wanted to use GML and not text/html... sorry.

Then the answer is no: there is no current way to control the columns 
that are output, but there is bug 300 that talks about controlling the 
columns to output:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=300

But still nothing about aliasing the column names.

Daniel


Daniel Morissette wrote:
> 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.
> 





More information about the MapServer-users mailing list