some background:
- im using openlayers WMSGetFeatureInfo control to get feature info from a WMS layer.
- the data is in postgis (its a table of points).
- im using mapserver, and you need to define a template file for getfeatureinfo request.
if i put in the template file:
any string
it works. when clicking a feature i get back this string (for any feature of course).
if i put in the template file:
[date]
it returns the current date, (not a column in the table)
if i put in the template file:
[id]
it returns a number that is not the id column of the feature, though it is different for each feature.
how can i request all columns for that feature, as if i would do a "select *" quary ?
thanks allot!