Thanks to visit codestin.com
Credit goes to github.com

Skip to content

declarations for units in spatialReference and spatialRaster are inconsistent #217

@mbjones

Description

@mbjones

Author Name: Margaret O'Brien (Margaret O'Brien)
Original Redmine Issue: 3523, https://projects.ecoinformatics.org/ecoinfo/issues/3523
Original Date: 2008-10-09
Original Assignee: Matt Jones


In spatialReference.xsd and spatialRaster.xsd the use of units is inconsistent. eml-spatialReference.xsd defines 2 types which are lists of units, very similar to what is going on in the attribute and coverage schemas (see bug #1019 comment #4).

and

each of which is an enumeration that includes a group units which are also in standardUnits, but as implied by the names, their lists are units of type length and angle, respectively. The types are used inconsistently:
eml-spatialReference.xsd:2215: <xs:element name="altitudeDistanceUnits" type="xs:string">
eml-spatialReference.xsd:2273: <xs:element name="depthDistanceUnits" type="xs:string">
eml-spatialReference.xsd:2386: <xs:element name="unit">
eml-spatialReference.xsd:2396: <xs:attribute name="name" type="angleUnits" use="required">
eml-spatialReference.xsd:2499: <xs:element name="unit">
eml-spatialReference.xsd:2508: <xs:attribute name="name" type="lengthUnits" use="required">
eml-spatialRaster.xsd 793: <xs:element name="waveLengthUnits" type="spref:lengthUnits" minOccurs="0">

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions