Load GeoJSON as sf object

from_geojson_str(str, opts = list(), ...)

from_geojson_file(filename, opts = list(), ...)

Arguments

str

single character string containing GeoJSON

opts

named list of options. Usually created with from_geojson_opts(). Default: empty list() to use the default options.

...

any extra named options override those in opts

filename

filename

Value

sf object