geojson_wkt: Geojson to WKT

View source: R/geojson_wkt.R

geojson_wktR Documentation

Geojson to WKT

Description

Converts GeoJSON to Well-Known Text

Usage

geojson_wkt(geojson)

Arguments

geojson

string or vector of GeoJSON, or a URL or file pointing to a geojson file

Value

data.frame with a 'geometry' column of well-known text

Examples

geojson <- '{ "type" : "Point", "coordinates" : [0, 0] }'
geojson_wkt(geojson)


geojsonsf documentation built on May 31, 2022, 1:05 a.m.