[mapserver-users] Retrieve the featureid info in a GetFeatureInfo GML response

Andrea Peri aperi2007 at gmail.com
Thu Oct 6 03:43:32 PDT 2016


HI,
I need to add to the GML 2 output of a GetFeatureInfo response the
"featureid" standard attribute.

I try to use both:

      "ows_featureid" "field1"
      "gml_featureid" "field1"

But they seem to work only for WFS response not for the WMS
GetFeatureInfo response.

Also my datasource is a spatialite so I set this output:

  OUTPUTFORMAT
    NAME "OGRGML"
    MIMETYPE "text/gml"
    DRIVER "OGR/GML"
    FORMATOPTION "STORAGE=filesystem"
    FORMATOPTION "FORM=multipart"
    FORMATOPTION "FILENAME=result.dat"
    FORMATOPTION "DSCO:FORMAT=GML2"
  END

And in the metadata section:

      "wms_feature_info_mime_type" "text/gml,text/html,text/plain"



Any hint is welcome.


-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------


More information about the mapserver-users mailing list