here.content.hmc2.place_context module
here.content.hmc2.place_context module
Bindings for the HMC Administrative Places.
class here.content.hmc2.place_context.PlaceClassification(preference: str, place_ref: Ref)
Bases: object
How a place is classified.
place_ref: Ref
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])
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]