Skip to content

Commit

Permalink
Generated update for version 9.0.0. Please review before merging.
Browse files Browse the repository at this point in the history
  • Loading branch information
GitLab CI/CD committed Feb 5, 2025
1 parent 1d50279 commit db92c9c
Show file tree
Hide file tree
Showing 50 changed files with 259 additions and 97 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The openrouteservice library gives you painless access to the [openrouteservice]

| API Version | Package version | Build package |
| -------------- | ------------------ | ------------------ |
| 8.2.0 | 8.2.0 | io.swagger.codegen.v3.generators.python.PythonClientCodegen |
| 9.0.0 | 9.0.0 | io.swagger.codegen.v3.generators.python.PythonClientCodegen |

For further details, please visit:
- our [homepage](https://openrouteservice.org)
Expand Down
1 change: 1 addition & 0 deletions docs/DirectionsServiceBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Name | Type | Description | Notes
**maximum_speed** | **float** | The maximum speed specified by user. | [optional]
**options** | [**RouteOptions**](RouteOptions.md) | | [optional]
**preference** | **str** | Specifies the route preference | [optional] [default to 'recommended']
**profile_name** | **str** | | [optional]
**radiuses** | **list[float]** | A list of maximum distances (measured in metres) that limit the search of nearby road segments to every given waypoint. The values must be greater than 0, the value of -1 specifies using the maximum possible search radius. The number of radiuses correspond to the number of waypoints. If only a single value is given, it will be applied to all waypoints. | [optional]
**roundabout_exits** | **bool** | Provides bearings of the entrance and all passed roundabout exits. Adds the `exit_bearings` array to the step object in the response. | [optional] [default to False]
**schedule** | **bool** | If true, return a public transport schedule starting at <departure> for the next <schedule_duration> minutes. | [optional] [default to False]
Expand Down
1 change: 1 addition & 0 deletions docs/IsochronesProfileBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Name | Type | Description | Notes
**location_type** | **str** | `start` treats the location(s) as starting point, `destination` as goal. | [optional] [default to 'start']
**locations** | **list[list[float]]** | The locations to use for the route as an array of `longitude/latitude` pairs in WGS 84 (EPSG:4326) |
**options** | [**RouteOptions**](RouteOptions.md) | | [optional]
**profile_name** | **str** | | [optional]
**range** | **list[float]** | Maximum range value of the analysis in **seconds** for time and **metres** for distance.Alternatively a comma separated list of specific range values. Ranges will be the same for all locations. |
**range_type** | **str** | Specifies the isochrones reachability type. | [optional] [default to 'time']
**smoothing** | **float** | Applies a level of generalisation to the isochrone polygons generated as a `smoothing_factor` between `0` and `100.0`. Generalisation is produced by determining a maximum length of a connecting line between two points found on the outside of a containing polygon. If the distance is larger than a threshold value, the line between the two points is removed and a smaller connecting line between other points is used. Note that the minimum length of this connecting line is ~1333m, and so when the `smoothing_factor` results in a distance smaller than this, the minimum value is used. The threshold value is determined as `(maximum_radius_of_isochrone / 100) * smoothing_factor`. Therefore, a value closer to 100 will result in a more generalised shape. The polygon generation algorithm is based on Duckham and al. (2008) `\"Efficient generation of simple polygons for characterizing the shape of a set of points in the plane.\"` | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/MatrixProfileBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
**id** | **str** | Arbitrary identification string of the request reflected in the meta information. | [optional]
**locations** | **list[list[float]]** | List of comma separated lists of `longitude,latitude` coordinates in WGS 84 (EPSG:4326) |
**metrics** | **list[str]** | Specifies a list of returned metrics. \"* `distance` - Returns distance matrix for specified points in defined `units`. * `duration` - Returns duration matrix for specified points in **seconds**. | [optional]
**profile_name** | **str** | | [optional]
**resolve_locations** | **bool** | Specifies whether given locations are resolved or not. If the parameter value set to `true`, every element in `destinations` and `sources` will contain a `name` element that identifies the name of the closest street. Default is `false`. | [optional] [default to False]
**sources** | **list[str]** | A list of indices that refers to the list of locations (starting with `0`). `{index_1},{index_2}[,{index_N} ...]` or `all` (default). example `[0,3]` for the first and fourth locations | [optional]
**units** | **str** | Specifies the distance unit. Default: m. | [optional] [default to 'm']
Expand Down
1 change: 1 addition & 0 deletions docs/ProfileGeojsonBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **str** | Arbitrary identification string of the request reflected in the meta information. | [optional]
**locations** | **list[list[float]]** | The locations to be snapped as array of `longitude/latitude` pairs. |
**profile_name** | **str** | | [optional]
**radius** | **float** | Maximum radius in meters around given coordinates to search for graph edges. |

[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md)
Expand Down
1 change: 1 addition & 0 deletions docs/ProfileJsonBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **str** | Arbitrary identification string of the request reflected in the meta information. | [optional]
**locations** | **list[list[float]]** | The locations to be snapped as array of `longitude/latitude` pairs. |
**profile_name** | **str** | | [optional]
**radius** | **float** | Maximum radius in meters around given coordinates to search for graph edges. |

[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md)
Expand Down
1 change: 1 addition & 0 deletions docs/SnapProfileBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **str** | Arbitrary identification string of the request reflected in the meta information. | [optional]
**locations** | **list[list[float]]** | The locations to be snapped as array of `longitude/latitude` pairs. |
**profile_name** | **str** | | [optional]
**radius** | **float** | Maximum radius in meters around given coordinates to search for graph edges. |

[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md)
Expand Down
4 changes: 2 additions & 2 deletions openrouteservice/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"""
Openrouteservice
This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
This is the openrouteservice API documentation for ORS Core-Version 9.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
OpenAPI spec version: 8.2.0
OpenAPI spec version: 9.0.0
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
4 changes: 2 additions & 2 deletions openrouteservice/api/directions_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"""
Openrouteservice
This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
This is the openrouteservice API documentation for ORS Core-Version 9.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
OpenAPI spec version: 8.2.0
OpenAPI spec version: 9.0.0
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
4 changes: 2 additions & 2 deletions openrouteservice/api/elevation_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"""
Openrouteservice
This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
This is the openrouteservice API documentation for ORS Core-Version 9.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
OpenAPI spec version: 8.2.0
OpenAPI spec version: 9.0.0
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
4 changes: 2 additions & 2 deletions openrouteservice/api/geocode_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"""
Openrouteservice
This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
This is the openrouteservice API documentation for ORS Core-Version 9.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
OpenAPI spec version: 8.2.0
OpenAPI spec version: 9.0.0
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
4 changes: 2 additions & 2 deletions openrouteservice/api/isochrones_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"""
Openrouteservice
This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
This is the openrouteservice API documentation for ORS Core-Version 9.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
OpenAPI spec version: 8.2.0
OpenAPI spec version: 9.0.0
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
4 changes: 2 additions & 2 deletions openrouteservice/api/matrix_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"""
Openrouteservice
This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
This is the openrouteservice API documentation for ORS Core-Version 9.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
OpenAPI spec version: 8.2.0
OpenAPI spec version: 9.0.0
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
4 changes: 2 additions & 2 deletions openrouteservice/api/optimization_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"""
Openrouteservice
This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
This is the openrouteservice API documentation for ORS Core-Version 9.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
OpenAPI spec version: 8.2.0
OpenAPI spec version: 9.0.0
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
4 changes: 2 additions & 2 deletions openrouteservice/api/pois_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"""
Openrouteservice
This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
This is the openrouteservice API documentation for ORS Core-Version 9.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
OpenAPI spec version: 8.2.0
OpenAPI spec version: 9.0.0
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
4 changes: 2 additions & 2 deletions openrouteservice/api/snapping_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"""
Openrouteservice
This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
This is the openrouteservice API documentation for ORS Core-Version 9.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
OpenAPI spec version: 8.2.0
OpenAPI spec version: 9.0.0
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
6 changes: 3 additions & 3 deletions openrouteservice/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"""
Openrouteservice
This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
This is the openrouteservice API documentation for ORS Core-Version 9.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
OpenAPI spec version: 8.2.0
OpenAPI spec version: 9.0.0
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down Expand Up @@ -72,7 +72,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'Swagger-Codegen/8.2.0/python'
self.user_agent = 'Swagger-Codegen/9.0.0/python'

def __del__(self):
self.pool.close()
Expand Down
8 changes: 4 additions & 4 deletions openrouteservice/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"""
Openrouteservice
This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
This is the openrouteservice API documentation for ORS Core-Version 9.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
OpenAPI spec version: 8.2.0
OpenAPI spec version: 9.0.0
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down Expand Up @@ -246,6 +246,6 @@ def to_debug_report(self):
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 8.2.0\n"\
"SDK Package Version: 8.2.0".\
"Version of the API: 9.0.0\n"\
"SDK Package Version: 9.0.0".\
format(env=sys.platform, pyversion=sys.version)
4 changes: 2 additions & 2 deletions openrouteservice/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"""
Openrouteservice
This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
This is the openrouteservice API documentation for ORS Core-Version 9.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
OpenAPI spec version: 8.2.0
OpenAPI spec version: 9.0.0
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
4 changes: 2 additions & 2 deletions openrouteservice/models/alternative_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"""
Openrouteservice
This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
This is the openrouteservice API documentation for ORS Core-Version 9.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501
OpenAPI spec version: 8.2.0
OpenAPI spec version: 9.0.0
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
Loading

0 comments on commit db92c9c

Please sign in to comment.