R/r.corners.R

r.corners <-
function(square)
{
	lat <- r2d(square)
	lat$lat <- c(lat$lat + 0.25, lat$lat - 0.25)
	lat$lon <- c(lat$lon - 0.5, lat$lon + 0.5)
	lat
}

Try the geoextras package in your browser

Any scripts or data that you put into this service are public.

geoextras documentation built on May 2, 2019, 5:56 p.m.