Distance between two farthest points in a raster

I have a raster file and I want to recover the distance between the farthest points. Is it possible to do in R?

Read more here: https://stackoverflow.com/questions/67392971/distance-between-two-farthest-points-in-a-raster

Content Attribution

This content was originally published by user1988 at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: