SpatialPoint

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

Definition

A geographic point consisting of an X and Y coordinate. Each coordinate value is expressed separately providing its value and format.

Diagram

Attributes

Name

Inherited from

Description

Data Type

Multiplicity

Default value

xCoordinate

- own datatype -

An X coordinate (latitudinal equivalent) value and format expressed using the Spatial Coordinate structure.

SpatialCoordinate

0..1

yCoordinate

- own datatype -

A Y coordinate (longitudinal equivalent) value and format expressed using the Spatial Coordinate structure.

SpatialCoordinate

0..1

Usage

Type

Package

Classifier

Attribute

DataType

StructuredDataTypes

Address

geographicPoint

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 SpatialPoint (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-SpatialPoint"
 5                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SpatialPoint"
 6                 xmi:type="uml:DataType">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialPoint-ownedComment"
 8                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SpatialPoint-ownedComment"
 9                 xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialPoint"/>
11      <body>Definition
12============
13A geographic point consisting of an X and Y coordinate. Each coordinate value is expressed separately providing its value and format.</body>
14   </ownedComment>
15   <name>SpatialPoint</name>
16   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialPoint-xCoordinate"
17                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SpatialPoint-xCoordinate"
18                   xmi:type="uml:Property">
19      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialPoint-xCoordinate-ownedComment"
20                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SpatialPoint-xCoordinate-ownedComment"
21                    xmi:type="uml:Comment">
22         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialPoint-xCoordinate"/>
23         <body>An X coordinate (latitudinal equivalent) value and format expressed using the Spatial Coordinate structure.</body>
24      </ownedComment>
25      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialPoint-xCoordinate-lowerValue"
26                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SpatialPoint-xCoordinate-lowerValue"
27                  xmi:type="uml:LiteralInteger"/>
28      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialPoint-xCoordinate-upperValue"
29                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SpatialPoint-xCoordinate-upperValue"
30                  xmi:type="uml:LiteralUnlimitedNatural">
31         <value>1</value>
32      </upperValue>
33      <name>xCoordinate</name>
34      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialCoordinate"/>
35   </ownedAttribute>
36   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialPoint-yCoordinate"
37                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SpatialPoint-yCoordinate"
38                   xmi:type="uml:Property">
39      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialPoint-yCoordinate-ownedComment"
40                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SpatialPoint-yCoordinate-ownedComment"
41                    xmi:type="uml:Comment">
42         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialPoint-yCoordinate"/>
43         <body>A Y coordinate (longitudinal equivalent) value and format expressed using the Spatial Coordinate structure.</body>
44      </ownedComment>
45      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialPoint-yCoordinate-lowerValue"
46                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SpatialPoint-yCoordinate-lowerValue"
47                  xmi:type="uml:LiteralInteger"/>
48      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialPoint-yCoordinate-upperValue"
49                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SpatialPoint-yCoordinate-upperValue"
50                  xmi:type="uml:LiteralUnlimitedNatural">
51         <value>1</value>
52      </upperValue>
53      <name>yCoordinate</name>
54      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpatialCoordinate"/>
55   </ownedAttribute>
56</packagedElement>

Fragment for the data type SpatialPoint (entire XML Schema)

 1<xs:element name="SpatialPoint"
 2            type="SpatialPointXsdType"
 3            xml:id="SpatialPoint">
 4  <!-- based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::SpatialPoint -->
 5  <xs:annotation>
 6    <xs:documentation>Definition
 7          ============
 8          A geographic point consisting of an X and Y coordinate. Each coordinate value is expressed separately providing its value and format.</xs:documentation>
 9  </xs:annotation>
10</xs:element>
11<xs:complexType name="SpatialPointXsdType"
12                xml:id="SpatialPointXsdType">
13  <xs:annotation>
14    <xs:documentation>Definition
15          ============
16          A geographic point consisting of an X and Y coordinate. Each coordinate value is expressed separately providing its value and format.</xs:documentation>
17  </xs:annotation>
18  <xs:sequence>
19    <xs:element name="xCoordinate"
20                type="SpatialCoordinateXsdType"
21                minOccurs="0"
22                maxOccurs="1"
23                xml:id="SpatialPoint-xCoordinate">
24      <xs:annotation>
25        <xs:documentation>An X coordinate (latitudinal equivalent) value and format expressed using the Spatial Coordinate structure.</xs:documentation>
26      </xs:annotation>
27    </xs:element>
28    <xs:element name="yCoordinate"
29                type="SpatialCoordinateXsdType"
30                minOccurs="0"
31                maxOccurs="1"
32                xml:id="SpatialPoint-yCoordinate">
33      <xs:annotation>
34        <xs:documentation>A Y coordinate (longitudinal equivalent) value and format expressed using the Spatial Coordinate structure.</xs:documentation>
35      </xs:annotation>
36    </xs:element>
37  </xs:sequence>
38</xs:complexType>

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

 1# datatype SpatialPoint
 2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::SpatialPoint
 3cdi:SpatialPoint
 4  a rdfs:Class, owl:Class, ucmis:StructuredDataType;
 5  rdfs:label "SpatialPoint";
 6  rdfs:comment "Definition\n============\nA geographic point consisting of an X and Y coordinate. Each coordinate value is expressed separately providing its value and format."@en;
 7  
 8  owl:hasKey (cdi:SpatialPoint-xCoordinate cdi:SpatialPoint-yCoordinate);
 9.
10
11cdi:SpatialPoint-xCoordinate
12  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
13  rdfs:label "xCoordinate";
14  rdfs:comment "An X coordinate (latitudinal equivalent) value and format expressed using the Spatial Coordinate structure."@en;
15  rdfs:domain cdi:SpatialPoint;
16  rdfs:range cdi:SpatialCoordinate;
17.
18
19cdi:SpatialPoint-yCoordinate
20  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
21  rdfs:label "yCoordinate";
22  rdfs:comment "A Y coordinate (longitudinal equivalent) value and format expressed using the Spatial Coordinate structure."@en;
23  rdfs:domain cdi:SpatialPoint;
24  rdfs:range cdi:SpatialCoordinate;
25.

Fragment for the data type SpatialPoint (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	  "SpatialPoint": "cdi:SpatialPoint",
 7	  "xCoordinate": {
 8	    "@id": "cdi:SpatialPoint-xCoordinate",
 9	    "@type": "@id",
10	    "@context": "SpatialCoordinate.jsonld"
11	  },
12	  "yCoordinate": {
13	    "@id": "cdi:SpatialPoint-yCoordinate",
14	    "@type": "@id",
15	    "@context": "SpatialCoordinate.jsonld"
16	  },
17	  
18	  " comment ": "tag:json-should-support-trailing-commas" 
19	}
20  ],
21  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2024-03-16 23:40:14.",
22  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::SpatialPoint"
23}