Get weather along route with danger filtering
POST/route
Retrieve weather conditions along a GPS route with optional danger level filtering.
Danger Filtering Functionality:
- If
dangerLevelis not specified, all points are included (equivalent to dangerLevel=0) - If
dangerLevelis specified, only points with a danger level equal to or higher than the value are returned - The value is automatically adjusted between 0 and 100 (minimum 0, maximum 100)
Route Processing:
- GPS points are filtered to retain only those separated by at least 25 km
- Climate data and alerts are obtained for each filtered point
- A danger score is calculated based on visibility, rain, snow, wind, temperature, clouds, and extreme conditions
Request
Responses
- 200
- 400
- 500
Weather data retrieved successfully
Invalid request body or malformed GPS points
Internal server error