polygon_from_list: Polygon from list

Description Usage Arguments Value Examples

View source: R/polygon_from_list.R

Description

Creates polygon from coordinate list

Usage

1
polygon_from_list(list_of_points)

Arguments

list_of_points

List of point vectors

Value

a sfc

Examples

1
2
3
4
5
## Not run: 
ls <- list(c(long, lat), c(long+ 0.001, lat), c(long+0.001, lat +0.0005))
poly <- polygon_from_list(ls)

## End(Not run)

peloyeje/cadastertools documentation built on May 19, 2019, 3:02 a.m.