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)[source]#

Bases: BaseAttributesMultiLayerBinding

Class to associate segment with adas attributes and road topology geometry

classmethod associated_layers() Dict[str, SingleLayerBinding][source]#

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][source]#
Returns:

the types of attributes supported by this binding

classmethod parse_and_index(partition_id: str, msg: Message) ContentPartition[source]#

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][source]#
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)[source]#

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.CurvatureHeading(partition_id: Partition, segment_anchors: List[DecodedMessage], curvature: int, heading: int)[source]#

Bases: object

Curvature Heading

curvature: int#
heading: 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)[source]#

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.LinkAccuracy(partition_id: Partition, segment_anchors: List[DecodedMessage], link_accuracy: int)[source]#

Bases: object

Link accuracy

indexer = ContentIndexer(partition='partition_id', identifier=None, refs={})#
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)[source]#

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)[source]#

Bases: object

slope

accuracy: str#
indexer = ContentIndexer(partition='partition_id', identifier=None, refs={})#
partition_id: Partition#
segment_anchors: List[DecodedMessage]#
slope: int#