Summary
The route planning tool interpolates straight-line paths between waypoints without land/obstacle avoidance, generating routes that pass through the Albanian/Greek mainland.
Evidence
"The original straight-line interpolation crossed Albanian/Greek mainland - the corrected coordinates should route you properly down the Adriatic coast."
Reported for a Tivat→Korfu route (user explicitly asked "why the route is on land?"). A Pula→Bari route also carried the warning:
"Route is unverified for depth/land crossing - check chart before departure."
Suggested course of action
- Integrate a land-avoidance or coastline-aware routing algorithm (e.g., a graph over known navigable waypoints, or an existing maritime routing API) in place of or as a post-processing step after straight-line interpolation.
- At minimum, add a mandatory validation step that checks all waypoints and intermediate interpolated points against a land polygon dataset and rejects/re-routes if any point is on land.
- Suppress the "unverified for depth/land crossing" disclaimer once proper validation is in place — its presence indicates the current check is absent or advisory-only.
- Add test cases for Tivat→Korfu and Pula→Bari routes asserting all waypoints have positive water depth and do not intersect known land polygons.
Generated by Claude Code
Summary
The route planning tool interpolates straight-line paths between waypoints without land/obstacle avoidance, generating routes that pass through the Albanian/Greek mainland.
Evidence
Reported for a Tivat→Korfu route (user explicitly asked "why the route is on land?"). A Pula→Bari route also carried the warning:
Suggested course of action
Generated by Claude Code