[eml-dev] [Bug 3523] New: - declarations for units in spatialReference and spatialRaster are inconsistent
bugzilla-daemon at ecoinformatics.org
bugzilla-daemon at ecoinformatics.org
Thu Oct 9 16:32:55 PDT 2008
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3523
Summary: declarations for units in spatialReference and
spatialRaster are inconsistent
Product: EML
Version: 2.0.1
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: eml - general bugs
AssignedTo: jones at nceas.ucsb.edu
ReportedBy: mob at icess.ucsb.edu
QAContact: eml-dev at ecoinformatics.org
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).
<simpleType name="lengthUnits"> and
<simpleType name="angleUnit">
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">
More information about the Eml-dev
mailing list