Learn R Programming

sf (version 0.1-1)

st_as_wkt: Return Well-known Text representation of simple feature item

Description

Return Well-known Text representation of simple feature item

Usage

st_as_wkt(x, ...)
"st_as_wkt"(x, ...)
"st_as_wkt"(x, ...)

Arguments

x
object of class sfi or sfc
...
passed on to WKT_name

Details

to suppress printing of SRID, EWKT=FALSE can be passed as parameter

Examples

Run this code
st_as_wkt(st_point(1:2))

Run the code above in your browser using DataLab