roi: Create polygon of Region of Interest (ROI) code by Jeffrey...

Description Usage Arguments Examples

Description

Create polygon of Region of Interest (ROI) code by Jeffrey Evans

Usage

1
roi(extent, project)

Arguments

extent

projection of region of interest

project

projection string (ex: "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs")

Examples

1
2
3
4
5
6
## Not run: 
ext <- as(raster::extent(78.46801, 78.83157, 19.53407, 19.74557), "SpatialPolygons")
proj <- "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"
pol.roi = roio(ext, proj)

## End(Not run)

elpidiofilho/labgeo documentation built on May 14, 2019, 9:35 a.m.