if (FALSE) {
## creating sp spatial point object
line <- sp_line(c(8.770367,8.771161,8.771536),
c(50.815172,50.814743,50.814875),
runDir=tempdir())
## plot it
raster::plot(line)
}
Run the code above in your browser using DataLab