MapServer GetFeatureInfo

Bruce Tonkin bruce.tonkin at GOV.BC.CA
Wed Oct 19 11:26:19 EDT 2005


Thanks for your help Bart.

So my observations are:

1. Layer must be queryable="1" using TEMPLATE "foo.html" to use
GetFeatureInfo with the info_format=text/plain. This provides all the
attributes for the feature queried.

2. To use the info_format=application/vnd.ogc.gml and extract GML only, you
need to set DUMP to True.

3. To expand on 2 above, if you add the METADATA tag gml_include_items
"all", the GML includes all the other attribution for the feature.

In all cases, it appears as if only one feature is returned.

Bruce Tonkin
Province of British Columbia
Canada



More information about the mapserver-users mailing list