[mapserver-users] Retrieve the featureid info in a GetFeatureInfo GML response
Andrea Peri
aperi2007 at gmail.com
Thu Oct 6 05:42:57 PDT 2016
I resolved defining an alias named "featureid".
"gml_msFID_alias" "featureid"
"ows_msFID_alias" "featureid"
Regards,
A.
2016-10-06 12:43 GMT+02:00 Andrea Peri <aperi2007 at gmail.com>:
> 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 àèìòù
> -----------------
--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
More information about the MapServer-users
mailing list