set_aoi: AOI Setting

Description Usage Arguments Author(s) Examples

Description

set_aoi sets an aoi for the current session by passing a spatial Object. Spatial objects are all Subclasses of Spatial. Warning: drawing own aois is currently not supported.

Usage

1
set_aoi(aoi = FALSE)

Arguments

sp_obj

A spatial object of class Spatial or Subclasses.

Author(s)

Sandro Groth

Examples

1
2
3
4
5
6
7
8
library(esriOpenData)
library(rgdal)

## Load a shapefile using rgdal
aoi_shp <- readOGR("path/to/shapefile.shp")

## set session wide aoi
set_aoi(shp)

SandroGroth/esriOpenData documentation built on May 17, 2019, 4:21 a.m.