Class <<Type>> GeologicRelation

The GeologicRelation class is an abstract class that defines the general structure used to define relationships between any feature or object within GeoSciML. Relationships are always binary and directional. There is always a single source and a single target. The relationship is always defined from the perspective of the Source and is generally an active verb.

Example: a Source may point to an intrusive igneous rock body. In this case, the Target would point to the appropriate host rock body and the relationship attribute would be 'intrudes'. Other appropriate relationship attributes might include: overlies, offsets, crosscuts, folds, etc.

Many other types of relationships can also be accommodated via GeologicRelation, for example, topological relations between spatial objects could be described where they are scientifically significant.

Local Subclasses: GeologicFeatureRelation MaterialRelation

Attributes

Name Type Bounds From Class Notes
relationship GeologicRelationshipTerm 1..1 GeologicRelation A term from a controlled vocabulary to describe the geologic relationship
Attribute tagged values
Tag Value
sequenceNumber 1
inlineOrByReference byReference
sourceRole RelationRoleTerm 1..1 GeologicRelation The role played by the source geologic feature or object
Attribute tagged values
Tag Value
nillable True
sequenceNumber 2
inlineOrByReference byReference
targetRole RelationRoleTerm 1..1 GeologicRelation The role played by the target geologic feature or object
Attribute tagged values
Tag Value
sequenceNumber 3
inlineOrByReference byReference
nillable True
 

Outbound Associations

Name Type Multiplicity From Class Notes
 

Constraints

Constraint Type Status Weight
 

Tagged values

Tag Value Notes
byValuePropertyType false Values: true,false
Default: false
Description: enforce the 'by value' property pattern without xl
isCollection false Values: true,false
Default: false
Description: attribute group gml:AggregationAttributeGroup is a
noPropertyType false Values: true,false
Default: false
Description: suppress automatic creation of *PropertyType compl
 

GML-conformant XML Implementation Details

<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" abstract="true" name="GeologicRelation" substitutionGroup="gml:AbstractGML" type="gsml:GeologicRelationType">

    <xs:annotation>

        <xs:documentation>The GeologicRelation class is an abstract class that defines the general structure used to define relationships between any feature or object within GeoSciML.  Relationships are always binary and directional.  There is always a single source and a single target.  The relationship is always defined from the perspective of the Source and is generally an active verb.



Example:  a Source may point to an intrusive igneous rock body.  In this case, the Target would point to the appropriate host rock body and the relationship attribute would be 'intrudes'.  Other appropriate relationship attributes might include: overlies, offsets, crosscuts, folds, etc.



Many other types of relationships can also be accommodated via GeologicRelation, for example, topological relations between spatial objects could be described where they are scientifically significant.</xs:documentation>

    </xs:annotation>

</xs:element>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" abstract="true" name="GeologicRelationType">

    <xs:complexContent>

        <xs:extension base="gml:AbstractGMLType">

            <xs:sequence>

                <xs:element name="relationship" type="gml:ReferenceType">

                    <xs:annotation>

                        <xs:documentation>A term from a controlled vocabulary to describe the geologic relationship</xs:documentation>

                    </xs:annotation>

                </xs:element>

                <xs:element name="sourceRole" type="gml:ReferenceType" nillable="true">

                    <xs:annotation>

                        <xs:documentation>The role played by the source geologic feature or object</xs:documentation>

                    </xs:annotation>

                </xs:element>

                <xs:element name="targetRole" type="gml:ReferenceType" nillable="true">

                    <xs:annotation>

                        <xs:documentation>The role played by the target geologic feature or object</xs:documentation>

                    </xs:annotation>

                </xs:element>

            </xs:sequence>

        </xs:extension>

    </xs:complexContent>

</xs:complexType>
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="GeologicRelationPropertyType">

    <xs:sequence minOccurs="0">

        <xs:element ref="gsml:GeologicRelation"/>

    </xs:sequence>

    <xs:attributeGroup ref="gml:AssociationAttributeGroup"/>

    <xs:attributeGroup ref="gml:OwnershipAttributeGroup"/>

</xs:complexType>