Learn R Programming

rcrisp (version 0.3.1)

get_utm_zone: Get the UTM zone of a spatial object

Description

Get the UTM zone of a spatial object

Usage

get_utm_zone(x)

Value

The EPSG code of the UTM zone

Arguments

x

Object in any class accepted by as_bbox()

Examples

Run this code
# Get EPSG code for UTM zone of Bucharest
bb <- c(xmin = 25.97, ymin = 44.33, xmax = 26.23, ymax = 44.54)
get_utm_zone(bb)

Run the code above in your browser using DataLab