[mapserver-users] Mapfile for getFeatureInfo

Milo van der Linden mlinden at zeelandnet.nl
Fri Mar 21 04:02:15 EDT 2008


The problem is with:

 DATA 'the_geom FROM manis.stations'

it has to be something like:

DATA 'the_geom from (select 
station_id,param1,param2,param3,param4,the_geom from manis.stations) as 
stats using unique station_id using SRID=4326'

You have to explicitly address the fields you want to be available in 
your DATA statement.

Kind regards,

Milo


More information about the mapserver-users mailing list