Understanding the output of `areaPolygon()` from package geosphere
问题 From this Question I obtained the great function areaPolygon() which gives me the area within a polygon of coordinates. however, when I experiment with the function the calculations seem odd: I start by creating a set of two points require(fields) coords <- c(11.3697193956209, 47.233380520521, 11.3723606043791, 47.235179479479) coords <- matrix(coords, nrow=2, ncol=2, byrow=TRUE) then I check the distance between these two: rdist.earth(coords,coords,miles=FALSE)[1,2] obtaining: 0.2827821