Learn R Programming

elevatr (version 0.3.1)

bbox_to_sp: Edited from https://github.com/jhollist/quickmapr/blob/master/R/internals.R Assumes geographic projection sp bbox to poly

Description

Edited from https://github.com/jhollist/quickmapr/blob/master/R/internals.R Assumes geographic projection sp bbox to poly

Usage

bbox_to_sp(bbox, prj = "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs")

Arguments

prj

defaults to "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"

bbx

an sp bbox object