here.content.hmc2.adas_attributes module

here.content.hmc2.adas_attributes module

Bindings for the Associated Node and Segments from Topology geometry and ADAS attribute Layers.

class here.content.hmc2.adas_attributes.AdasAttributes(content: Content, layer_id: str, adapter: Adapter | None = None)
Bases: BaseAttributesMultiLayerBinding

Class to associate segment with adas attributes and road topology geometry

classmethod associated_layers() Dict[str, SingleLayerBinding]
Provide associated dependent/independent layers to the base layer.

Returns:
dict of key as single layer and value as SingleLayerBinding Object.

classmethod object_types() Mapping[str, type]
Returns:
the types of attributes supported by this binding

classmethod parse_and_index(partition_id: str, msg: Message) ContentPartition
Parse and index decoded message.

Parameters:

  • partition_id – identifier of the partition

  • msg – decoded content from the layer, in the form of a Protobuf message

Returns:
the content of a partition parsed and indexed in its own data structure

classmethod schema_hrn() List[str]
Returns:
the HRN of schema this binding can parse and index

class here.content.hmc2.adas_attributes.BuiltupAreaRoad(partition_id: Partition, segment_anchors: List[DecodedMessage], built_up_area_road: bool, built_up_area_road_verified: bool)
Bases: object

Builtup Area Road

built_up_area_road: bool

built_up_area_road_verified: bool

indexer = ContentIndexer(partition='partition_id', identifier=None, refs=)

partition_id: Partition

segment_anchors: List[DecodedMessage]

class here.content.hmc2.adas_attributes.Curvature(partition_id: Partition, segment_anchors: List[DecodedMessage], curvature: int)
Bases: object

curvature: int

indexer = ContentIndexer(partition='partition_id', identifier=None, refs=)

partition_id: Partition

segment_anchors: List[DecodedMessage]

class here.content.hmc2.adas_attributes.Elevation(partition_id: Partition, segment_anchors: List[DecodedMessage], elevation: int, accuracy: str, signed_elevation: int, node_anchors: List[DecodedMessage] | None = None)
Bases: object

accuracy: str

elevation: int

indexer = ContentIndexer(partition='partition_id', identifier=None, refs=)

node_anchors: List[DecodedMessage] | None = None

partition_id: Partition

segment_anchors: List[DecodedMessage]

signed_elevation: int

class here.content.hmc2.adas_attributes.Heading(partition_id: Partition, segment_anchors: List[DecodedMessage], heading: int)
Bases: object

heading: int

indexer = ContentIndexer(partition='partition_id', identifier=None, refs=)

partition_id: Partition

segment_anchors: List[DecodedMessage]

class here.content.hmc2.adas_attributes.LinkAccuracy(partition_id: Partition, segment_anchors: List[DecodedMessage], link_accuracy: int)
Bases: object

Link accuracy

indexer = ContentIndexer(partition='partition_id', identifier=None, refs=)

link_accuracy: int

partition_id: Partition

segment_anchors: List[DecodedMessage]

class here.content.hmc2.adas_attributes.SegmentAnchor(partition_id: Partition, oriented_segment_ref: List[DecodedMessage], first_segment_start_offset: DecodedMessage, last_segment_end_offset: DecodedMessage, attribute_orientation: str)
Bases: object

Segment Ref

attribute_orientation: str

first_segment_start_offset: DecodedMessage

indexer = ContentIndexer(partition='partition_id', identifier=None, refs=)

last_segment_end_offset: DecodedMessage

oriented_segment_ref: List[DecodedMessage]

partition_id: Partition

class here.content.hmc2.adas_attributes.Slope(partition_id: Partition, segment_anchors: List[DecodedMessage], slope: int, accuracy: str)
Bases: object

slope

accuracy: str

indexer = ContentIndexer(partition='partition_id', identifier=None, refs=)

partition_id: Partition

segment_anchors: List[DecodedMessage]

slope: int