gml:ArcByCenterPoint
This variant of the arc requires that the points on the arc shall be computed instead of storing the coordinates directly. The single control point is the center point of the arc plus the radius and the bearing at start and end. This representation can be used only in 2D. The element radius specifies the radius of the arc. The element startAngle specifies the bearing of the arc at the start. The element endAngle specifies the bearing of the arc at the end. The interpolation is fixed as "circularArcCenterPointWithRadius". Since this type describes always a single arc, the attribute "numArc" is fixed to "1". The content model follows the general pattern for the encoding of curve segments.
Element information
Namespace: http://www.opengis.net/gml/3.2
Schema document: external/ogc/gml/3.2.1/geometryPrimitives.xsd
Type: gml:ArcByCenterPointType
Properties: Global, Qualified
Content
- Choice [1..1]
- gml:pos
- gml:pointPropertyThis property element either references a point via the XLink-attributes or contains the point element. pointProperty is the predefined property which may be used by GML Application Schemas whenever a GML feature has a property with a value that is substitutable for Point.
- gml:pointRep
- gml:posList
- gml:coordinates
- gml:radius [1..1]
- gml:startAngle [0..1]
- gml:endAngle [0..1]
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
numDerivativesAtStart | [0..1] | xsd:integer | Default value is "0". from type gml:AbstractCurveSegmentType | |
numDerivativesAtEnd | [0..1] | xsd:integer | Default value is "0". from type gml:AbstractCurveSegmentType | |
numDerivativeInterior | [0..1] | xsd:integer | Default value is "0". from type gml:AbstractCurveSegmentType | |
interpolation | [0..1] | gml:CurveInterpolationType | Fixed value is "circularArcCenterPointWithRadius". | |
numArc | [1..1] | xsd:integer | Fixed value is "1". |
Used in
- Type gml:ArrayAssociationType (Element gml:members)
- Type gml:CurveSegmentArrayPropertyType (Element gml:segments)
Substitution hierarchy
- gml:AbstractObject
- can be substituted with gml:AbstractCurveSegment
- can be substituted with gml:ArcByCenterPoint
- can be substituted with gml:CircleByCenterPoint
- can be substituted with gml:ArcByCenterPoint
- can be substituted with gml:AbstractCurveSegment
Sample instance
<gml:ArcByCenterPoint numArc="1"> <gml:pos>1.0 1.0</gml:pos> <gml:radius uom="">1.0</gml:radius> <gml:startAngle uom="">1.0</gml:startAngle> <gml:endAngle uom="">1.0</gml:endAngle> </gml:ArcByCenterPoint>