Opened 20 years ago

Closed 20 years ago

#989 closed defect (fixed)

add metadataLink to DescribeCoverage response

Reported by: tomkralidis Owned by: sdlime
Priority: high Milestone:
Component: WCS Server Version: unspecified
Severity: normal Keywords:
Cc:

Description

Add:

1./

at the layer level, metadataLink as first element in
/CoverageDescription/CoverageOffering/ (before description).  This was done
already for bug 943, so same approach.  Example:

<metadataLink metadataType="other" xlink:type="simple"
xlink:href="[wcs_metadatalink_href]"/>

Code add:

add following to mapwcs.c, line 596:

  msOWSPrintEncodeMetadata(stdout, &(layer->metadata), "COM",
"metadatalink_href", OWS_NOERR, "  <me
tadataLink metadataType=\"other\" xlink:type=\"simple\" xlink:href=\"%s\"/>\n",
NULL);

Change History (4)

comment:1 by sdlime, 20 years ago

Resolution: fixed
Status: newclosed
Fixed. Are you getting sick of finding my "TODO's" in the source yet?

Steve

comment:2 by tomkralidis, 20 years ago

Resolution: fixed
Status: closedreopened
The XML comes out screwed up:

<metadataLinkother xlink:type="simple"/>

comment:3 by sdlime, 20 years ago

I figured it might, it's that change that Julien made with the OWS url 
printing function. I made note of the likely error, in addition to the ones 
you noted, in that bug and will let him fix it. The function is way too 
complicated to call...

Steve

comment:4 by tomkralidis, 20 years ago

Resolution: fixed
Status: reopenedclosed
Fixed in mapwcs.c CVS.  Thanks guys!
Note: See TracTickets for help on using tickets.