reproj_extent: reproject the extent of a spatial object

Description Usage Arguments Value

View source: R/reproj_extent.R

Description

accessory function to convert the extent of a spatial object to a different projection. simple wrapper for the spTransform function on an raster::extent object

Usage

1
reproj_extent(ext_in, in_proj = NULL, out_proj = NULL)

Arguments

ext_in

object of class raster::extent

in_proj

character proj4string representing the projection of the input extent

out_proj

character proj4string representing the desired projection for the output extent

Value

reprojected extent (in out_proj projection)


IREA-CNR-MI/sprawl documentation built on Aug. 6, 2017, 12:56 p.m.