# Module road-surface-marking

Package com.here.mom.feature.road-surface-marking

Features

Parts

Enums

## ClassificationEstimate

part ClassificationEstimate

ClassificationEstimate class and confidence.

Property Type Modifier Description

## ClassificationType

enum ClassificationType

Value Description
UNDEFINED
UNKNOWN
OTHER
ARROW_HARD_LEFT
ARROW_HARD_RIGHT
ARROW_LEFT
ARROW_LEFT_AND_RIGHT
ARROW_MERGE_LANES
ARROW_MERGE_LEFT
ARROW_MERGE_RIGHT
ARROW_RIGHT
ARROW_SECOND_LEFT
ARROW_SECOND_RIGHT
ARROW_SLIGHT_LEFT
ARROW_SLIGHT_RIGHT
ARROW_STRAIGHT
ARROW_STRAIGHT_AND_LEFT
ARROW_STRAIGHT_AND_RIGHT
ARROW_U_TURN_LEFT
ARROW_U_TURN_RIGHT
COVER_DRAIN_GRATE
COVER_MANHOLE_COVER
SYMBOL_BICYCLE
SYMBOL_BUS
SYMBOL_HOV_DIAMOND
TEXT_BUS
TEXT_SPEED_LIMIT
TEXT_STOP
TEXT_TAXI
TEXT_YIELD
YIELD_INDICATION
TEXT_LKW

Representation of a unique, aggregated physical RoadSurfaceMarking.

Property Type Modifier Description
id string
bbox BoundingBox optional
geometry Point 3D center point of the RoadSurfaceMarking.
referencePoint Point optional This is the location of this feature, collapsed to a single point.

This is for any application where an approximate, but deterministic and consistent, location is useful. One

example is deciding where to "anchor" a feature within a tiled map database.

Any Reference to this feature should include this point.
nonSpatialPartitionKey string optional The partition id for a generically partitioned feature.

Generically partitioned features fall into two categories:

1. Features that have a spatial component but may not make sense to partition based on that geometry.

2. Features that don't have a strong spatial component.

How keys will be assigned and what value ranges will be used are not specified.

Examples of generically partitioned features are admin, zone, postal, phonetics, metadata, etc.
Constraint Expression Description
atMostOneDefinedProperty (is-empty(.referencePoint) is-empty(.nonSpatialPartitionKey)) At most one of non-spatial-partition-key and reference-point can be defined.
pointDefined non-empty(.referencePoint) Ensures that the reference-point is defined.

Represent the properties like width, length, orientation and classificationEstimate for RoadSurfaceMarking

Property Type Modifier Description
@ns:com:here:mom:rmob string optional Currently not specified - may be specified by each Feature individually in future
featureType FeatureType optional Deprecated. This property is redundant to MomFeature.momType and should not be used.

MOM clients before 2.6 release had this deprecated property set to required, so

if data needs to be JSON schema validated by clients before 2.6 this property must be

set by the writer.
isoCountryCode Country optional Deprecated. This indicates which country a Feature is in, with a couple caveats.

- It may be unknown ("NONE" is a valid value, in addition to "UNDEFINED" like all MOM enums) simply because the

writer has not tried to figure it out or has otherwise not had the means to do so.

- It may be outright incorrect or a simplification of reality, specifically when a Feature is close to a country

border or in a disputed area (e.g., two or more countries claim the same area).

In all cases, writers and readers of this data should understand that the semantics of this property must be

agreed upon (if it is used at all). The preferred method of relating a Feature to a Country is through a

(direct or transitive) Reference from the Feature to an Admin.
@ns:com:here:mom:delta Branch optional
@ns:com:here:mom:mapcreator MapCreator optional
@ns:com:here:xyz Xyz optional Generic Data Hub namespace
extensionOSM MomOsm optional Optional extension for OSM (Open Street Map) metadata,

in case the object came from OSM
@ns:com:here:groundTruth GroundTruth optional Ground truth namespace
confidence ConfidenceData optional Confidence of a feature, optional only for the features

that are not participating in Quality Index.
widthCm CentimeterEstimate optional The width of the marking is measured along the Y axis.
lengthCm CentimeterEstimate optional The length of the marking is measured along the Z axis in the local coordinate system.
orientation OrientationEstimate optional Road Surface Marking internal coordinate system (X, Y, Z)

X is defined as normal to the road surface.

Z is primarily defined as being the direction from which the characters or figures are oriented "right-side-up".

Some markings (arrows and diamonds for example) exhibit some degree of rotational degeneracy.

When this is the case the "up" direction should point in the direction of the arrow when only the tail is

taken into account.

For diamonds or other highly degenerate objects then up should be along the longest axis of the bounding

rectangle.

This will lead to at least a two fold degeneracy in the definition, but for such markings the orientation

doesn't convey any information any way so if it is wrong we haven't lost anything.

Y is defined as the cross-product of Z and X.

The orientation quaternion represents a rotation from the XYZ coordinate frame described above to the ENU

tangent coordinate frame defined at the geometry point of the marking.