View source: R/st_transform_auto.R
st_transform_auto | R Documentation |
It is often useful to convert geographic data to a projected co-ordinate
system, e.g. for specifying a buffer distance in metres.
st_transform_auto
converts between lon/lat co-ordinates and the UTM
or UPS zone for the centroid of the data.
st_transform_auto(data, check = TRUE, quiet = FALSE)
data |
An |
check |
Should the function check if the chosen UTM zone covers all the data? If so then a warning is issued if the centroid of any row in the data is more than 1ยบ outside the area covered by the UTM zone. |
quiet |
if set to |
SF object transformed to new CRS.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.