You could approach it as a minimum distance between points problem.
With sp, first convert each SpatialPolygons to SpatialLines, generate
regular points on each line and then compute minimum dist between all
points. Obviously, there is a trade off between the number of points
and precision.
dear all,
we want to calculate the minimun distance between polygons' edges , do
you know any package or function which can help us ? we try to work with
vectors rather than raster but we lack some tools. we only found how to
calculate distances between centroids but nothing between edges.
t