here.content.hmc2.place_context module — HERE Data SDK for Python documentation
- Last UpdatedJun 18, 2025
- 1 minute read
Bindings for the HMC Administrative Places.
- class here.content.hmc2.place_context.PlaceClassification(preference: str, place_ref: Ref)[source]#
Bases:
object
How a place is classified.
- preference: str#
- class here.content.hmc2.place_context.PlaceContext(classification_type: str, city: List[PlaceClassification], postal_code: List[PlaceClassification], country: List[PlaceClassification], state: List[PlaceClassification], region: List[PlaceClassification], county: List[PlaceClassification], district: List[PlaceClassification], sub_district: List[PlaceClassification], further_zone: List[PlaceClassification], default_mapping: int, political_view: List[str], political_view_exception: List[str])[source]#
Bases:
object
The administrative contexts that bounds places together.
- city: List[PlaceClassification]#
- classification_type: str#
- country: List[PlaceClassification]#
- county: List[PlaceClassification]#
- default_mapping: int#
- district: List[PlaceClassification]#
- further_zone: List[PlaceClassification]#
- indexer = ContentIndexer(partition=None, identifier=None, refs={})#
- political_view: List[str]#
- political_view_exception: List[str]#
- postal_code: List[PlaceClassification]#
- region: List[PlaceClassification]#
- state: List[PlaceClassification]#
- sub_district: List[PlaceClassification]#