contour_2_raster: Convert a shapefile with contours to a raster

Description Usage Arguments Value

View source: R/contour_to_raster.R

Description

Convert a shapefile with contours to a raster

Usage

1
2
contour_2_raster(contour_sf, raster_attribute, n_samples = 10000, nrow,
  ncol)

Arguments

contour_sf

an sf object read from a shapefile with contours, eg elevation.

raster_attribute

The name of the attribute to be rastered

n_samples

the number of contour points to be sampled for raster interpolation

nrow

number of rows in the raster grid

ncol

number of columns in the raster grid

Value

a raster


MilesMcBain/r2vr.gis documentation built on May 24, 2019, 7:52 a.m.