View source: R/spatial_query.R
sf_to_json | R Documentation |
Convert an sfc object to json
sf_to_json(x)
x |
an sf or sfc object |
This function accepts an sf object and converts it to json (not geojson). This format is required by esri for spatial queries.
a character string of json.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.