Skip to contents

Generates a utm projection epsg coding character corresponding to an sfj object under the WGS84 spatial reference.

Usage

sf_utm_proj_wgs84(sfj)

Arguments

sfj

An sf object or can be converted to sf by sf::st_as_sf().

Value

A character.

Details

For more details, please refer to https://zhuanlan.zhihu.com/p/670055831.

Examples

library(sf)
snnu = read_sf(system.file('extdata/snnu.geojson',package = 'sdsfun'))
sf_utm_proj_wgs84(snnu)
#> [1] "EPSG:32649"