diff --git a/src/backend/app/waypoints/waypoint_routes.py b/src/backend/app/waypoints/waypoint_routes.py index c4317103..fab6f6ba 100644 --- a/src/backend/app/waypoints/waypoint_routes.py +++ b/src/backend/app/waypoints/waypoint_routes.py @@ -66,11 +66,11 @@ async def get_task_waypoint( if take_off_point: take_off_point = [take_off_point.longitude, take_off_point.latitude] - # Validate that the take-off point is within a 200m buffer of the task boundary - if not check_point_within_buffer(take_off_point, task_geojson, 200): + # Validate that the take-off point is within a 350 buffer of the task boundary + if not check_point_within_buffer(take_off_point, task_geojson, 350): raise HTTPException( status_code=400, - detail="Take off point should be within 200m of the boundary", + detail="Take off point should be within 350m of the boundary", ) # Update take_off_point in tasks table