get_nlcd_cell_numbers_points: get NLCD cell numbers for given lat and lon

View source: R/nlcd_data_functions.R

get_nlcd_cell_numbers_pointsR Documentation

get NLCD cell numbers for given lat and lon

Description

get NLCD cell numbers for given lat and lon

Usage

get_nlcd_cell_numbers_points(point_data)

Arguments

point_data

data.frame with columns 'lat' and 'lon'

Value

a data.frame identical to the input data.frame but with appended NLCD cell numbers

Examples

if (FALSE) {
point_data <- data.frame(
  id = c('1a', '2b', '3c'),
  lat = c(39.19674, 39.19674, 39.28765),
  lon = c(-84.582601, -84.582601, -84.510173)
)

get_nlcd_cell_numbers_points(point_data)
}

geomarker-io/addNlcdData documentation built on Feb. 19, 2023, 1:42 p.m.