Copyright © 2015 Open Geospatial Consortium 55
XSD:
xsd:complexType name=ARAnchorType abstract=true xsd:complexContent
xsd:extension base=AnchorType xsd:sequence
xsd:element name=assets maxOccurs=1 minOccurs=1 xsd:complexType
xsd:sequence xsd:element ref=VisualAsset maxOccurs=unbounded
minOccurs=0 xsd:element name=assetRef maxOccurs=unbounded
minOccurs=0 xsd:complexType
xsd:attribute ref=xlink:href use=required xsd:complexType
xsd:element xsd:sequence
xsd:complexType xsd:element
xsd:sequence xsd:extension
xsd:complexContent xsd:complexType
xsd:element name=ARAnchor type=ARAnchorType abstract=true substitutionGroup=Anchor
7.4.1.1 class Geometry XSD:
xsd:complexType name=GeometryType xsd:complexContent
xsd:extension base=ARAnchorType xsd:choice
xsd:element ref=gml:Point xsd:element ref=gml:LineString
xsd:element ref=gml:Polygon xsd:choice
xsd:extension xsd:complexContent
xsd:complexType xsd:element name=Geometry type=GeometryType
substitutionGroup=ARAnchor
Example:
Feature id=myFeature anchors
Geometry enabledtrueenabled
Copyright © 2015 Open Geospatial Consortium 56
assets ...
assets gml:Point gml:id=point1
gml:pos1 2gml:pos gml:Point
Geometry anchors
Feature
7.4.1.1.1 interface GMLGeometries
Requirement
http:www.opengis.netspecarml2.0reqmodelGMLGeometriesinterface GMLGeometries only serves as an interface for other objects defined in the encoding and may not be
used directly in the encoding. 7.4.1.1.2
class Point
Requirement
http:www.opengis.netspecarml2.0reqmodelPointxsd The Point class in ARML reuses the Point model, including the XSD, from the [GML Specification].
XML Example:
gml:Point gml:id=myPointWithAltitudeOfUser gml:pos
47.48 13.14 gml:pos
gml:Point gml:Point gml:id=myPointWithExplicitAltitude srsDimension=3
gml:pos 47.48 13.14 520
gml:pos gml:Point
7.4.1.1.3 class LineString
Requirement
http:www.opengis.netspecarml2.0reqmodelLineStringxsd The LineString class in ARML reuses the LineString model, including the XSD, from the [GML
Specification]. XML Example:
gml:LineString gml:id=myLineString gml:posList
47.48 13.14 48.49 14.15 gml:posList
gml:LineString
7.4.1.1.4 class Polygon
Requirement
http:www.opengis.netspecarml2.0reqmodelPolygonxsd The Polygon class in ARML reuses the Polygon model, including the XSD, from the [GML
Copyright © 2015 Open Geospatial Consortium 57
Specification]. As a convention, the vertices of the Polygon especially the vertices of the exterior LinearRing should
be specified in counter‐clockwise direction to correctly define the VisualAsset’s front face. See Orienting VisualAssets for details.
Requirement
http:www.opengis.netspecarml2.0reqmodelGMLGeometriesLinearRingorder A LinearRing’s coordinate tuples shall be specified in counter‐clockwise order.
XML Example:
gml:Polygon gml:id=myPolygon gml:exterior
gml:LinearRing gml:posList
47.48 13.14 48.49 14.15 48.49 14.13 47.48 13.14 gml:posList
gml:LinearRing gml:exterior
gml:interior gml:LinearRing
gml:posList 48.00 14.00 48.01 14.01 48.01 13.99 48.00 14.00
gml:posList gml:LinearRing
gml:interior gml:interior
gml:LinearRing ...
gml:LinearRing gml:interior
gml:Polygon
7.4.1.2 Trackable and Tracker