GeocodeResultItem
¶
Source code in docs_src/capo_geo_places/types/geocode_result_item.py
access_points
instance-attribute
¶
access_points: NotRequired[AccessPointList]
Position of the access point in World Geodetic System (WGS 84) format: [longitude, latitude].
address_number_corrected
instance-attribute
¶
address_number_corrected: NotRequired[SensitiveBoolean]
Boolean indicating if the address provided has been corrected.
categories
instance-attribute
¶
categories: NotRequired[CategoryList]
Categories of results that results must belong to.
distance
instance-attribute
¶
distance: DistanceMeters
The distance in meters from the QueryPosition.
estimated_point_address
instance-attribute
¶
estimated_point_address: NotRequired[SensitiveBoolean]
If true, indicates that the coordinates of the position and access points of the point address are estimated.
food_types
instance-attribute
¶
food_types: NotRequired[FoodTypeList]
List of food types offered by this result.
intersections
instance-attribute
¶
intersections: NotRequired[IntersectionList]
All Intersections that are near the provided address.
main_address
instance-attribute
¶
main_address: NotRequired[RelatedPlace]
The main address corresponding to a place of type Secondary Address.
map_view
instance-attribute
¶
map_view: NotRequired[BoundingBox]
The bounding box enclosing the geometric shape (area or line) that an individual result covers.
The bounding box formed is defined as a set 4 coordinates: [{westward lng}, {southern lat}, {eastward lng}, {northern lat}]
match_scores
instance-attribute
¶
match_scores: NotRequired[MatchScoreDetails]
Indicates how well the entire input matches the returned. It is equal to 1 if all input tokens are recognized and matched.
parsed_query
instance-attribute
¶
parsed_query: NotRequired[GeocodeParsedQuery]
Free-form text query.
place_type
instance-attribute
¶
place_type: PlaceType
A PlaceType is a category that the result place must belong to.
political_view
instance-attribute
¶
political_view: NotRequired[CountryCode3]
The alpha-2 or alpha-3 character code for the political view of a country. The political view applies to the results of the request to represent unresolved territorial claims through the point of view of the specified country.
position
instance-attribute
¶
position: NotRequired[Position]
The position in World Geodetic System (WGS 84) format: [longitude, latitude].
postal_code_details
instance-attribute
¶
postal_code_details: NotRequired[PostalCodeDetailsList]
Contains details about the postal code of the place/result.
secondary_addresses
instance-attribute
¶
secondary_addresses: NotRequired[RelatedPlaceList]
All secondary addresses that are associated with a main address. A secondary address is one that includes secondary designators, such as a Suite or Unit Number, Building, or Floor information.
Coverage for this functionality is available in the following countries: AUS, CAN, NZL, USA, PRI.
time_zone
instance-attribute
¶
time_zone: NotRequired[TimeZone]
The time zone in which the place is located.
title
instance-attribute
¶
title: SensitiveString
The localized display name of this result item based on request parameter language.
translations
instance-attribute
¶
translations: NotRequired[TranslationDetails]
All name translations and alternative names for the requested address fields in all available languages.