WMS GetCapabilities Attribution element
Tom.Kralidis at EC.GC.CA
Tue Feb 1 08:41:10 EST 2005
The WMS spec (1.1.0 AND 1.1.1, basically anything 1.0.7 and greater)
allows for, within the Layer element, the following element to be
<Title>State College University</Title>
<LogoURL width="100" height="100">
(for more information, see
http://www.opengeospatial.org/docs/01-068r3.pdf, section 184.108.40.206.11)
Currently, MapServer supports the all of the above mappings at the
<LogoURL width="[wms_logourl_width]" height="[wms_logourl_height]">
<OnlineResource xlink:type="simple" xlink:href="[wms_logourl_href]"/>
(note: wms_logourl_* is part of the WMC spec, but we could use it since
it's already defined).
Since the metadata is already defined, we could put this in mapwms.c for
1.0.7+ requests, inserting the Attribution element as per above in the
root layer element of the Capabilities XML response. The element would
go between the Extent and MetadataURL elements (there's other in
between, but Extent and MetadataURL are what MapServer support).
Why? More metadata in WMS Capabilities. And a LogoURL image is really
nice in the context of portals and services discovery.
Comments? -- I can put this in Bugzilla if there is interest and intent
on adding this.
More information about the mapserver-dev