st_sample_points: st_sample_points

st_sample_pointsR Documentation

st_sample_points

Description

Sample and overlay a set of points in polygons (or along polylines).

Usage

st_sample_points(geodata, size, verbose = getOption("verbose"))

Arguments

geodata

(sf) most likely polygons or polylines (inside or along which to sample)

size

(int) number of points to sample (in or along each feature)

verbose

display messages

Value

sfc of POINTS, joined back to the original geodata (i.e., an overlay)


BAAQMD/geotools documentation built on Feb. 29, 2024, 5:44 a.m.