write_geojson | R Documentation |
Write a layer to a GeoJSON file.
write_geojson(
object,
dsn = NULL,
layer = NULL,
...,
crs = 4326,
overwrite = TRUE,
pretty = TRUE,
digits = 6,
append = FALSE,
verbose = getOption("verbose", default = FALSE)
)
dsn |
output path; defaults to the current working directory |
layer |
name of layer to write |
... |
passed to |
overwrite |
(logical) |
verbose |
display messages |
spobj |
geodata |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.