infrastructure_exclusion_buffer | R Documentation |
infrastructure_exclusion_buffer
is a helper function for infrastructure
generation that sets raster values to zero within a certain threshold of a
given feature (like a central processing facility) to ensure desired spacing
of infrastructure is maintained. Used by prep_general_inputs
and generate_sat_rd
.
infrastructure_exclusion_buffer(x, y, threshold)
x |
Spatial* object identifying the location(s) around which infrastructure is to be excluded (i.e., around which raster values will be set to zero). |
y |
RasterLayer containing values that will be set to zero. |
threshold |
Numeric value providing the distance (m) within which raster values will be set to zero. |
RasterLayer y
, updated to have values within threshold
of
infrastructure locations, x
, set to zero.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.