Opened 3 years ago

Closed 3 years ago

#2390 closed enhancement (fixed)

Petascope - remove rasdaman:covMetadata element in coverage's metadata when metadata has namespace already

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 10.0
Component: petascope Version: 9.8
Keywords: Cc:
Complexity: Medium

Description (last modified by Bang Pham Huu)

If coverage's metadata doesn't have the namespace (the case from wcst_import), then it needs to add <rasdaman:covMetadata> element to be valid with CIS 1.0 schema validation (see problem http://rasdaman.org/ticket/1868#comment:1).

        <gmlcov:metadata>
            <gmlcov:Extension>
                <rasdaman:covMetadata>
                    <Title>Drought code</Title>
                </rasdaman:covMetadata>
            </gmlcov:Extension>
        </gmlcov:metadata>

If the metadata has the namespace already, then, petascope doesn't need to add <rasdaman:covMetadata> element anymore, e.g: INSPIRE metadata

 <gmlcov:metadata>
        <gmlcov:Extension>
                <lcrmd:LandCoverGridCoverageMD>
                ...
                </lcrmd:LandCoverGridCoverageMD>
        </gmlcov:Extension>
 </gmlcov:metadata>

Change History (2)

comment:1 by Bang Pham Huu, 3 years ago

Description: modified (diff)

comment:2 by Bang Pham Huu, 3 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.