Opened 18 years ago

Closed 18 years ago

#1502 closed defect (fixed)

wms_attribution element for LAYER's

Reported by: assefa Owned by: jmckenna@…
Priority: high Milestone: 4.8 release
Component: Documentation - MapServer Version: 4.8
Severity: normal Keywords:
Cc: jmckenna@…

Description

This would be a good idea.  The attribution stuff applies currently only
to the root Layer element in Capabilities XML.  Doing it at the layer
level shouldn't be too hard (i.e. calling msWMSPrintAttribution in
mapwms.c).  Infact, I just tried this:

1./

Insert in mapwms.c, line 1361:

msWMSPrintAttribution(stdout, "    ", &(lp->metadata), "MO");

2./

Add the wms_attribution_* metadata at the LAYER/METADATA level.

..and it works as expected.

Jeroen: perhaps you can file an enhancement to bugzilla?  Or is this
minor enough for one of the developers to commit?  Note that we would
also 

..Tom

Change History (7)

comment:1 by assefa, 18 years ago

Resolution: fixed
Status: newclosed
Added support as described in bug. Available in latest cvs.

comment:2 by tomkralidis, 18 years ago

Tried.  Tested.  Works.  We should make sure this is documented in the
WMS-Server howto.

comment:3 by assefa, 18 years ago

Cc: jmckenna@… added
Milestone: 4.8 release
Resolution: fixed
Status: closedreopened
Reopen and assign for documetation.

comment:4 by assefa, 18 years ago

Cc: mapserver-bugs@… added
Owner: changed from mapserverbugs to jmckenna@…
Status: reopenednew
Reassign to jeff.

comment:5 by jmckenna@…, 18 years ago

Component: WMS ServerMapServer Documentation
moving to documentation component.

comment:6 by jmckenna@…, 18 years ago

Status: newassigned
looking at this now

comment:7 by jmckenna@…, 18 years ago

Resolution: fixed
Status: assignedclosed
tested and added wms_attribution_* metadata to LAYER level of doc:
http://mapserver.gis.umn.edu/docs/howto/wms_server/
Note: See TracTickets for help on using tickets.