geojson_wkt {geojsonsf} | R 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)
[Package geojsonsf version 2.0.3 Index]