(fr) Cette page n’est plus maintenue depuis la version 2022 de Geoconcept Web. Pour accéder à la documentation à jour de ce web service, veuillez suivre ce lien.
This web service calculates an itineraries set between two points and returns a full route sheet. Adding intermediate steps is an option for the user, in the context of the configured graph or network, the name of which has been specified in the interface.
Input
parameter | description | optional | default |
---|---|---|---|
routeRequests |
RouteRequestV5 table |
No |
Route table |
timeOut |
string |
Yes |
Time out calculation value (in milliseconds). |
- Route request input (RouteRequestV5)**
Described under Route calculation web service.
Output"
parameter | type | min/max | description |
---|---|---|---|
result |
RouteResultV5 table |
0/unlimited |
Routes issued as output |
- Route result output (RouteResultV5)**
Described under Route calculation web service.
Case of a route found (routeResultV5/status is OK)
{ "message": null, "status": "OK", "results": [ { "message": null, "status": "OK", "distance": "1.66 Km", "duration": "0:07:56", "distanceMeters": 1658.9, "durationSeconds": 476.69, "bounds": null, "wktGeometry": null, "wktSimplifiedGeometry": null, "compressedGeometry": null, "compressedSimplifiedGeometry": null, "legs": [ ], "startDateTime": null, "finishDateTime": null, "srs": "epsg:4326", "originNode": null, "waypointNodes": null, "destinationNode": null, "carbonFootprint": null }, { "message": null, "status": "OK", "distance": "159 m", "duration": "0:00:47", "distanceMeters": 158.76, "durationSeconds": 47.66, "bounds": null, "wktGeometry": null, "wktSimplifiedGeometry": null, "compressedGeometry": null, "compressedSimplifiedGeometry": null, "legs": [ ], "startDateTime": null, "finishDateTime": null, "srs": "epsg:4326", "originNode": null, "waypointNodes": null, "destinationNode": null, "carbonFootprint": null } ] }
See <<gcweb-ws-routing-returns,Calculate route> web service.
See Calculate route web service.