Rdocumentation
powered by
Learn R Programming
raster (version 1.8-3)
rasterToContour: Raster to contour lines conversion
Description
RasterLayer to contour lines. This is a wrapper around
contourLines
Usage
rasterToContour(x, maxpixels=100000, ...)
Arguments
x
a RasterLayer object
maxpixels
Maximum number of raster cells to use; this function fails when too many cells are used
...
Any argument that can be passed to
contourLines
Value
An object of class SpatialLinesDataFrame
Details
Most of the code was taken from maptools::ContourLines2SLDF, by Roger Bivand & Edzer Pebesma