here.content.hmc2.street_names module#
Bindings for the HMC Topology Geometry.
- class here.content.hmc2.street_names.StreetName(partition_id: Partition, street_id: Identifier, street_name: List[DecodedMessage])[source]#
Bases:
objectStreet Name
- indexer = ContentIndexer(partition='partition_id', identifier='street_id', refs={})#
- partition_id: Partition#
- street_id: Identifier#
- street_name: List[DecodedMessage]#
- class here.content.hmc2.street_names.StreetNames(content: Content, layer_id: str, adapter: Adapter | None = None, layer_type: LayerType | None = None)[source]#
Bases:
SingleLayerBindingBindings for the HMC street names.
- 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
- class here.content.hmc2.street_names.StreetSection(partition_id: Partition, streetsection_id: Identifier, street_index: int | None, administrative_context_index: int, associated_street_section_index: List[DecodedMessage], government_code: str | None = None)[source]#
Bases:
objectStreet section
- administrative_context_index: int#
- associated_street_section_index: List[DecodedMessage]#
- government_code: str | None = None#
- indexer = ContentIndexer(partition='partition_id', identifier='streetsection_id', refs={})#
- partition_id: Partition#
- street_index: int | None#
- streetsection_id: Identifier#