line_to_poly: Line to polygon conversion function.

Description Usage Arguments Value Examples

View source: R/line_to_poly.R

Description

This function convert a line to a polygon.

Usage

1

Arguments

y

SpatialLines* object

Value

SpatialPolygons

Examples

1
2
3
   library('rgdal')
   line <- readOGR(dsn = "data", layer = "granica", verbose = FALSE)
   poly <- line_to_poly(line)

Nowosad/geoplus documentation built on May 9, 2017, 2:17 p.m.