Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
cir function: ReturnAngles/ReturnDistances #290
This is basically the same example as that given in the help file, but with larger extent and pixel size.
Issue 1 - (No fix, just need to describe in help file) It seems that units are in meters (not pixels)
r <- raster(extent(627940.9, 657940.9, 775411.8, 805411.8),res=2500)
out <- cir(r, test_coords, returnAngles = FALSE, returnIndices=TRUE, returnDistances = TRUE, maxRadius = 2600, minRadius = 1, allowOverlap = TRUE)