powered by
contourLines
rasterToContour(x, maxpixels=100000, ...)
f <- system.file("external/test.grd", package="raster") r <- raster(f) x <- rasterToContour(r) class(x) plot(r) plot(x, add=TRUE)
Run the code above in your browser using DataLab