projectUTM | R Documentation |
Project an object in latitude/longitude to UTM.
projectUTM(x) ## S3 method for class 'sf' projectUTM(x) ## S3 method for class 'sfc' projectUTM(x) ## S3 method for class 'SpatialPointsDataFrame' projectUTM(x) ## S3 method for class 'SpatialPoints' projectUTM(x) ## S3 method for class 'SpatialPolygonsDataFrame' projectUTM(x) ## S3 method for class 'SpatialPolygons' projectUTM(x)
x |
An |
An sf
or sp
object projected to UTM CRS.
library(sf) nc <- st_read(system.file("shape/nc.shp", package="sf")) st_crs(projectUTM(nc))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.