Spatial data types store geometric data, that is data related to an object's position in space.
I am trying to get the minimum distance between a given point and the coast. My example is the distance …