Skip to contents

Get the UTM zone of a spatial object

Usage

get_utm_zone(x)

Arguments

x

Bounding box or geometry object

Value

The EPSG code of the UTM zone

Examples

# Get EPSG code for UTM zone of Bucharest
bb <- get_osm_bb("Bucharest")
get_utm_zone(bb)
#> [1] 32635