Skip to contents

Returns the GeoJSON representation of the geometry.

Usage

st_as_geojson(x, ...)

# S3 method for class 'dbSpatial'
st_as_geojson(x, ...)

Arguments

x

dbSpatial object

...

additional arguments

Value

dbSpatial object with GeoJSON column

Functions

  • st_as_geojson(dbSpatial): Method for dbSpatial objects

See also

Other constructors: st_as_text()

Examples

if (FALSE) { # \dontrun{
st_as_geojson(x)
} # }