SpatialCoordinate

Fully qualified datatype name: DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::SpatialCoordinate

Definition

Lists the value and format type for the coordinate value. Note that this is a single value (X coordinate or Y coordinate) rather than a coordinate pair.

Diagram

Attributes

Name

Inherited from

Description

Data Type

Multiplicity

Default value

content

- own datatype -

The value of the coordinate expressed as a string.

String

0..1

coordinateType

- own datatype -

Identifies the type of point coordinate system using a controlled vocabulary. Point formats include decimal degree, degrees minutes seconds, decimal minutes, meters, and feet.

PointFormat

0..1

Usage

Type

Package

Classifier

Attribute

DataType

StructuredDataTypes

SpatialPoint

xCoordinate

DataType

StructuredDataTypes

SpatialPoint

yCoordinate

Syntax representations / encodings

All syntax representations except the Canonical XMI are provided as reference points for specific implementations, or for use as defaults if sufficient in the form presented.

Fragment for the data type SpatialCoordinate (entire XMI model)

 1<packagedElement xmlns:StandardProfile="http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard"
 2                 xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"
 3                 xmlns:xmi="http://www.omg.org/spec/XMI/20131001"
 4                 xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialCoordinate"
 5                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SpatialCoordinate"
 6                 xmi:type="uml:DataType">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialCoordinate-ownedComment"
 8                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SpatialCoordinate-ownedComment"
 9                 xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialCoordinate"/>
11      <body>Definition
12============
13Lists the value and format type for the coordinate value. Note that this is a single value (X coordinate or Y coordinate) rather than a coordinate pair.</body>
14   </ownedComment>
15   <name>SpatialCoordinate</name>
16   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialCoordinate-content"
17                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SpatialCoordinate-content"
18                   xmi:type="uml:Property">
19      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialCoordinate-content-ownedComment"
20                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SpatialCoordinate-content-ownedComment"
21                    xmi:type="uml:Comment">
22         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialCoordinate-content"/>
23         <body>The value of the coordinate expressed as a string.</body>
24      </ownedComment>
25      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialCoordinate-content-lowerValue"
26                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SpatialCoordinate-content-lowerValue"
27                  xmi:type="uml:LiteralInteger"/>
28      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialCoordinate-content-upperValue"
29                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SpatialCoordinate-content-upperValue"
30                  xmi:type="uml:LiteralUnlimitedNatural">
31         <value>1</value>
32      </upperValue>
33      <name>content</name>
34      <type href="http://www.eclipse.org/uml2/5.0.0/UML/PrimitiveTypes.xmi#String"
35            xmi:type="uml:PrimitiveType"/>
36   </ownedAttribute>
37   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialCoordinate-coordinateType"
38                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SpatialCoordinate-coordinateType"
39                   xmi:type="uml:Property">
40      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialCoordinate-coordinateType-ownedComment"
41                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SpatialCoordinate-coordinateType-ownedComment"
42                    xmi:type="uml:Comment">
43         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialCoordinate-coordinateType"/>
44         <body>Identifies the type of point coordinate system using a controlled vocabulary. Point formats include decimal degree, degrees minutes seconds, decimal minutes, meters, and feet.</body>
45      </ownedComment>
46      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialCoordinate-coordinateType-lowerValue"
47                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SpatialCoordinate-coordinateType-lowerValue"
48                  xmi:type="uml:LiteralInteger"/>
49      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialCoordinate-coordinateType-upperValue"
50                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SpatialCoordinate-coordinateType-upperValue"
51                  xmi:type="uml:LiteralUnlimitedNatural">
52         <value>1</value>
53      </upperValue>
54      <name>coordinateType</name>
55      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-PointFormat"/>
56   </ownedAttribute>
57</packagedElement>

Fragment for the data type SpatialCoordinate (entire XML Schema)

 1<xs:element name="SpatialCoordinate"
 2            type="SpatialCoordinateXsdType"
 3            xml:id="SpatialCoordinate">
 4  <!-- based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::SpatialCoordinate -->
 5  <xs:annotation>
 6    <xs:documentation>Definition
 7          ============
 8          Lists the value and format type for the coordinate value. Note that this is a single value (X coordinate or Y coordinate) rather than a coordinate pair.</xs:documentation>
 9  </xs:annotation>
10</xs:element>
11<xs:complexType name="SpatialCoordinateXsdType"
12                xml:id="SpatialCoordinateXsdType">
13  <xs:annotation>
14    <xs:documentation>Definition
15          ============
16          Lists the value and format type for the coordinate value. Note that this is a single value (X coordinate or Y coordinate) rather than a coordinate pair.</xs:documentation>
17  </xs:annotation>
18  <xs:sequence>
19    <xs:element name="content"
20                type="xs:string"
21                minOccurs="0"
22                maxOccurs="1"
23                xml:id="SpatialCoordinate-content">
24      <xs:annotation>
25        <xs:documentation>The value of the coordinate expressed as a string.</xs:documentation>
26      </xs:annotation>
27    </xs:element>
28    <xs:element name="coordinateType"
29                type="PointFormatXsdType"
30                minOccurs="0"
31                maxOccurs="1"
32                xml:id="SpatialCoordinate-coordinateType">
33      <xs:annotation>
34        <xs:documentation>Identifies the type of point coordinate system using a controlled vocabulary. Point formats include decimal degree, degrees minutes seconds, decimal minutes, meters, and feet.</xs:documentation>
35      </xs:annotation>
36    </xs:element>
37  </xs:sequence>
38</xs:complexType>

Fragment for the data type SpatialCoordinate (main ontology, entire ontology as zip)

 1# datatype SpatialCoordinate
 2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::SpatialCoordinate
 3cdi:SpatialCoordinate
 4  a rdfs:Class, owl:Class, ucmis:StructuredDataType;
 5  rdfs:label "SpatialCoordinate";
 6  rdfs:comment "Definition\n============\nLists the value and format type for the coordinate value. Note that this is a single value (X coordinate or Y coordinate) rather than a coordinate pair."@en;
 7  
 8  owl:hasKey (cdi:SpatialCoordinate-content cdi:SpatialCoordinate-coordinateType);
 9.
10
11cdi:SpatialCoordinate-content
12  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
13  rdfs:label "content";
14  rdfs:comment "The value of the coordinate expressed as a string."@en;
15  rdfs:domain cdi:SpatialCoordinate;
16  rdfs:range xsd:string;
17.
18
19cdi:SpatialCoordinate-coordinateType
20  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
21  rdfs:label "coordinateType";
22  rdfs:comment "Identifies the type of point coordinate system using a controlled vocabulary. Point formats include decimal degree, degrees minutes seconds, decimal minutes, meters, and feet."@en;
23  rdfs:domain cdi:SpatialCoordinate;
24  rdfs:range cdi:PointFormat;
25.

Fragment for the data type SpatialCoordinate (main JSON-LD entire JSON-LD as zip)

 1{
 2  "@context": [
 3    {
 4      "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6	  "SpatialCoordinate": "cdi:SpatialCoordinate",
 7	  "content": {
 8	    "@id": "cdi:SpatialCoordinate-content",
 9	    "@type": "xsd:string"
10	  },
11	  "coordinateType": {
12	    "@id": "cdi:SpatialCoordinate-coordinateType",
13	    "@type": "@vocab",
14	    "@context": {
15	      "DecimalDegree": "cdi:DecimalDegree",
16	      "DecimalMinutes": "cdi:DecimalMinutes",
17	      "DegreesMinutesSeconds": "cdi:DegreesMinutesSeconds",
18	      "Feet": "cdi:Feet",
19	      "Meters": "cdi:Meters",
20	      " comment ": "tag:json-should-support-trailing-commas" 
21	    }
22	  },
23	  
24	  " comment ": "tag:json-should-support-trailing-commas" 
25	}
26  ],
27  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2024-03-16 23:40:14.",
28  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::SpatialCoordinate"
29}