Ticket #3172 (closed enhancement: fixed)
Expose templated format list to WFS GetFeature and WMS GetFeatureInfo
| Reported by: | dmorissette | Owned by: | assefa |
|---|---|---|---|
| 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) (diff)
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
Note: See
TracTickets for help on using
tickets.
