I like this definition. Not sure that the "non-intersecting" condition is necessary. I was thinking about a different one, given by the condition that the path never goes farther than d meters from the sea (while encircling the part of the land that is farther than d meters).