Opened 20 years ago

Last modified 15 years ago

#861 new defect

[WMS-WFS-WCS] Unify use of *_name metadata

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

Description (last modified by dmorissette)

We need to unify the use of the xxx_name metadata by the WMS, WFS and WCS server
and client interfaces.  At the moment we have the following situations:

WMS Server:
  - Uses layer->name to set layer <Name> in Capabilities
WMS Client:
  - Uses wms_name for the LAYERS=... parameter in GetMap request

WFS Server:
  - Uses layer->name to set layer <Name> in Capabilities
WFS Client:
  - Uses wfs_typename for the TYPENAME=...parameter in GetMap requests

WCS Server:
  - Tries in the following order: wcs_name, ows_name, wms_name, or layer->name
    for the <Name> in Capabilities


-----

I propose that we unify by doing the following changes:

WCS Server stays as is.

WMS server Capabilities (layer <Name> element):
  - Lookup wms_name, ows_name, and layer->name in this order
    ... no big deal, this is just adding a lookup of Metadata
    in priority over layer->name, so that won't break anything

WMS client:
  - no change

WFS server Capabilities (layer <Name> element):
  - Lookup wfs_name, ows_name, and layer->name in this order
    ... once again this won't break any existinng mapfile

WFS Client:
  That's where things break:
  - For the TYPENAME=... parameter, lookup "wfs_name" instead of "wfs_typename"
  ...perhaps we could just deprecate "wfs_typename" and continue to support
     it for a few releases, but "wfs_name" is really what we should use and
     should be officially documented.

Change History (5)

comment:1 by dmorissette, 20 years ago

Milestone: 4.4 release

comment:2 by dmorissette, 19 years ago

Milestone: 4.4 release4.6 release
Not in 4.4, hopefully in 4.6

comment:3 by dmorissette, 17 years ago

Description: modified (diff)
Milestone: 5.0 release5.2 release
Owner: changed from mapserverbugs to dmorissette

comment:4 by dmorissette, 16 years ago

Milestone: 5.2 release5.4 release

comment:5 by dmorissette, 15 years ago

Milestone: 5.4 release6.0 release
Note: See TracTickets for help on using tickets.