View source: R/convert_to_sf.R
convert_to_sf | R Documentation |
Convert to SF
convert_to_sf(
df,
crs_source = 25833,
crs_target = 4326,
col_coord_x = "Rechtswert_UTM_33_N",
col_cood_y = "Hochwert_UTM_33_N"
)
df |
data frame or tibble with spatial data |
crs_source |
origingal CRS (default: 25833) |
crs_target |
target CRS (default: 4326) |
col_coord_x |
column name of latitude (default: "Rechtswert_UTM_33_N") |
col_cood_y |
column name of longitude (default: "Hochwert_UTM_33_N") |
data frame or tibble converted to sf
gwl_master <- jsonlite::fromJSON("https://kwb-r.github.io/wasserportal/stations_gwl_master.json")
convert_to_sf(gwl_master)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.