MapServer GetFeatureInfo

Bruce Tonkin bruce.tonkin at GOV.BC.CA
Wed Oct 19 08:26:19 PDT 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