Learn R Programming

sf (version 0.1-1)

ST_sfc: verify simple feature

Description

verifies simple feature list column's contents, and sets class

Usage

st_sfc(lst, epsg = NA_integer_, proj4string = NA_character_)

Arguments

lst
list with simple feature objects
epsg
integer; epsg code
proj4string
character; describing the coordinate reference systems in PROJ.4 syntax

Examples

Run this code
pt1 = st_point(c(0,1))
pt2 = st_point(c(1,1))
(sfc = st_sfc(list(pt1, pt2)))
d = data.frame(a = 1:2)

Run the code above in your browser using DataLab