Garmin has been doing that for years. They call it Auto Guidance. You set it up with your Air Draft and Draft. With that info it will direct you around shoals, rocks, Islands, low bridges etc. It always brings you the safest route, not necessary the shortest.