Opened 15 years ago

Last modified 13 years ago

#3172 closed enhancement

Expose templated format list to WFS GetFeature and WMS GetFeatureInfo — at Version 1

Reported by: dmorissette Owned by: dmorissette
Priority: normal Milestone: 6.0 release
Component: Documentation - MapServer Version: unspecified
Severity: normal Keywords:
Cc: aboudreault, assefa, sdlime, dmorissette, tomkralidis, warmerdam

Description (last modified by dmorissette)

The templated output formats (added in RFC 36, ticket #2576) should be exposed to WFS GetFeature and WMS GetFeatureInfo through the use of metadata entries similar to what was done for WMS GetMap (wms_getmap_formatlist) in ticket #455. i.e.

  • Add a "wfs_getfeature_formatlist" which is a comma-delimited list of outputformat names or mime-types to offer for WFS GetFeature
  • Add a "wms_getfeatureinfo_formatlist" which is a comma-delimited list of outputformat names or mime-types to offer for WMS GetFeatureInfo
  • The current "wms_feature_info_mime_type" metadata should be marked as deprecated and the use of "wms_getfeatureinfo_formatlist" encouraged instead

While we're at it, the lookup and parsing of this metadata should be moved to a reusable utility function instead of duplicating the code that is currently found in two places in mapwms.c.

Finally, relevant documentation needs to be updated.

Change History (1)

comment:1 by dmorissette, 15 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.