
Last chance! 50% off unlimited learning
Sale ends in
# Find the length of routes that are in lat/long format
rlength = gprojected(routes_fast, fun = rgeos::gLength, byid = TRUE)
plot(routes_fast$length, rlength)
cor(routes_fast$length, rlength)
rbuf = gprojected(routes_fast, rgeos::gBuffer, byid = TRUE, width = 100)
plot(rbuf)
raster::crs(rbuf)
plot(routes_fast, col = "green", add = TRUE)
Run the code above in your browser using DataLab