Ticket #3251 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

WMS capabilities options: AuthorityURL, Identifier

Reported by: pramsey Owned by: pramsey
Priority: normal Milestone: 6.0 release
Component: WMS Server Version: svn-trunk (development)
Severity: normal Keywords: wms, capabilities
Cc: tomkralidis, jmckenna

Description

The WMS 1.1.0 specification and higher allow an "AuthorityURL" and associated "Identifier" to be defined for <Layers>. For example:

<AuthorityURL name="gcmd">
  <OnlineResource xlink:href="some_url" ... />
</AuthorityURL> 
<Identifier authority="gcmd">id_value</Identifier>

The AuthorityURL is inherited by child <Layers> and the Identifier is not. The following ows_ keywords could be used in the MapServer implementation of these keywords:

wms_authorityurl_name
wms_authorityurl_href
wms_identifier_authority
wms_identifier_value

The keywords would only be operative for WMS 1.1.0+.

Attachments

wms_authority_1.patch Download (2.7 KB) - added by pramsey 2 years ago.
Patch for feature.

Change History

Changed 2 years ago by tomkralidis

  • cc tomkralidis added

Paul: this seems like a good enhancement to me. Let me know if you need help testing. We should also updated msautotest/wxs appropriately.

Changed 2 years ago by pramsey

Patch for feature.

Changed 2 years ago by jmckenna

  • cc jmckenna added

Changed 2 years ago by pramsey

Any comments on the patch before I apply?

Changed 2 years ago by pramsey

Applied to trunk at r9768.

Changed 2 years ago by pramsey

  • status changed from new to closed
  • resolution set to fixed

Documented at r9770.

Changed 2 years ago by tomkralidis

Typo fix and msautotest support added in r9773.

Changed 2 years ago by tomkralidis

Turns out the output is invalid XML. r9774 fixes this (tested with XMLSpy 2010).

Note: See TracTickets for help on using tickets.