powered by
contourToSpp
contourToSpp(co, step)
contour line (list with contour level and x,y coordinates
grid resolution
a list with components
SpatialPolygons corresponding to contour line
SpatialLines corresponding to contour line
SpatialPolygons corresponding to buffer around contour line
SpatialPolygons area
transform contour line into SpatialPolygons
# NOT RUN { data(mapTest) cL=list() cL=contourAuto(cL,mapTest$step,mapTest$xsize,mapTest$ysize,mapTest$krigGrid,c(5,7),mapTest$boundary) contourToSpp(cL[[8]],0.1) # }
Run the code above in your browser using DataLab