-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve modeling of bulk geocoding request
- Loading branch information
1 parent
2b4dbad
commit 17d149c
Showing
113 changed files
with
473 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# BulkRequestQuery | ||
|
||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**text** | **str** | The place name (address, venue name, etc.) to search for. | [optional] | ||
**focus_point_lat** | **float** | The latitude of the point to focus the search on. This will bias results toward the focus point. Requires `focus.point.lon`. | [optional] | ||
**focus_point_lon** | **float** | The longitude of the point to focus the search on. This will bias results toward the focus point. Requires `focus.point.lat`. | [optional] | ||
**boundary_rect_min_lat** | **float** | Defines the min latitude component of a bounding box to limit the search to. Requires all other `boundary.rect` parameters to be specified. | [optional] | ||
**boundary_rect_max_lat** | **float** | Defines the max latitude component of a bounding box to limit the search to. Requires all other `boundary.rect` parameters to be specified. | [optional] | ||
**boundary_rect_min_lon** | **float** | Defines the min longitude component of a bounding box to limit the search to. Requires all other `boundary.rect` parameters to be specified. | [optional] | ||
**boundary_rect_max_lon** | **float** | Defines the max longitude component of a bounding box to limit the search to. Requires all other `boundary.rect` parameters to be specified. | [optional] | ||
**boundary_circle_lat** | **float** | The latitude of the center of a circle to limit the search to. Requires `boundary.circle.lon`. | [optional] | ||
**boundary_circle_lon** | **float** | The longitude of the center of a circle to limit the search to. Requires `boundary.circle.lat`. | [optional] | ||
**boundary_circle_radius** | **float** | The radius of the circle (in kilometers) to limit the search to. Defaults to 50km if unspecified. | [optional] | ||
**boundary_country** | **List[str]** | A list of countries to limit the search to. These may be either full names (ex: Canada), or an ISO 3116-1 alpha-2 or alpha-3 code. Prefer ISO codes when possible. | [optional] | ||
**boundary_gid** | **str** | The Pelias GID of an area to limit the search to. | [optional] | ||
**layers** | [**List[PeliasLayer]**](PeliasLayer.md) | A list of layers to limit the search to. | [optional] | ||
**sources** | [**List[PeliasSource]**](PeliasSource.md) | A list of sources to limit the search to. | [optional] | ||
**size** | **int** | The maximum number of results to return. | [optional] | ||
**lang** | **str** | A BCP47 language tag which specifies a preference for localization of results. By default, results are in the default locale of the source data, but specifying a language will attempt to localize the results. Note that while a `langtag` (in RFC 5646 terms) can contain script, region, etc., only the `language` portion, an ISO 639 code, will be considered. So `en-US` and `en-GB` will both be treated as English. | [optional] | ||
**address** | **str** | A street name, optionally with a house number. | [optional] | ||
**neighbourhood** | **str** | Varies by area, but has a locally specific meaning (NOT always an official administrative unit). | [optional] | ||
**borough** | **str** | A unit within a city (not widely used, but present in places like NYC and Mexico City). | [optional] | ||
**locality** | **str** | The city, village, town, etc. that the place/address is part of. | [optional] | ||
**county** | **str** | Administrative divisions between localities and regions. Not commonly used as input to structured geocoding. | [optional] | ||
**region** | **str** | Typically the first administrative division within a country. For example, a US state or a Canadian province. | [optional] | ||
**postal_code** | **str** | A mail sorting code. | [optional] | ||
**country** | **str** | A full name (ex: Canada), or a 2 or 3 character ISO code. Prefer ISO codes when possible. | [optional] | ||
|
||
## Example | ||
|
||
```python | ||
from stadiamaps.models.bulk_request_query import BulkRequestQuery | ||
|
||
# TODO update the JSON string below | ||
json = "{}" | ||
# create an instance of BulkRequestQuery from a JSON string | ||
bulk_request_query_instance = BulkRequestQuery.from_json(json) | ||
# print the JSON string representation of the object | ||
print(BulkRequestQuery.to_json()) | ||
|
||
# convert the object into a dict | ||
bulk_request_query_dict = bulk_request_query_instance.to_dict() | ||
# create an instance of BulkRequestQuery from a dict | ||
bulk_request_query_from_dict = BulkRequestQuery.from_dict(bulk_request_query_dict) | ||
``` | ||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.