Opened 18 years ago

Closed 18 years ago

#1782 closed defect (fixed)

[WFS] Produce warning in WFS GetCapabilities if fid not provided

Reported by: dmorissette Owned by: dmorissette
Priority: high Milestone:
Component: WFS Server Version: 4.8
Severity: normal Keywords:
Cc:

Description

The WFS spec requires that a service provide a fid attribute on the features
returned by GetFeature (gml:id in GML3). The attribute to use as the fid can be
specified in MapServer using the wfs/gml_featureid metadata.

Some WFS clients refuse to interact with MapServer's WFS if the fid is not
provided. To facilitate the life of people deploying WFS services, I would like
to add a warning in the WFS GetCapabilities response if the wfs/gml_featureid
metadata is not specified.

I will add that warning in 4.9 if I hear no objections.

Change History (2)

comment:1 by sdlime, 18 years ago

Sounds ok to me.

Steve

comment:2 by dmorissette, 18 years ago

Resolution: fixed
Status: newclosed
Done in 4.9/4.10.

Added the following warning in GetCapabilities if ???_featureid metadata is not set:

<!-- WARNING: Feature Id attribute (fid) not specified for this feature type.
Make sure you set one of wfs_featureid, ows_feature_id or gml_featureid
metadata.  -->
Note: See TracTickets for help on using tickets.