Project

General

Profile

Actions

Bug #3227

closed

gRing is declared as GRingPointType

Added by Margaret O'Brien over 16 years ago. Updated about 16 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
eml - general bugs
Target version:
Start date:
04/16/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3227

Description

There was a short email exchange on the LTER best-practices mailing list about some confusion in the coverage schema, in the declaration for datasetGPolygonOuterRing. Peter and Wade may remember it.

Basically, you have this:
<xs:element name="datasetGPolygonOuterGRing">
<xs:complexType>
<xs:choice>
<xs:sequence>
<xs:element name="gRingPoint" type="GRingPointType" minOccurs="3" maxOccurs="unbounded"/>
</xs:sequence>
<xs:element name="gRing" type="GRingPointType"/>
</xs:choice>
</xs:complexType>
</element>

The sequence of 3 or more <gRingPoint>s (lat-lon pairs) creates a ring, but the odd thing is that the other choice, <gRing> is also declared as a gRingPointType. There is a named type GRingType (a list of ordered pairs) which appears not to have been used, so it seems that gRing should have been declared a gRingType instead. Wade suggested this, but it never made it into this database.

If you all agree that this is indeed the case, I'll make the change and squeeze it into EML2.1.0rc3. It's is better located in 2.1.0, since it wont be backward compatible when it is fixed. Sorry for the timing - I ran into it today while diving back into an SBC project.


Related issues

Is duplicate of EML - Bug #3229: gRing is declared as GRingPointTypeResolvedMatt Jones04/16/2008

Actions
Actions #1

Updated by Matt Jones over 16 years ago

Yes, this is a bug and is basically unusable in its current state. Changing the type definition as you suggest would allow either syntax to be used to delineate the gring. Lets go ahead and fold it into 2.1 RC3 if you are so inclined.

Actions #2

Updated by Margaret O'Brien over 16 years ago

  • Bug 3229 has been marked as a duplicate of this bug. ***
Actions #3

Updated by Margaret O'Brien over 16 years ago

changing status to "fixed"

Actions #4

Updated by Margaret O'Brien about 16 years ago

One other note:
The switch of GRing to GRingType was made months ago and this bug closed.
But I just noticed that GRing was a complexType that was completely empty, although the documentation states that it should have string content. It has been changed to simpleType in EML2.1. Probably this was never noticed in the past since this type was never used. I'm only putting a note here since it's related to the retyping of GRing.

Actions #5

Updated by Redmine Admin almost 12 years ago

Original Bugzilla ID was 3227

Actions

Also available in: Atom PDF