here.content.hmc2.segment_street_names module#
Bindings for the Associated Segments from Address Attributes and Street Names Layers.
- class here.content.hmc2.segment_street_names.SegmentToStreetName(content: Content, layer_id: str, adapter: Adapter | None = None)[source]#
Bases:
AddressAttributes,BaseAttributesMultiLayerBindingClass to associate segment with address attributes and street names
- 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