distance_from_source | R Documentation |
Generate a raster of distances from source(s), restricted to a maximum search distance.
distance_from_source(x, r, feature, maxdist)
x |
the source object(s), as sf polygons |
r |
a template raster of the desired extent and resolution |
feature |
feature name for informative messages |
maxdist |
distance (m) past which the source is considered not to have an effect |
a raster where cell values are distance in meters from sources (which have values of 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.