Create a slice of the original polygon object from a smaller bounding box

poly_intersect(xmin, xmax, ymin, ymax, ply)

Arguments

xmin

A float or integer value for the x (longitude) coordinate minimum

xmax

A float or integer value for the x (longitude) coordinate maximum

ymin

A float or integer value for the y (latitude) coordinate minimum

ymax

A float or integer value for the y (latitude) coordinate maximum

ply

An sf polygon object

Value

An sf polygon object

Author

Chris R. Vernon (chris.vernon@pnnl.gov)