Given a GeoPosition
, what is the recommended method to calculate its distance from the ocean?
EDIT
As an example, Atlanta is 350 km
from the Atlantic ocean, but where is that actual location? It would be nice to not have to specify an ocean by name as well.
GeoDistance[Entity["City", {"Atlanta", "Georgia", "UnitedStates"}],
Entity["Ocean", "AtlanticOcean"]]
Quantity[349.84438296049916, "Kilometers"]
GeoGraphics[{Entity["Country", "UnitedStates"],
GeoMarker[Entity["City", {"Atlanta", "Georgia", "UnitedStates"}],
"Alignment" -> Bottom]},
GeoCenter -> Entity["City", {"Atlanta", "Georgia", "UnitedStates"}],
GeoRange -> Quantity[600, "Kilometers"],
GeoBackground -> "Coastlines"]
Thanks for your help.