get_utm_zone: Get the UTM zone of a spatial object

View source: R/utils.R

get_utm_zoneR Documentation

Get the UTM zone of a spatial object

Description

Get the UTM zone of a spatial object

Usage

get_utm_zone(x)

Arguments

x

Object in any class accepted by as_bbox()

Value

The EPSG code of the UTM zone

Examples

# 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)

rcrisp documentation built on Nov. 24, 2025, 5:07 p.m.