View source: R/sp_transform_df.R
sp_transform_df | R Documentation |
Transform the coordinates in a dataframe
sp_transform_df(
df,
to_crs,
df_crs = 4283,
x = "long",
y = "lat",
remove = TRUE
)
df |
Dataframe with x and y coordinates to transform. |
df_crs , to_crs |
Anything that will be recognised by the |
x , y |
Character name of column in |
remove |
Logical. If true, original coordinate columns ( |
Dataframe with added columns X
and Y
representing the transformed
coordinates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.