You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/DirectionsService.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,12 @@ Name | Type | Description | Notes
24
24
**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]
25
25
**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]
26
26
**schedule** | **bool** | If true, return a public transport schedule starting at <departure> for the next <schedule_duration> minutes. | [optional][default to False]
**schedule_duration** | **str** | The time window when requesting a public transport schedule. The format is passed as ISO 8601 duration: https://en.wikipedia.org/wiki/ISO_8601#Durations | [optional]
28
28
**schedule_rows** | **int** | The maximum amount of entries that should be returned when requesting a schedule. | [optional]
29
29
**skip_segments** | **list[int]** | Specifies the segments that should be skipped in the route calculation. A segment is the connection between two given coordinates and the counting starts with 1 for the connection between the first and second coordinate. | [optional]
30
30
**suppress_warnings** | **bool** | Suppress warning messages in the response | [optional]
31
31
**units** | **str** | Specifies the distance unit. | [optional][default to 'm']
**walking_time** | **str** | Maximum duration for walking access and egress of public transport. The value is passed in ISO 8601 duration format: https://en.wikipedia.org/wiki/ISO_8601#Durations| [optional][default to 'PT15M']
33
33
34
34
[[Back to Model list]](../README.md#documentation_for_models)[[Back to API list]](../README.md#documentation_for_api_endpoints)[[Back to README]](../README.md)
Copy file name to clipboardExpand all lines: docs/DirectionsService1.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,12 @@ Name | Type | Description | Notes
24
24
**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]
25
25
**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]
26
26
**schedule** | **bool** | If true, return a public transport schedule starting at <departure> for the next <schedule_duration> minutes. | [optional][default to False]
**schedule_duration** | **str** | The time window when requesting a public transport schedule. The format is passed as ISO 8601 duration: https://en.wikipedia.org/wiki/ISO_8601#Durations | [optional]
28
28
**schedule_rows** | **int** | The maximum amount of entries that should be returned when requesting a schedule. | [optional]
29
29
**skip_segments** | **list[int]** | Specifies the segments that should be skipped in the route calculation. A segment is the connection between two given coordinates and the counting starts with 1 for the connection between the first and second coordinate. | [optional]
30
30
**suppress_warnings** | **bool** | Suppress warning messages in the response | [optional]
31
31
**units** | **str** | Specifies the distance unit. | [optional][default to 'm']
**walking_time** | **str** | Maximum duration for walking access and egress of public transport. The value is passed in ISO 8601 duration format: https://en.wikipedia.org/wiki/ISO_8601#Durations| [optional][default to 'PT15M']
33
33
34
34
[[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 endpoint can take planar 2D line objects and enrich them with elevation from a variety of datasets. The input and output formats are: * GeoJSON * Polyline * <ahref="https://developers.google.com/maps/documentation/utilities/polylinealgorithm">Google's Encoded polyline</a> with coordinate precision 5 or 6 Example: ``` # POST LineString as polyline curl -XPOST https://api.openrouteservice.org/elevation/line -H 'Content-Type: application/json' \\ -H 'Authorization: INSERT_YOUR_KEY -d '{ \"format_in\": \"polyline\", \"format_out\": \"encodedpolyline5\", \"geometry\": [[13.349762, 38.112952], [12.638397, 37.645772]] }' ```
16
+
This endpoint can take planar 2D line objects and enrich them with elevation from a variety of datasets. The input and output formats are: * GeoJSON * Polyline * <a href=\"https://developers.google.com/maps/documentation/utilities/polylinealgorithm\">Google's Encoded polyline</a> with coordinate precision 5 or 6 Example: ``` # POST LineString as polyline curl -XPOST https://api.openrouteservice.org/elevation/line -H 'Content-Type: application/json' \\ -H 'Authorization: INSERT_YOUR_KEY -d '{ \"format_in\": \"polyline\", \"format_out\": \"encodedpolyline5\", \"geometry\": [[13.349762, 38.112952], [12.638397, 37.645772]] }' ```
17
17
18
18
### Example
19
19
```python
@@ -58,7 +58,7 @@ Name | Type | Description | Notes
58
58
### HTTP request headers
59
59
60
60
-**Content-Type**: application/json
61
-
-**Accept**: application/json
61
+
-**Accept**: application/json, */*
62
62
63
63
[[Back to top]](#)[[Back to API list]](../README.md#documentation_for_api_endpoints)[[Back to Model list]](../README.md#documentation_for_models)[[Back to README]](../README.md)
64
64
@@ -116,7 +116,7 @@ Name | Type | Description | Notes
116
116
### HTTP request headers
117
117
118
118
-**Content-Type**: Not defined
119
-
-**Accept**: application/json
119
+
-**Accept**: application/json, */*
120
120
121
121
[[Back to top]](#)[[Back to API list]](../README.md#documentation_for_api_endpoints)[[Back to Model list]](../README.md#documentation_for_models)[[Back to README]](../README.md)
122
122
@@ -170,7 +170,7 @@ Name | Type | Description | Notes
170
170
### HTTP request headers
171
171
172
172
-**Content-Type**: application/json
173
-
-**Accept**: application/json
173
+
-**Accept**: application/json, */*
174
174
175
175
[[Back to top]](#)[[Back to API list]](../README.md#documentation_for_api_endpoints)[[Back to Model list]](../README.md#documentation_for_models)[[Back to README]](../README.md)
**type** | **str** | GeoJSON type | [optional][default to 'Feature']
9
+
10
+
[[Back to Model list]](../README.md#documentation_for_models)[[Back to API list]](../README.md#documentation_for_api_endpoints)[[Back to README]](../README.md)
**coordinates** | **list[float]** | Lon/Lat coordinates of the snapped location | [optional]
7
+
**type** | **str** | GeoJSON type | [optional][default to 'Point']
8
+
9
+
[[Back to Model list]](../README.md#documentation_for_models)[[Back to API list]](../README.md#documentation_for_api_endpoints)[[Back to README]](../README.md)
**name** | **str** | \"Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. | [optional]
7
+
**snapped_distance** | **float** | Distance between the `source/destination` Location and the used point on the routing graph in meters. | [optional]
8
+
**source_id** | **int** | Index of the requested location | [optional]
9
+
10
+
[[Back to Model list]](../README.md#documentation_for_models)[[Back to API list]](../README.md#documentation_for_api_endpoints)[[Back to README]](../README.md)
0 commit comments