stadiamaps 6.1.0__py3-none-any.whl → 6.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- stadiamaps/__init__.py +2 -2
- stadiamaps/api/geocoding_api.py +37 -71
- stadiamaps/api/geospatial_api.py +7 -7
- stadiamaps/api/routing_api.py +1 -1
- stadiamaps/api_client.py +2 -2
- stadiamaps/configuration.py +3 -3
- stadiamaps/exceptions.py +1 -1
- stadiamaps/models/__init__.py +1 -1
- stadiamaps/models/access.py +1 -1
- stadiamaps/models/addendum_v2.py +1 -1
- stadiamaps/models/address_components_v2.py +1 -1
- stadiamaps/models/admin_region.py +1 -1
- stadiamaps/models/administrative.py +1 -1
- stadiamaps/models/annotation_filters.py +1 -1
- stadiamaps/models/auto_costing_options.py +1 -1
- stadiamaps/models/base_costing_options.py +1 -1
- stadiamaps/models/base_trace_request.py +1 -1
- stadiamaps/models/bicycle_costing_options.py +1 -1
- stadiamaps/models/bike_network.py +1 -1
- stadiamaps/models/bulk_request.py +1 -1
- stadiamaps/models/bulk_request_query.py +1 -1
- stadiamaps/models/bulk_search_response.py +1 -1
- stadiamaps/models/context.py +1 -1
- stadiamaps/models/contour.py +1 -1
- stadiamaps/models/coordinate.py +1 -1
- stadiamaps/models/costing_model.py +1 -1
- stadiamaps/models/costing_options.py +1 -1
- stadiamaps/models/directions_options.py +1 -1
- stadiamaps/models/distance_unit.py +1 -1
- stadiamaps/models/edge_sign.py +1 -1
- stadiamaps/models/edge_use.py +1 -1
- stadiamaps/models/end_node.py +1 -1
- stadiamaps/models/extended_directions_options.py +1 -1
- stadiamaps/models/feature_properties_v2.py +1 -1
- stadiamaps/models/feature_properties_v2_properties.py +1 -1
- stadiamaps/models/foursquare_addendum.py +1 -1
- stadiamaps/models/geo_attributes.py +1 -1
- stadiamaps/models/geo_json_geometry_base.py +1 -1
- stadiamaps/models/geo_json_point.py +1 -1
- stadiamaps/models/geocode_response.py +1 -1
- stadiamaps/models/geocode_response_envelope_properties_v2.py +1 -1
- stadiamaps/models/geocoding_geo_json_feature.py +1 -1
- stadiamaps/models/geocoding_geo_json_properties.py +1 -1
- stadiamaps/models/geocoding_geo_json_properties_addendum.py +1 -1
- stadiamaps/models/geocoding_geo_json_properties_addendum_osm.py +1 -1
- stadiamaps/models/geocoding_layer.py +1 -1
- stadiamaps/models/geocoding_meta.py +10 -3
- stadiamaps/models/geocoding_object.py +1 -1
- stadiamaps/models/geocoding_source.py +1 -1
- stadiamaps/models/geonames_addendum.py +1 -1
- stadiamaps/models/height_request.py +1 -1
- stadiamaps/models/height_response.py +1 -1
- stadiamaps/models/highway_classification.py +1 -1
- stadiamaps/models/intersecting_edge.py +1 -1
- stadiamaps/models/isochrone_costing_model.py +1 -1
- stadiamaps/models/isochrone_feature.py +1 -1
- stadiamaps/models/isochrone_properties.py +1 -1
- stadiamaps/models/isochrone_request.py +1 -1
- stadiamaps/models/isochrone_response.py +1 -1
- stadiamaps/models/layer_id.py +1 -1
- stadiamaps/models/locate_detailed_edge.py +1 -1
- stadiamaps/models/locate_edge.py +1 -1
- stadiamaps/models/locate_edge_info.py +1 -1
- stadiamaps/models/locate_node.py +1 -1
- stadiamaps/models/locate_object.py +1 -1
- stadiamaps/models/low_speed_vehicle_costing_options.py +1 -1
- stadiamaps/models/maneuver_sign.py +1 -1
- stadiamaps/models/maneuver_sign_element.py +1 -1
- stadiamaps/models/map_match_costing_model.py +1 -1
- stadiamaps/models/map_match_request.py +1 -1
- stadiamaps/models/map_match_route_response.py +1 -1
- stadiamaps/models/map_match_trace_options.py +1 -1
- stadiamaps/models/map_match_waypoint.py +1 -1
- stadiamaps/models/match_type.py +1 -1
- stadiamaps/models/matched_point.py +1 -1
- stadiamaps/models/matrix_costing_model.py +1 -1
- stadiamaps/models/matrix_distance.py +1 -1
- stadiamaps/models/matrix_request.py +1 -1
- stadiamaps/models/matrix_response.py +1 -1
- stadiamaps/models/matrix_waypoint.py +1 -1
- stadiamaps/models/motor_scooter_costing_options.py +1 -1
- stadiamaps/models/motorcycle_costing_options.py +1 -1
- stadiamaps/models/nearest_roads_request.py +1 -1
- stadiamaps/models/node_id.py +1 -1
- stadiamaps/models/node_type.py +1 -1
- stadiamaps/models/open_street_map_addendum.py +1 -1
- stadiamaps/models/optimized_route_request.py +1 -1
- stadiamaps/models/osrm_admin.py +1 -1
- stadiamaps/models/osrm_annotation.py +1 -1
- stadiamaps/models/osrm_banner_component.py +1 -1
- stadiamaps/models/osrm_banner_content.py +1 -1
- stadiamaps/models/osrm_banner_instruction.py +1 -1
- stadiamaps/models/osrm_base_api_response.py +1 -1
- stadiamaps/models/osrm_guidance_modifier.py +1 -1
- stadiamaps/models/osrm_intersection.py +1 -1
- stadiamaps/models/osrm_lane.py +1 -1
- stadiamaps/models/osrm_route.py +1 -1
- stadiamaps/models/osrm_route_leg.py +1 -1
- stadiamaps/models/osrm_route_response.py +1 -1
- stadiamaps/models/osrm_route_step.py +1 -1
- stadiamaps/models/osrm_speed_limit.py +1 -1
- stadiamaps/models/osrm_step_maneuver.py +1 -1
- stadiamaps/models/osrm_via_waypoint.py +1 -1
- stadiamaps/models/osrm_voice_instruction.py +1 -1
- stadiamaps/models/osrm_waypoint.py +1 -1
- stadiamaps/models/pedestrian_costing_options.py +1 -1
- stadiamaps/models/pedestrian_type.py +1 -1
- stadiamaps/models/point.py +1 -1
- stadiamaps/models/precision.py +1 -1
- stadiamaps/models/properties_v2.py +1 -1
- stadiamaps/models/restrictions.py +1 -1
- stadiamaps/models/road_class.py +1 -1
- stadiamaps/models/route200_response.py +1 -1
- stadiamaps/models/route_leg.py +1 -1
- stadiamaps/models/route_maneuver.py +1 -1
- stadiamaps/models/route_request.py +1 -1
- stadiamaps/models/route_response.py +1 -1
- stadiamaps/models/route_response_alternates_inner.py +1 -1
- stadiamaps/models/route_summary.py +1 -1
- stadiamaps/models/route_trip.py +1 -1
- stadiamaps/models/routing_languages.py +1 -1
- stadiamaps/models/routing_long_units.py +1 -1
- stadiamaps/models/routing_response_waypoint.py +1 -1
- stadiamaps/models/routing_waypoint.py +1 -1
- stadiamaps/models/routing_waypoint_all_of_search_filter.py +1 -1
- stadiamaps/models/search_query.py +1 -1
- stadiamaps/models/search_structured_query.py +4 -4
- stadiamaps/models/simple_routing_waypoint.py +1 -1
- stadiamaps/models/source_attribution.py +1 -1
- stadiamaps/models/source_id.py +1 -1
- stadiamaps/models/speeds.py +1 -1
- stadiamaps/models/trace_attribute_filter_options.py +1 -1
- stadiamaps/models/trace_attribute_key.py +1 -1
- stadiamaps/models/trace_attributes_base_response.py +1 -1
- stadiamaps/models/trace_attributes_request.py +1 -1
- stadiamaps/models/trace_attributes_response.py +1 -1
- stadiamaps/models/trace_edge.py +1 -1
- stadiamaps/models/travel_mode.py +1 -1
- stadiamaps/models/traversability.py +1 -1
- stadiamaps/models/truck_costing_options.py +1 -1
- stadiamaps/models/tz_response.py +9 -3
- stadiamaps/models/warning.py +1 -1
- stadiamaps/models/whos_on_first_concordances.py +1 -1
- stadiamaps/models/wof_context.py +22 -2
- stadiamaps/models/wof_context_component.py +1 -1
- stadiamaps/rest.py +1 -1
- {stadiamaps-6.1.0.dist-info → stadiamaps-6.3.0.dist-info}/METADATA +2 -2
- stadiamaps-6.3.0.dist-info/RECORD +183 -0
- {stadiamaps-6.1.0.dist-info → stadiamaps-6.3.0.dist-info}/WHEEL +1 -1
- test/integration/test_gecoding.py +27 -6
- stadiamaps-6.1.0.dist-info/RECORD +0 -183
- {stadiamaps-6.1.0.dist-info → stadiamaps-6.3.0.dist-info}/licenses/LICENSE.txt +0 -0
- {stadiamaps-6.1.0.dist-info → stadiamaps-6.3.0.dist-info}/top_level.txt +0 -0
stadiamaps/__init__.py
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
|
8
8
|
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
|
9
9
|
|
10
|
-
The version of the OpenAPI document: 9.
|
10
|
+
The version of the OpenAPI document: 9.3.0
|
11
11
|
Contact: support@stadiamaps.com
|
12
12
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
13
13
|
|
@@ -15,7 +15,7 @@
|
|
15
15
|
""" # noqa: E501
|
16
16
|
|
17
17
|
|
18
|
-
__version__ = "6.
|
18
|
+
__version__ = "6.3.0"
|
19
19
|
|
20
20
|
# import apis into sdk package
|
21
21
|
from stadiamaps.api.geocoding_api import GeocodingApi
|
stadiamaps/api/geocoding_api.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 9.
|
8
|
+
The version of the OpenAPI document: 9.3.0
|
9
9
|
Contact: support@stadiamaps.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -59,7 +59,7 @@ class GeocodingApi:
|
|
59
59
|
boundary_rect_max_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="Defines the max longitude component of a bounding box to limit the search to. Requires all other `boundary.rect` parameters to be specified.")] = None,
|
60
60
|
boundary_circle_lat: Annotated[Optional[Union[Annotated[float, Field(le=90, strict=True, ge=-90)], Annotated[int, Field(le=90, strict=True, ge=-90)]]], Field(description="The latitude of the center of a circle to limit the search to. Requires `boundary.circle.lon`.")] = None,
|
61
61
|
boundary_circle_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="The longitude of the center of a circle to limit the search to. Requires `boundary.circle.lat`.")] = None,
|
62
|
-
boundary_circle_radius: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified.")] = None,
|
62
|
+
boundary_circle_radius: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 50km (search) or 1km (reverse) if unspecified.")] = None,
|
63
63
|
boundary_country: Annotated[Optional[List[StrictStr]], Field(description="A list of country codes in ISO 3116-1 alpha-2 or alpha-3 format.")] = None,
|
64
64
|
boundary_gid: Annotated[Optional[StrictStr], Field(description="The GID of an area to limit the search to.")] = None,
|
65
65
|
layers: Annotated[Optional[List[GeocodingLayer]], Field(description="A list of layers to limit the search to.")] = None,
|
@@ -101,7 +101,7 @@ class GeocodingApi:
|
|
101
101
|
:type boundary_circle_lat: float
|
102
102
|
:param boundary_circle_lon: The longitude of the center of a circle to limit the search to. Requires `boundary.circle.lat`.
|
103
103
|
:type boundary_circle_lon: float
|
104
|
-
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified.
|
104
|
+
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 50km (search) or 1km (reverse) if unspecified.
|
105
105
|
:type boundary_circle_radius: float
|
106
106
|
:param boundary_country: A list of country codes in ISO 3116-1 alpha-2 or alpha-3 format.
|
107
107
|
:type boundary_country: List[str]
|
@@ -187,7 +187,7 @@ class GeocodingApi:
|
|
187
187
|
boundary_rect_max_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="Defines the max longitude component of a bounding box to limit the search to. Requires all other `boundary.rect` parameters to be specified.")] = None,
|
188
188
|
boundary_circle_lat: Annotated[Optional[Union[Annotated[float, Field(le=90, strict=True, ge=-90)], Annotated[int, Field(le=90, strict=True, ge=-90)]]], Field(description="The latitude of the center of a circle to limit the search to. Requires `boundary.circle.lon`.")] = None,
|
189
189
|
boundary_circle_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="The longitude of the center of a circle to limit the search to. Requires `boundary.circle.lat`.")] = None,
|
190
|
-
boundary_circle_radius: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified.")] = None,
|
190
|
+
boundary_circle_radius: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 50km (search) or 1km (reverse) if unspecified.")] = None,
|
191
191
|
boundary_country: Annotated[Optional[List[StrictStr]], Field(description="A list of country codes in ISO 3116-1 alpha-2 or alpha-3 format.")] = None,
|
192
192
|
boundary_gid: Annotated[Optional[StrictStr], Field(description="The GID of an area to limit the search to.")] = None,
|
193
193
|
layers: Annotated[Optional[List[GeocodingLayer]], Field(description="A list of layers to limit the search to.")] = None,
|
@@ -229,7 +229,7 @@ class GeocodingApi:
|
|
229
229
|
:type boundary_circle_lat: float
|
230
230
|
:param boundary_circle_lon: The longitude of the center of a circle to limit the search to. Requires `boundary.circle.lat`.
|
231
231
|
:type boundary_circle_lon: float
|
232
|
-
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified.
|
232
|
+
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 50km (search) or 1km (reverse) if unspecified.
|
233
233
|
:type boundary_circle_radius: float
|
234
234
|
:param boundary_country: A list of country codes in ISO 3116-1 alpha-2 or alpha-3 format.
|
235
235
|
:type boundary_country: List[str]
|
@@ -315,7 +315,7 @@ class GeocodingApi:
|
|
315
315
|
boundary_rect_max_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="Defines the max longitude component of a bounding box to limit the search to. Requires all other `boundary.rect` parameters to be specified.")] = None,
|
316
316
|
boundary_circle_lat: Annotated[Optional[Union[Annotated[float, Field(le=90, strict=True, ge=-90)], Annotated[int, Field(le=90, strict=True, ge=-90)]]], Field(description="The latitude of the center of a circle to limit the search to. Requires `boundary.circle.lon`.")] = None,
|
317
317
|
boundary_circle_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="The longitude of the center of a circle to limit the search to. Requires `boundary.circle.lat`.")] = None,
|
318
|
-
boundary_circle_radius: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified.")] = None,
|
318
|
+
boundary_circle_radius: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 50km (search) or 1km (reverse) if unspecified.")] = None,
|
319
319
|
boundary_country: Annotated[Optional[List[StrictStr]], Field(description="A list of country codes in ISO 3116-1 alpha-2 or alpha-3 format.")] = None,
|
320
320
|
boundary_gid: Annotated[Optional[StrictStr], Field(description="The GID of an area to limit the search to.")] = None,
|
321
321
|
layers: Annotated[Optional[List[GeocodingLayer]], Field(description="A list of layers to limit the search to.")] = None,
|
@@ -357,7 +357,7 @@ class GeocodingApi:
|
|
357
357
|
:type boundary_circle_lat: float
|
358
358
|
:param boundary_circle_lon: The longitude of the center of a circle to limit the search to. Requires `boundary.circle.lat`.
|
359
359
|
:type boundary_circle_lon: float
|
360
|
-
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified.
|
360
|
+
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 50km (search) or 1km (reverse) if unspecified.
|
361
361
|
:type boundary_circle_radius: float
|
362
362
|
:param boundary_country: A list of country codes in ISO 3116-1 alpha-2 or alpha-3 format.
|
363
363
|
:type boundary_country: List[str]
|
@@ -586,7 +586,7 @@ class GeocodingApi:
|
|
586
586
|
boundary_rect_max_lat: Annotated[Optional[Union[Annotated[float, Field(le=90, strict=True, ge=-90)], Annotated[int, Field(le=90, strict=True, ge=-90)]]], Field(description="The maximum latitude component of a search bounding box. NOTE: Requires all other boundary.rect parameters to be specified.")] = None,
|
587
587
|
boundary_rect_max_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="The maximum longitude component of a search bounding box. NOTE: Requires all other boundary.rect parameters to be specified.")] = None,
|
588
588
|
boundary_circle_lat: Annotated[Optional[Union[Annotated[float, Field(le=90, strict=True, ge=-90)], Annotated[int, Field(le=90, strict=True, ge=-90)]]], Field(description="The latitude of the center of a circle to limit the search to. NOTE: Requires boundary.circle.lon.")] = None,
|
589
|
-
boundary_circle_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="The longitude of the center of a circle to limit the search to. NOTE: Requires boundary.circle.
|
589
|
+
boundary_circle_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="The longitude of the center of a circle to limit the search to. NOTE: Requires boundary.circle.lat.")] = None,
|
590
590
|
boundary_circle_radius: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="The radius of the circle (in kilometers) to limit the search to. NOTE: Requires the other boundary.circle parameters to take effect. Defaults to 50km if unspecified.")] = None,
|
591
591
|
size: Annotated[Optional[Annotated[int, Field(le=25, strict=True, ge=1)]], Field(description="The maximum number of items to return from a query.")] = None,
|
592
592
|
lang: Annotated[Optional[StrictStr], Field(description="A BCP47 language tag which specifies a preference for localization of results. There is no default value, so place names will be returned as-is, which is usually in the local language. NOTE: The Accept-Language header is also respected, and many user agents will set it automatically.")] = None,
|
@@ -630,7 +630,7 @@ class GeocodingApi:
|
|
630
630
|
:type boundary_rect_max_lon: float
|
631
631
|
:param boundary_circle_lat: The latitude of the center of a circle to limit the search to. NOTE: Requires boundary.circle.lon.
|
632
632
|
:type boundary_circle_lat: float
|
633
|
-
:param boundary_circle_lon: The longitude of the center of a circle to limit the search to. NOTE: Requires boundary.circle.
|
633
|
+
:param boundary_circle_lon: The longitude of the center of a circle to limit the search to. NOTE: Requires boundary.circle.lat.
|
634
634
|
:type boundary_circle_lon: float
|
635
635
|
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. NOTE: Requires the other boundary.circle parameters to take effect. Defaults to 50km if unspecified.
|
636
636
|
:type boundary_circle_radius: int
|
@@ -714,7 +714,7 @@ class GeocodingApi:
|
|
714
714
|
boundary_rect_max_lat: Annotated[Optional[Union[Annotated[float, Field(le=90, strict=True, ge=-90)], Annotated[int, Field(le=90, strict=True, ge=-90)]]], Field(description="The maximum latitude component of a search bounding box. NOTE: Requires all other boundary.rect parameters to be specified.")] = None,
|
715
715
|
boundary_rect_max_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="The maximum longitude component of a search bounding box. NOTE: Requires all other boundary.rect parameters to be specified.")] = None,
|
716
716
|
boundary_circle_lat: Annotated[Optional[Union[Annotated[float, Field(le=90, strict=True, ge=-90)], Annotated[int, Field(le=90, strict=True, ge=-90)]]], Field(description="The latitude of the center of a circle to limit the search to. NOTE: Requires boundary.circle.lon.")] = None,
|
717
|
-
boundary_circle_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="The longitude of the center of a circle to limit the search to. NOTE: Requires boundary.circle.
|
717
|
+
boundary_circle_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="The longitude of the center of a circle to limit the search to. NOTE: Requires boundary.circle.lat.")] = None,
|
718
718
|
boundary_circle_radius: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="The radius of the circle (in kilometers) to limit the search to. NOTE: Requires the other boundary.circle parameters to take effect. Defaults to 50km if unspecified.")] = None,
|
719
719
|
size: Annotated[Optional[Annotated[int, Field(le=25, strict=True, ge=1)]], Field(description="The maximum number of items to return from a query.")] = None,
|
720
720
|
lang: Annotated[Optional[StrictStr], Field(description="A BCP47 language tag which specifies a preference for localization of results. There is no default value, so place names will be returned as-is, which is usually in the local language. NOTE: The Accept-Language header is also respected, and many user agents will set it automatically.")] = None,
|
@@ -758,7 +758,7 @@ class GeocodingApi:
|
|
758
758
|
:type boundary_rect_max_lon: float
|
759
759
|
:param boundary_circle_lat: The latitude of the center of a circle to limit the search to. NOTE: Requires boundary.circle.lon.
|
760
760
|
:type boundary_circle_lat: float
|
761
|
-
:param boundary_circle_lon: The longitude of the center of a circle to limit the search to. NOTE: Requires boundary.circle.
|
761
|
+
:param boundary_circle_lon: The longitude of the center of a circle to limit the search to. NOTE: Requires boundary.circle.lat.
|
762
762
|
:type boundary_circle_lon: float
|
763
763
|
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. NOTE: Requires the other boundary.circle parameters to take effect. Defaults to 50km if unspecified.
|
764
764
|
:type boundary_circle_radius: int
|
@@ -842,7 +842,7 @@ class GeocodingApi:
|
|
842
842
|
boundary_rect_max_lat: Annotated[Optional[Union[Annotated[float, Field(le=90, strict=True, ge=-90)], Annotated[int, Field(le=90, strict=True, ge=-90)]]], Field(description="The maximum latitude component of a search bounding box. NOTE: Requires all other boundary.rect parameters to be specified.")] = None,
|
843
843
|
boundary_rect_max_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="The maximum longitude component of a search bounding box. NOTE: Requires all other boundary.rect parameters to be specified.")] = None,
|
844
844
|
boundary_circle_lat: Annotated[Optional[Union[Annotated[float, Field(le=90, strict=True, ge=-90)], Annotated[int, Field(le=90, strict=True, ge=-90)]]], Field(description="The latitude of the center of a circle to limit the search to. NOTE: Requires boundary.circle.lon.")] = None,
|
845
|
-
boundary_circle_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="The longitude of the center of a circle to limit the search to. NOTE: Requires boundary.circle.
|
845
|
+
boundary_circle_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="The longitude of the center of a circle to limit the search to. NOTE: Requires boundary.circle.lat.")] = None,
|
846
846
|
boundary_circle_radius: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="The radius of the circle (in kilometers) to limit the search to. NOTE: Requires the other boundary.circle parameters to take effect. Defaults to 50km if unspecified.")] = None,
|
847
847
|
size: Annotated[Optional[Annotated[int, Field(le=25, strict=True, ge=1)]], Field(description="The maximum number of items to return from a query.")] = None,
|
848
848
|
lang: Annotated[Optional[StrictStr], Field(description="A BCP47 language tag which specifies a preference for localization of results. There is no default value, so place names will be returned as-is, which is usually in the local language. NOTE: The Accept-Language header is also respected, and many user agents will set it automatically.")] = None,
|
@@ -886,7 +886,7 @@ class GeocodingApi:
|
|
886
886
|
:type boundary_rect_max_lon: float
|
887
887
|
:param boundary_circle_lat: The latitude of the center of a circle to limit the search to. NOTE: Requires boundary.circle.lon.
|
888
888
|
:type boundary_circle_lat: float
|
889
|
-
:param boundary_circle_lon: The longitude of the center of a circle to limit the search to. NOTE: Requires boundary.circle.
|
889
|
+
:param boundary_circle_lon: The longitude of the center of a circle to limit the search to. NOTE: Requires boundary.circle.lat.
|
890
890
|
:type boundary_circle_lon: float
|
891
891
|
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. NOTE: Requires the other boundary.circle parameters to take effect. Defaults to 50km if unspecified.
|
892
892
|
:type boundary_circle_radius: int
|
@@ -1668,7 +1668,7 @@ class GeocodingApi:
|
|
1668
1668
|
self,
|
1669
1669
|
point_lat: Annotated[Union[Annotated[float, Field(le=90, strict=True, ge=-90)], Annotated[int, Field(le=90, strict=True, ge=-90)]], Field(description="The latitude of the point at which to perform the search.")],
|
1670
1670
|
point_lon: Annotated[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]], Field(description="The longitude of the point at which to perform the search.")],
|
1671
|
-
boundary_circle_radius: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified.")] = None,
|
1671
|
+
boundary_circle_radius: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 50km (search) or 1km (reverse) if unspecified.")] = None,
|
1672
1672
|
layers: Annotated[Optional[List[GeocodingLayer]], Field(description="A list of layers to limit the search to.")] = None,
|
1673
1673
|
sources: Annotated[Optional[List[GeocodingSource]], Field(description="A list of sources to limit the search to.")] = None,
|
1674
1674
|
boundary_country: Annotated[Optional[List[StrictStr]], Field(description="A list of country codes in ISO 3116-1 alpha-2 or alpha-3 format.")] = None,
|
@@ -1696,7 +1696,7 @@ class GeocodingApi:
|
|
1696
1696
|
:type point_lat: float
|
1697
1697
|
:param point_lon: The longitude of the point at which to perform the search. (required)
|
1698
1698
|
:type point_lon: float
|
1699
|
-
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified.
|
1699
|
+
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 50km (search) or 1km (reverse) if unspecified.
|
1700
1700
|
:type boundary_circle_radius: float
|
1701
1701
|
:param layers: A list of layers to limit the search to.
|
1702
1702
|
:type layers: List[GeocodingLayer]
|
@@ -1768,7 +1768,7 @@ class GeocodingApi:
|
|
1768
1768
|
self,
|
1769
1769
|
point_lat: Annotated[Union[Annotated[float, Field(le=90, strict=True, ge=-90)], Annotated[int, Field(le=90, strict=True, ge=-90)]], Field(description="The latitude of the point at which to perform the search.")],
|
1770
1770
|
point_lon: Annotated[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]], Field(description="The longitude of the point at which to perform the search.")],
|
1771
|
-
boundary_circle_radius: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified.")] = None,
|
1771
|
+
boundary_circle_radius: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 50km (search) or 1km (reverse) if unspecified.")] = None,
|
1772
1772
|
layers: Annotated[Optional[List[GeocodingLayer]], Field(description="A list of layers to limit the search to.")] = None,
|
1773
1773
|
sources: Annotated[Optional[List[GeocodingSource]], Field(description="A list of sources to limit the search to.")] = None,
|
1774
1774
|
boundary_country: Annotated[Optional[List[StrictStr]], Field(description="A list of country codes in ISO 3116-1 alpha-2 or alpha-3 format.")] = None,
|
@@ -1796,7 +1796,7 @@ class GeocodingApi:
|
|
1796
1796
|
:type point_lat: float
|
1797
1797
|
:param point_lon: The longitude of the point at which to perform the search. (required)
|
1798
1798
|
:type point_lon: float
|
1799
|
-
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified.
|
1799
|
+
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 50km (search) or 1km (reverse) if unspecified.
|
1800
1800
|
:type boundary_circle_radius: float
|
1801
1801
|
:param layers: A list of layers to limit the search to.
|
1802
1802
|
:type layers: List[GeocodingLayer]
|
@@ -1868,7 +1868,7 @@ class GeocodingApi:
|
|
1868
1868
|
self,
|
1869
1869
|
point_lat: Annotated[Union[Annotated[float, Field(le=90, strict=True, ge=-90)], Annotated[int, Field(le=90, strict=True, ge=-90)]], Field(description="The latitude of the point at which to perform the search.")],
|
1870
1870
|
point_lon: Annotated[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]], Field(description="The longitude of the point at which to perform the search.")],
|
1871
|
-
boundary_circle_radius: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified.")] = None,
|
1871
|
+
boundary_circle_radius: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 50km (search) or 1km (reverse) if unspecified.")] = None,
|
1872
1872
|
layers: Annotated[Optional[List[GeocodingLayer]], Field(description="A list of layers to limit the search to.")] = None,
|
1873
1873
|
sources: Annotated[Optional[List[GeocodingSource]], Field(description="A list of sources to limit the search to.")] = None,
|
1874
1874
|
boundary_country: Annotated[Optional[List[StrictStr]], Field(description="A list of country codes in ISO 3116-1 alpha-2 or alpha-3 format.")] = None,
|
@@ -1896,7 +1896,7 @@ class GeocodingApi:
|
|
1896
1896
|
:type point_lat: float
|
1897
1897
|
:param point_lon: The longitude of the point at which to perform the search. (required)
|
1898
1898
|
:type point_lon: float
|
1899
|
-
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified.
|
1899
|
+
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 50km (search) or 1km (reverse) if unspecified.
|
1900
1900
|
:type boundary_circle_radius: float
|
1901
1901
|
:param layers: A list of layers to limit the search to.
|
1902
1902
|
:type layers: List[GeocodingLayer]
|
@@ -2077,9 +2077,7 @@ class GeocodingApi:
|
|
2077
2077
|
sources: Annotated[Optional[List[SourceId]], Field(description="A list of sources to limit the search to.")] = None,
|
2078
2078
|
boundary_gid: Annotated[Optional[StrictStr], Field(description="The GID of a region to limit the search to. Note: these are not stable for all datasets! For example, OSM features may be deleted and re-added with a new ID.")] = None,
|
2079
2079
|
boundary_country: Annotated[Optional[List[StrictStr]], Field(description="A list of comma-separated country codes in ISO 3116-1 alpha-2 or alpha-3 format. The search will be limited to these countries.")] = None,
|
2080
|
-
|
2081
|
-
boundary_circle_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="The longitude of the center of a circle to limit the search to. NOTE: Requires boundary.circle.lat.")] = None,
|
2082
|
-
boundary_circle_radius: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="The radius of the circle (in kilometers) to limit the search to. NOTE: Requires the other boundary.circle parameters to take effect. Defaults to 2km if unspecified.")] = None,
|
2080
|
+
boundary_circle_radius: Annotated[Optional[Annotated[int, Field(le=25, strict=True, ge=0)]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 1km if unspecified.")] = None,
|
2083
2081
|
size: Annotated[Optional[Annotated[int, Field(le=25, strict=True, ge=1)]], Field(description="The maximum number of items to return from a query.")] = None,
|
2084
2082
|
lang: Annotated[Optional[StrictStr], Field(description="A BCP47 language tag which specifies a preference for localization of results. There is no default value, so place names will be returned as-is, which is usually in the local language. NOTE: The Accept-Language header is also respected, and many user agents will set it automatically.")] = None,
|
2085
2083
|
_request_timeout: Union[
|
@@ -2110,11 +2108,7 @@ class GeocodingApi:
|
|
2110
2108
|
:type boundary_gid: str
|
2111
2109
|
:param boundary_country: A list of comma-separated country codes in ISO 3116-1 alpha-2 or alpha-3 format. The search will be limited to these countries.
|
2112
2110
|
:type boundary_country: List[str]
|
2113
|
-
:param
|
2114
|
-
:type boundary_circle_lat: float
|
2115
|
-
:param boundary_circle_lon: The longitude of the center of a circle to limit the search to. NOTE: Requires boundary.circle.lat.
|
2116
|
-
:type boundary_circle_lon: float
|
2117
|
-
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. NOTE: Requires the other boundary.circle parameters to take effect. Defaults to 2km if unspecified.
|
2111
|
+
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 1km if unspecified.
|
2118
2112
|
:type boundary_circle_radius: int
|
2119
2113
|
:param size: The maximum number of items to return from a query.
|
2120
2114
|
:type size: int
|
@@ -2149,8 +2143,6 @@ class GeocodingApi:
|
|
2149
2143
|
sources=sources,
|
2150
2144
|
boundary_gid=boundary_gid,
|
2151
2145
|
boundary_country=boundary_country,
|
2152
|
-
boundary_circle_lat=boundary_circle_lat,
|
2153
|
-
boundary_circle_lon=boundary_circle_lon,
|
2154
2146
|
boundary_circle_radius=boundary_circle_radius,
|
2155
2147
|
size=size,
|
2156
2148
|
lang=lang,
|
@@ -2185,9 +2177,7 @@ class GeocodingApi:
|
|
2185
2177
|
sources: Annotated[Optional[List[SourceId]], Field(description="A list of sources to limit the search to.")] = None,
|
2186
2178
|
boundary_gid: Annotated[Optional[StrictStr], Field(description="The GID of a region to limit the search to. Note: these are not stable for all datasets! For example, OSM features may be deleted and re-added with a new ID.")] = None,
|
2187
2179
|
boundary_country: Annotated[Optional[List[StrictStr]], Field(description="A list of comma-separated country codes in ISO 3116-1 alpha-2 or alpha-3 format. The search will be limited to these countries.")] = None,
|
2188
|
-
|
2189
|
-
boundary_circle_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="The longitude of the center of a circle to limit the search to. NOTE: Requires boundary.circle.lat.")] = None,
|
2190
|
-
boundary_circle_radius: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="The radius of the circle (in kilometers) to limit the search to. NOTE: Requires the other boundary.circle parameters to take effect. Defaults to 2km if unspecified.")] = None,
|
2180
|
+
boundary_circle_radius: Annotated[Optional[Annotated[int, Field(le=25, strict=True, ge=0)]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 1km if unspecified.")] = None,
|
2191
2181
|
size: Annotated[Optional[Annotated[int, Field(le=25, strict=True, ge=1)]], Field(description="The maximum number of items to return from a query.")] = None,
|
2192
2182
|
lang: Annotated[Optional[StrictStr], Field(description="A BCP47 language tag which specifies a preference for localization of results. There is no default value, so place names will be returned as-is, which is usually in the local language. NOTE: The Accept-Language header is also respected, and many user agents will set it automatically.")] = None,
|
2193
2183
|
_request_timeout: Union[
|
@@ -2218,11 +2208,7 @@ class GeocodingApi:
|
|
2218
2208
|
:type boundary_gid: str
|
2219
2209
|
:param boundary_country: A list of comma-separated country codes in ISO 3116-1 alpha-2 or alpha-3 format. The search will be limited to these countries.
|
2220
2210
|
:type boundary_country: List[str]
|
2221
|
-
:param
|
2222
|
-
:type boundary_circle_lat: float
|
2223
|
-
:param boundary_circle_lon: The longitude of the center of a circle to limit the search to. NOTE: Requires boundary.circle.lat.
|
2224
|
-
:type boundary_circle_lon: float
|
2225
|
-
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. NOTE: Requires the other boundary.circle parameters to take effect. Defaults to 2km if unspecified.
|
2211
|
+
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 1km if unspecified.
|
2226
2212
|
:type boundary_circle_radius: int
|
2227
2213
|
:param size: The maximum number of items to return from a query.
|
2228
2214
|
:type size: int
|
@@ -2257,8 +2243,6 @@ class GeocodingApi:
|
|
2257
2243
|
sources=sources,
|
2258
2244
|
boundary_gid=boundary_gid,
|
2259
2245
|
boundary_country=boundary_country,
|
2260
|
-
boundary_circle_lat=boundary_circle_lat,
|
2261
|
-
boundary_circle_lon=boundary_circle_lon,
|
2262
2246
|
boundary_circle_radius=boundary_circle_radius,
|
2263
2247
|
size=size,
|
2264
2248
|
lang=lang,
|
@@ -2293,9 +2277,7 @@ class GeocodingApi:
|
|
2293
2277
|
sources: Annotated[Optional[List[SourceId]], Field(description="A list of sources to limit the search to.")] = None,
|
2294
2278
|
boundary_gid: Annotated[Optional[StrictStr], Field(description="The GID of a region to limit the search to. Note: these are not stable for all datasets! For example, OSM features may be deleted and re-added with a new ID.")] = None,
|
2295
2279
|
boundary_country: Annotated[Optional[List[StrictStr]], Field(description="A list of comma-separated country codes in ISO 3116-1 alpha-2 or alpha-3 format. The search will be limited to these countries.")] = None,
|
2296
|
-
|
2297
|
-
boundary_circle_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="The longitude of the center of a circle to limit the search to. NOTE: Requires boundary.circle.lat.")] = None,
|
2298
|
-
boundary_circle_radius: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="The radius of the circle (in kilometers) to limit the search to. NOTE: Requires the other boundary.circle parameters to take effect. Defaults to 2km if unspecified.")] = None,
|
2280
|
+
boundary_circle_radius: Annotated[Optional[Annotated[int, Field(le=25, strict=True, ge=0)]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 1km if unspecified.")] = None,
|
2299
2281
|
size: Annotated[Optional[Annotated[int, Field(le=25, strict=True, ge=1)]], Field(description="The maximum number of items to return from a query.")] = None,
|
2300
2282
|
lang: Annotated[Optional[StrictStr], Field(description="A BCP47 language tag which specifies a preference for localization of results. There is no default value, so place names will be returned as-is, which is usually in the local language. NOTE: The Accept-Language header is also respected, and many user agents will set it automatically.")] = None,
|
2301
2283
|
_request_timeout: Union[
|
@@ -2326,11 +2308,7 @@ class GeocodingApi:
|
|
2326
2308
|
:type boundary_gid: str
|
2327
2309
|
:param boundary_country: A list of comma-separated country codes in ISO 3116-1 alpha-2 or alpha-3 format. The search will be limited to these countries.
|
2328
2310
|
:type boundary_country: List[str]
|
2329
|
-
:param
|
2330
|
-
:type boundary_circle_lat: float
|
2331
|
-
:param boundary_circle_lon: The longitude of the center of a circle to limit the search to. NOTE: Requires boundary.circle.lat.
|
2332
|
-
:type boundary_circle_lon: float
|
2333
|
-
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. NOTE: Requires the other boundary.circle parameters to take effect. Defaults to 2km if unspecified.
|
2311
|
+
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 1km if unspecified.
|
2334
2312
|
:type boundary_circle_radius: int
|
2335
2313
|
:param size: The maximum number of items to return from a query.
|
2336
2314
|
:type size: int
|
@@ -2365,8 +2343,6 @@ class GeocodingApi:
|
|
2365
2343
|
sources=sources,
|
2366
2344
|
boundary_gid=boundary_gid,
|
2367
2345
|
boundary_country=boundary_country,
|
2368
|
-
boundary_circle_lat=boundary_circle_lat,
|
2369
|
-
boundary_circle_lon=boundary_circle_lon,
|
2370
2346
|
boundary_circle_radius=boundary_circle_radius,
|
2371
2347
|
size=size,
|
2372
2348
|
lang=lang,
|
@@ -2396,8 +2372,6 @@ class GeocodingApi:
|
|
2396
2372
|
sources,
|
2397
2373
|
boundary_gid,
|
2398
2374
|
boundary_country,
|
2399
|
-
boundary_circle_lat,
|
2400
|
-
boundary_circle_lon,
|
2401
2375
|
boundary_circle_radius,
|
2402
2376
|
size,
|
2403
2377
|
lang,
|
@@ -2450,14 +2424,6 @@ class GeocodingApi:
|
|
2450
2424
|
|
2451
2425
|
_query_params.append(('boundary.country', boundary_country))
|
2452
2426
|
|
2453
|
-
if boundary_circle_lat is not None:
|
2454
|
-
|
2455
|
-
_query_params.append(('boundary.circle.lat', boundary_circle_lat))
|
2456
|
-
|
2457
|
-
if boundary_circle_lon is not None:
|
2458
|
-
|
2459
|
-
_query_params.append(('boundary.circle.lon', boundary_circle_lon))
|
2460
|
-
|
2461
2427
|
if boundary_circle_radius is not None:
|
2462
2428
|
|
2463
2429
|
_query_params.append(('boundary.circle.radius', boundary_circle_radius))
|
@@ -2519,7 +2485,7 @@ class GeocodingApi:
|
|
2519
2485
|
boundary_rect_max_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="Defines the max longitude component of a bounding box to limit the search to. Requires all other `boundary.rect` parameters to be specified.")] = None,
|
2520
2486
|
boundary_circle_lat: Annotated[Optional[Union[Annotated[float, Field(le=90, strict=True, ge=-90)], Annotated[int, Field(le=90, strict=True, ge=-90)]]], Field(description="The latitude of the center of a circle to limit the search to. Requires `boundary.circle.lon`.")] = None,
|
2521
2487
|
boundary_circle_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="The longitude of the center of a circle to limit the search to. Requires `boundary.circle.lat`.")] = None,
|
2522
|
-
boundary_circle_radius: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified.")] = None,
|
2488
|
+
boundary_circle_radius: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 50km (search) or 1km (reverse) if unspecified.")] = None,
|
2523
2489
|
boundary_country: Annotated[Optional[List[StrictStr]], Field(description="A list of country codes in ISO 3116-1 alpha-2 or alpha-3 format.")] = None,
|
2524
2490
|
boundary_gid: Annotated[Optional[StrictStr], Field(description="The GID of an area to limit the search to.")] = None,
|
2525
2491
|
layers: Annotated[Optional[List[GeocodingLayer]], Field(description="A list of layers to limit the search to.")] = None,
|
@@ -2561,7 +2527,7 @@ class GeocodingApi:
|
|
2561
2527
|
:type boundary_circle_lat: float
|
2562
2528
|
:param boundary_circle_lon: The longitude of the center of a circle to limit the search to. Requires `boundary.circle.lat`.
|
2563
2529
|
:type boundary_circle_lon: float
|
2564
|
-
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified.
|
2530
|
+
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 50km (search) or 1km (reverse) if unspecified.
|
2565
2531
|
:type boundary_circle_radius: float
|
2566
2532
|
:param boundary_country: A list of country codes in ISO 3116-1 alpha-2 or alpha-3 format.
|
2567
2533
|
:type boundary_country: List[str]
|
@@ -2647,7 +2613,7 @@ class GeocodingApi:
|
|
2647
2613
|
boundary_rect_max_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="Defines the max longitude component of a bounding box to limit the search to. Requires all other `boundary.rect` parameters to be specified.")] = None,
|
2648
2614
|
boundary_circle_lat: Annotated[Optional[Union[Annotated[float, Field(le=90, strict=True, ge=-90)], Annotated[int, Field(le=90, strict=True, ge=-90)]]], Field(description="The latitude of the center of a circle to limit the search to. Requires `boundary.circle.lon`.")] = None,
|
2649
2615
|
boundary_circle_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="The longitude of the center of a circle to limit the search to. Requires `boundary.circle.lat`.")] = None,
|
2650
|
-
boundary_circle_radius: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified.")] = None,
|
2616
|
+
boundary_circle_radius: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 50km (search) or 1km (reverse) if unspecified.")] = None,
|
2651
2617
|
boundary_country: Annotated[Optional[List[StrictStr]], Field(description="A list of country codes in ISO 3116-1 alpha-2 or alpha-3 format.")] = None,
|
2652
2618
|
boundary_gid: Annotated[Optional[StrictStr], Field(description="The GID of an area to limit the search to.")] = None,
|
2653
2619
|
layers: Annotated[Optional[List[GeocodingLayer]], Field(description="A list of layers to limit the search to.")] = None,
|
@@ -2689,7 +2655,7 @@ class GeocodingApi:
|
|
2689
2655
|
:type boundary_circle_lat: float
|
2690
2656
|
:param boundary_circle_lon: The longitude of the center of a circle to limit the search to. Requires `boundary.circle.lat`.
|
2691
2657
|
:type boundary_circle_lon: float
|
2692
|
-
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified.
|
2658
|
+
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 50km (search) or 1km (reverse) if unspecified.
|
2693
2659
|
:type boundary_circle_radius: float
|
2694
2660
|
:param boundary_country: A list of country codes in ISO 3116-1 alpha-2 or alpha-3 format.
|
2695
2661
|
:type boundary_country: List[str]
|
@@ -2775,7 +2741,7 @@ class GeocodingApi:
|
|
2775
2741
|
boundary_rect_max_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="Defines the max longitude component of a bounding box to limit the search to. Requires all other `boundary.rect` parameters to be specified.")] = None,
|
2776
2742
|
boundary_circle_lat: Annotated[Optional[Union[Annotated[float, Field(le=90, strict=True, ge=-90)], Annotated[int, Field(le=90, strict=True, ge=-90)]]], Field(description="The latitude of the center of a circle to limit the search to. Requires `boundary.circle.lon`.")] = None,
|
2777
2743
|
boundary_circle_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="The longitude of the center of a circle to limit the search to. Requires `boundary.circle.lat`.")] = None,
|
2778
|
-
boundary_circle_radius: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified.")] = None,
|
2744
|
+
boundary_circle_radius: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 50km (search) or 1km (reverse) if unspecified.")] = None,
|
2779
2745
|
boundary_country: Annotated[Optional[List[StrictStr]], Field(description="A list of country codes in ISO 3116-1 alpha-2 or alpha-3 format.")] = None,
|
2780
2746
|
boundary_gid: Annotated[Optional[StrictStr], Field(description="The GID of an area to limit the search to.")] = None,
|
2781
2747
|
layers: Annotated[Optional[List[GeocodingLayer]], Field(description="A list of layers to limit the search to.")] = None,
|
@@ -2817,7 +2783,7 @@ class GeocodingApi:
|
|
2817
2783
|
:type boundary_circle_lat: float
|
2818
2784
|
:param boundary_circle_lon: The longitude of the center of a circle to limit the search to. Requires `boundary.circle.lat`.
|
2819
2785
|
:type boundary_circle_lon: float
|
2820
|
-
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified.
|
2786
|
+
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 50km (search) or 1km (reverse) if unspecified.
|
2821
2787
|
:type boundary_circle_radius: float
|
2822
2788
|
:param boundary_country: A list of country codes in ISO 3116-1 alpha-2 or alpha-3 format.
|
2823
2789
|
:type boundary_country: List[str]
|
@@ -3328,7 +3294,7 @@ class GeocodingApi:
|
|
3328
3294
|
boundary_rect_max_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="Defines the max longitude component of a bounding box to limit the search to. Requires all other `boundary.rect` parameters to be specified.")] = None,
|
3329
3295
|
boundary_circle_lat: Annotated[Optional[Union[Annotated[float, Field(le=90, strict=True, ge=-90)], Annotated[int, Field(le=90, strict=True, ge=-90)]]], Field(description="The latitude of the center of a circle to limit the search to. Requires `boundary.circle.lon`.")] = None,
|
3330
3296
|
boundary_circle_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="The longitude of the center of a circle to limit the search to. Requires `boundary.circle.lat`.")] = None,
|
3331
|
-
boundary_circle_radius: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified.")] = None,
|
3297
|
+
boundary_circle_radius: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 50km (search) or 1km (reverse) if unspecified.")] = None,
|
3332
3298
|
boundary_country: Annotated[Optional[List[StrictStr]], Field(description="A list of country codes in ISO 3116-1 alpha-2 or alpha-3 format.")] = None,
|
3333
3299
|
boundary_gid: Annotated[Optional[StrictStr], Field(description="The GID of an area to limit the search to.")] = None,
|
3334
3300
|
layers: Annotated[Optional[List[GeocodingLayer]], Field(description="A list of layers to limit the search to.")] = None,
|
@@ -3384,7 +3350,7 @@ class GeocodingApi:
|
|
3384
3350
|
:type boundary_circle_lat: float
|
3385
3351
|
:param boundary_circle_lon: The longitude of the center of a circle to limit the search to. Requires `boundary.circle.lat`.
|
3386
3352
|
:type boundary_circle_lon: float
|
3387
|
-
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified.
|
3353
|
+
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 50km (search) or 1km (reverse) if unspecified.
|
3388
3354
|
:type boundary_circle_radius: float
|
3389
3355
|
:param boundary_country: A list of country codes in ISO 3116-1 alpha-2 or alpha-3 format.
|
3390
3356
|
:type boundary_country: List[str]
|
@@ -3484,7 +3450,7 @@ class GeocodingApi:
|
|
3484
3450
|
boundary_rect_max_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="Defines the max longitude component of a bounding box to limit the search to. Requires all other `boundary.rect` parameters to be specified.")] = None,
|
3485
3451
|
boundary_circle_lat: Annotated[Optional[Union[Annotated[float, Field(le=90, strict=True, ge=-90)], Annotated[int, Field(le=90, strict=True, ge=-90)]]], Field(description="The latitude of the center of a circle to limit the search to. Requires `boundary.circle.lon`.")] = None,
|
3486
3452
|
boundary_circle_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="The longitude of the center of a circle to limit the search to. Requires `boundary.circle.lat`.")] = None,
|
3487
|
-
boundary_circle_radius: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified.")] = None,
|
3453
|
+
boundary_circle_radius: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 50km (search) or 1km (reverse) if unspecified.")] = None,
|
3488
3454
|
boundary_country: Annotated[Optional[List[StrictStr]], Field(description="A list of country codes in ISO 3116-1 alpha-2 or alpha-3 format.")] = None,
|
3489
3455
|
boundary_gid: Annotated[Optional[StrictStr], Field(description="The GID of an area to limit the search to.")] = None,
|
3490
3456
|
layers: Annotated[Optional[List[GeocodingLayer]], Field(description="A list of layers to limit the search to.")] = None,
|
@@ -3540,7 +3506,7 @@ class GeocodingApi:
|
|
3540
3506
|
:type boundary_circle_lat: float
|
3541
3507
|
:param boundary_circle_lon: The longitude of the center of a circle to limit the search to. Requires `boundary.circle.lat`.
|
3542
3508
|
:type boundary_circle_lon: float
|
3543
|
-
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified.
|
3509
|
+
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 50km (search) or 1km (reverse) if unspecified.
|
3544
3510
|
:type boundary_circle_radius: float
|
3545
3511
|
:param boundary_country: A list of country codes in ISO 3116-1 alpha-2 or alpha-3 format.
|
3546
3512
|
:type boundary_country: List[str]
|
@@ -3640,7 +3606,7 @@ class GeocodingApi:
|
|
3640
3606
|
boundary_rect_max_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="Defines the max longitude component of a bounding box to limit the search to. Requires all other `boundary.rect` parameters to be specified.")] = None,
|
3641
3607
|
boundary_circle_lat: Annotated[Optional[Union[Annotated[float, Field(le=90, strict=True, ge=-90)], Annotated[int, Field(le=90, strict=True, ge=-90)]]], Field(description="The latitude of the center of a circle to limit the search to. Requires `boundary.circle.lon`.")] = None,
|
3642
3608
|
boundary_circle_lon: Annotated[Optional[Union[Annotated[float, Field(le=180, strict=True, ge=-180)], Annotated[int, Field(le=180, strict=True, ge=-180)]]], Field(description="The longitude of the center of a circle to limit the search to. Requires `boundary.circle.lat`.")] = None,
|
3643
|
-
boundary_circle_radius: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified.")] = None,
|
3609
|
+
boundary_circle_radius: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="The radius of the circle (in kilometers) to limit the search to. Defaults to 50km (search) or 1km (reverse) if unspecified.")] = None,
|
3644
3610
|
boundary_country: Annotated[Optional[List[StrictStr]], Field(description="A list of country codes in ISO 3116-1 alpha-2 or alpha-3 format.")] = None,
|
3645
3611
|
boundary_gid: Annotated[Optional[StrictStr], Field(description="The GID of an area to limit the search to.")] = None,
|
3646
3612
|
layers: Annotated[Optional[List[GeocodingLayer]], Field(description="A list of layers to limit the search to.")] = None,
|
@@ -3696,7 +3662,7 @@ class GeocodingApi:
|
|
3696
3662
|
:type boundary_circle_lat: float
|
3697
3663
|
:param boundary_circle_lon: The longitude of the center of a circle to limit the search to. Requires `boundary.circle.lat`.
|
3698
3664
|
:type boundary_circle_lon: float
|
3699
|
-
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified.
|
3665
|
+
:param boundary_circle_radius: The radius of the circle (in kilometers) to limit the search to. Defaults to 50km (search) or 1km (reverse) if unspecified.
|
3700
3666
|
:type boundary_circle_radius: float
|
3701
3667
|
:param boundary_country: A list of country codes in ISO 3116-1 alpha-2 or alpha-3 format.
|
3702
3668
|
:type boundary_country: List[str]
|
stadiamaps/api/geospatial_api.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 9.
|
8
|
+
The version of the OpenAPI document: 9.3.0
|
9
9
|
Contact: support@stadiamaps.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -338,9 +338,9 @@ class GeospatialApi:
|
|
338
338
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
339
339
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
340
340
|
) -> TzResponse:
|
341
|
-
"""Get
|
341
|
+
"""Get time zone information for any point on earth.
|
342
342
|
|
343
|
-
|
343
|
+
Retrieve the time zone identifier, standard UTC offset, special offset (such as DST), and the localized time in several common formats.
|
344
344
|
|
345
345
|
:param lat: The latitude of the point you are interested in. (required)
|
346
346
|
:type lat: float
|
@@ -414,9 +414,9 @@ class GeospatialApi:
|
|
414
414
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
415
415
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
416
416
|
) -> ApiResponse[TzResponse]:
|
417
|
-
"""Get
|
417
|
+
"""Get time zone information for any point on earth.
|
418
418
|
|
419
|
-
|
419
|
+
Retrieve the time zone identifier, standard UTC offset, special offset (such as DST), and the localized time in several common formats.
|
420
420
|
|
421
421
|
:param lat: The latitude of the point you are interested in. (required)
|
422
422
|
:type lat: float
|
@@ -490,9 +490,9 @@ class GeospatialApi:
|
|
490
490
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
491
491
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
492
492
|
) -> RESTResponseType:
|
493
|
-
"""Get
|
493
|
+
"""Get time zone information for any point on earth.
|
494
494
|
|
495
|
-
|
495
|
+
Retrieve the time zone identifier, standard UTC offset, special offset (such as DST), and the localized time in several common formats.
|
496
496
|
|
497
497
|
:param lat: The latitude of the point you are interested in. (required)
|
498
498
|
:type lat: float
|
stadiamaps/api/routing_api.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 9.
|
8
|
+
The version of the OpenAPI document: 9.3.0
|
9
9
|
Contact: support@stadiamaps.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
stadiamaps/api_client.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 9.
|
8
|
+
The version of the OpenAPI document: 9.3.0
|
9
9
|
Contact: support@stadiamaps.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -91,7 +91,7 @@ class ApiClient:
|
|
91
91
|
self.default_headers[header_name] = header_value
|
92
92
|
self.cookie = cookie
|
93
93
|
# Set default User-Agent.
|
94
|
-
self.user_agent = 'OpenAPI-Generator/6.
|
94
|
+
self.user_agent = 'OpenAPI-Generator/6.3.0/python'
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
96
96
|
|
97
97
|
def __enter__(self):
|
stadiamaps/configuration.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 9.
|
8
|
+
The version of the OpenAPI document: 9.3.0
|
9
9
|
Contact: support@stadiamaps.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -524,8 +524,8 @@ conf = stadiamaps.Configuration(
|
|
524
524
|
return "Python SDK Debug Report:\n"\
|
525
525
|
"OS: {env}\n"\
|
526
526
|
"Python Version: {pyversion}\n"\
|
527
|
-
"Version of the API: 9.
|
528
|
-
"SDK Package Version: 6.
|
527
|
+
"Version of the API: 9.3.0\n"\
|
528
|
+
"SDK Package Version: 6.3.0".\
|
529
529
|
format(env=sys.platform, pyversion=sys.version)
|
530
530
|
|
531
531
|
def get_host_settings(self) -> List[HostSetting]:
|
stadiamaps/exceptions.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 9.
|
8
|
+
The version of the OpenAPI document: 9.3.0
|
9
9
|
Contact: support@stadiamaps.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
stadiamaps/models/__init__.py
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
|
8
8
|
|
9
|
-
The version of the OpenAPI document: 9.
|
9
|
+
The version of the OpenAPI document: 9.3.0
|
10
10
|
Contact: support@stadiamaps.com
|
11
11
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
12
12
|
|
stadiamaps/models/access.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 9.
|
8
|
+
The version of the OpenAPI document: 9.3.0
|
9
9
|
Contact: support@stadiamaps.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
stadiamaps/models/addendum_v2.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 9.
|
8
|
+
The version of the OpenAPI document: 9.3.0
|
9
9
|
Contact: support@stadiamaps.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 9.
|
8
|
+
The version of the OpenAPI document: 9.3.0
|
9
9
|
Contact: support@stadiamaps.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 9.
|
8
|
+
The version of the OpenAPI document: 9.3.0
|
9
9
|
Contact: support@stadiamaps.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 9.
|
8
|
+
The version of the OpenAPI document: 9.3.0
|
9
9
|
Contact: support@stadiamaps.com
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
11
11
|
|