raster_to_polygon: Create a polygon sf object from a raster

View source: R/conversion.R

raster_to_polygonR Documentation

Create a polygon sf object from a raster

Description

Create a polygon sf object from a raster, stack, or brick.

Usage

raster_to_polygon(raster, na.rm = FALSE)

Arguments

raster

A raster, stack, or brick object

na.rm

boolean. If TRUE will polygonize only non-NA cells. Defualt is FALSE.

Author(s)

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


JGCRI/rgis documentation built on July 27, 2023, 1:47 p.m.