bbox_transform: bbox_transform

Description Usage Arguments Details

View source: R/bbox_transform.R

Description

Transform the coordinate reference system of a bounding box

Usage

1
bbox_transform(bbox, crs)

Arguments

bbox

an sf bbox object.

crs

an sf crs expression. A string, an EPSG code, an object created with sf::st_crs() @return a bounding box transformed to the coordinate reference system defined by 'crs'

Details

sf does not let you transform a bounding box without jumping through some hoops. this function wraps those up.


MilesMcBain/r2vr.gis documentation built on May 24, 2019, 7:52 a.m.