sf_to_json: sf to json

View source: R/spatial_query.R

sf_to_jsonR Documentation

sf to json

Description

Convert an sfc object to json

Usage

sf_to_json(x)

Arguments

x

an sf or sfc object

Details

This function accepts an sf object and converts it to json (not geojson). This format is required by esri for spatial queries.

Value

a character string of json.


MatthewJWhittle/getarc documentation built on April 22, 2023, 12:16 p.m.