Skip to contents

Crop an sf shape - A graphical wrapper for the st_crop function

Usage

CropArea(shape, guides, xmin, xmax, ymin, ymax)

Arguments

shape

A sf object

guides

Any sf object you would like highlighted to help make your selections

xmin

numeric; a minimum value for the left boundary

xmax

numeric; a max value for the right boundary

ymin

numeric; a minimum value for the bottom boundary

ymax

numeric; a max value for the top boundary

Value

A sf object cropped to the user inputs