I'm looking for a metric that gets at average distance to a given feature. For example, for a point in the water, how far, on average, is the land or to what extent is the point surrounded by land.
Scenario: two points are the same distance from shore, but one is adjacent to the tip of a narrow peninsula of land while the other is at the bottom of a narrow bay. Clearly one point has more land around it than the other. I'm looking for a way to quantify this.
I'm not concerned with the specific software tool. Formulas or names of metric would be useful to get me looking in the right place in the literature.