here.content.hmc2.composite_road_attributes module#
Bindings for the Composite road attributes.
- class here.content.hmc2.composite_road_attributes.ComplexIntersectionAttribute(partition_id: Partition, complex_intersection_id: Identifier, node_anchors: List[DecodedMessage], segment_anchors: List[DecodedMessage])[source]#
Bases:
objectComplex Intersection Attribute
- complex_intersection_id: Identifier#
- indexer = ContentIndexer(partition='partition_id', identifier='complex_intersection_id', refs={})#
- node_anchors: List[DecodedMessage]#
- partition_id: Partition#
- segment_anchors: List[DecodedMessage]#
- class here.content.hmc2.composite_road_attributes.ComplexObjectAttribute(partition_id: Partition, complex_object_id: Identifier, node_anchors: List[DecodedMessage], segment_anchors: List[DecodedMessage], name: List[DecodedMessage], valid_unnamed: bool, anchor_point: DecodedMessage)[source]#
Bases:
objectComplex Object Attribute
- anchor_point: DecodedMessage#
- complex_object_id: Identifier#
- indexer = ContentIndexer(partition='partition_id', identifier='complex_object_id', refs={})#
- name: List[DecodedMessage]#
- node_anchors: List[DecodedMessage]#
- partition_id: Partition#
- segment_anchors: List[DecodedMessage]#
- valid_unnamed: bool#
- class here.content.hmc2.composite_road_attributes.ComplexRoadAttribute(partition_id: Partition, complex_road_id: Identifier, segment_anchors: List[DecodedMessage], start_complex_intersection_ref: DecodedMessage, end_complex_intersection_ref: DecodedMessage)[source]#
Bases:
objectComplex Road Attribute
- complex_road_id: Identifier#
- end_complex_intersection_ref: DecodedMessage#
- indexer = ContentIndexer(partition='partition_id', identifier='complex_road_id', refs={})#
- partition_id: Partition#
- segment_anchors: List[DecodedMessage]#
- start_complex_intersection_ref: DecodedMessage#
- class here.content.hmc2.composite_road_attributes.CompositeRoadAttribute(content: Content, layer_id: str, adapter: Adapter | None = None)[source]#
Bases:
BaseAttributesMultiLayerBindingClass to associate composite road attributes and 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