Module geometry-v-3
Package com.here.schema.geometry.v3
Parts
BoundingBox
part BoundingBox
Module geometry-v-3
A two-dimensional bounding box.
Property | Type | Modifier | Description |
westLongitude | double | | Longitude for the Western border in decimal degrees. |
southLatitude | double | | Latitude for the Southern border in decimal degrees. |
eastLongitude | double | | Longitude for the Eastern border in decimal degrees. |
northLatitude | double | | Latitude for the Northern border in decimal degrees. |
Geometry
abstract part Geometry
Module geometry-v-3
Subtypes LineString, MultiLineString, MultiPoint, MultiPolygon, MultiPrism, Point, Polygon, Prism
LineString
part LineString extends Geometry
Module geometry-v-3
A line string, sometimes referred to as a polyline. Consists of two or more points where each consecutive pair of points is linked with a straight line.
Property | Type | Modifier | Description |
type | "LineString" | | |
points | Point | list | The points that make up the line string. |
Constraint | Expression | Description |
sizeGe2 | (size(.points) >= 2) | |
distinctInternalPoints | has-distinct-values(tail(.points)) |
MultiLineString
part MultiLineString extends Geometry
Module geometry-v-3
A collection of line strings.
Property | Type | Modifier | Description |
type | "MultiLineString" | | |
lineStrings | LineString | set | The line strings that comprise the multi-line string. |
MultiPoint
part MultiPoint extends Geometry
Module geometry-v-3
A collection of points.
Property | Type | Modifier | Description |
type | "MultiPoint" | | |
points | Point | set | The points that comprise the multi-point geometry. |
MultiPolygon
part MultiPolygon extends Geometry
Module geometry-v-3
A collection of polygons.
Property | Type | Modifier | Description |
type | "MultiPolygon" | | |
polygons | Polygon | set | Polygons that comprise the multi-polygon. |
MultiPrism
part MultiPrism extends Geometry
Module geometry-v-3
A collection of prisms.
Property | Type | Modifier | Description |
type | "MultiPrism" | | |
prisms | Prism | set | The prisms that make up the MultiPrism. |
Point
part Point extends Geometry
Module geometry-v-3
A point is the fundamental geometry construct. A point position on the Earth.
Property | Type | Modifier | Description |
type | "Point" | | |
longitude | double | | Longitude in decimal degrees. |
latitude | double | | Latitude in decimal degrees. |
elevation | double | optional | Elevation in meters above the ellipsoid. |
Constraint | Expression | Description |
latGeM90 | (.latitude >= -90.0) | |
latLe90 | (.latitude <= 90.0) | |
lonGeM180 | (.longitude >= -180.0) | |
lonLe180 | (.longitude <= 180.0) |
Polygon
part Polygon extends Geometry
Module geometry-v-3
A series of points that form the boundary of a connected polygonal area. The area may contain interior holes. The boundary is represented as one exterior ring and zero or more interior rings. The exterior ring winds counter-clockwise and the interior rings wind clockwise. Rings do not cross each other, but any pair of rings may touch at one point. Interior rings are contained inside the exterior ring.
Property | Type | Modifier | Description |
type | "Polygon" | | |
exteriorRing | Polygon.Ring | | Exterior ring of the polygon. The exterior ring must follow counter-clockwise winding order. |
interiorRings | Polygon.Ring | set | Interior rings (holes) of the polygon. Interior rings must follow clockwise winding order. May be empty. |
Constraint | Expression | Description |
distinctInteriorRings | has-distinct-values(.interiorRings) |
Polygon.Ring
part Polygon.Ring
Module geometry-v-3
Points that make up a ring of the polygon. Rings are closed (first point equals last point) and do not self cross. Rings must contain four or more points.
Property | Type | Modifier | Description |
points | Point | list | The Points that make up the ring. |
Constraint | Expression | Description |
sizeGe4 | (size(.points) >= 4) | |
firstPointEqualsLast | (head(.points) == last(.points)) | |
nonSelfCrossing | has-distinct-values(tail(.points)) |
Prism
part Prism extends Geometry
Module geometry-v-3
A three-dimensional solid with a polygonal base, ground clearance, and top height.
Property | Type | Modifier | Description |
type | "Prism" | | |
polygon | Polygon | | The polygon that make up the Prism. |
heightClearance | double | | The height of the prism in meters above grade. |
groundClearance | double | | The ground clearance of the prism in meters above grade.A value of 0 indicates that the base of the prism is at grade. |