Place
¶
Source code in docs_src/capo_location/types/place.py
address_number
instance-attribute
¶
address_number: NotRequired[SensitiveString]
The numerical portion of an address, such as a building number.
categories
instance-attribute
¶
categories: NotRequired[PlaceCategoryList]
The Amazon Location categories that describe this Place.
For more information about using categories, including a list of Amazon Location categories, see Categories and filtering, in the Amazon Location Service developer guide.
country
instance-attribute
¶
country: NotRequired[SensitiveString]
A country/region specified using ISO 3166 3-digit country/region code. For example, CAN.
interpolated
instance-attribute
¶
interpolated: NotRequired[SensitiveBoolean]
True if the result is interpolated from other known places.
False if the Place is a known place.
Not returned when the partner does not provide the information.
For example, returns False for an address location that is found in the partner data, but returns True if an address does not exist in the partner data and its location is calculated by interpolating between other known addresses.
label
instance-attribute
¶
label: NotRequired[SensitiveString]
The full name and address of the point of interest such as a city, region, or country. For example, 123 Any Street, Any Town, USA.
municipality
instance-attribute
¶
municipality: NotRequired[SensitiveString]
A name for a local area, such as a city or town name. For example, Toronto.
neighborhood
instance-attribute
¶
neighborhood: NotRequired[SensitiveString]
The name of a community district. For example, Downtown.
postal_code
instance-attribute
¶
postal_code: NotRequired[SensitiveString]
A group of numbers and letters in a country-specific format, which accompanies the address for the purpose of identifying a location.
region
instance-attribute
¶
region: NotRequired[SensitiveString]
A name for an area or geographical division, such as a province or state name. For example, British Columbia.
street
instance-attribute
¶
street: NotRequired[SensitiveString]
The name for a street or a road to identify a location. For example, Main Street.
sub_municipality
instance-attribute
¶
sub_municipality: NotRequired[SensitiveString]
An area that's part of a larger municipality. For example, Blissville is a submunicipality in the Queen County in New York.
This property supported by Esri and OpenData. The Esri property is district, and the OpenData property is borough.
sub_region
instance-attribute
¶
sub_region: NotRequired[SensitiveString]
A county, or an area that's part of a larger region. For example, Metro Vancouver.
supplemental_categories
instance-attribute
¶
supplemental_categories: NotRequired[PlaceSupplementalCategoryList]
Categories from the data provider that describe the Place that are not mapped to any Amazon Location categories.
time_zone
instance-attribute
¶
time_zone: NotRequired[TimeZone]
The time zone in which the Place is located. Returned only when using HERE or Grab as the selected partner.
unit_number
instance-attribute
¶
unit_number: NotRequired[SensitiveString]
For addresses with multiple units, the unit identifier. Can include numbers and letters, for example 3B or Unit 123.
Returned only for a place index that uses Esri or Grab as a data provider. Is not returned for SearchPlaceIndexForPosition.
unit_type
instance-attribute
¶
unit_type: NotRequired[SensitiveString]
For addresses with a UnitNumber, the type of unit. For example, Apartment.
Returned only for a place index that uses Esri as a data provider.