get_nlcd: Get a NLCD from USGS LANDFIRE program

View source: R/get_nlcd.R

get_nlcdR Documentation

Get a NLCD from USGS LANDFIRE program

Description

Uses the USGS LANDFIRE NLCD/USGS_EDC_LandCover_NLCD (ImageServer) REST API. It appears to be returning the 1992 NLCD. Resolution from this API is variable. The function forces it to (approximately) 30 meters.

Usage

get_nlcd(bbx = NULL, p4s = NULL)

Arguments

bbx

a bounding box from sp

p4s

a proj4string of projection to request image in.

Value

raster with NLCD colortable

Examples

## Not run: 
data(lake,package='quickmapr')
x_nlcd<-get_nlcd(bbox(buffer),proj4string(buffer))

## End(Not run)
#@keywords internal

jhollist/miscPackage documentation built on March 3, 2024, 9:23 p.m.