here.content.hmc2.composite_road_attributes module
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])
Bases: object
Complex 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)
Bases: object
Complex 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)
Bases: object
Complex 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)
Bases: BaseAttributesMultiLayerBinding
Class to associate composite road attributes and 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