sp2PSLG: Convert SpatialLines or SpatialPolygons a Planar Straight...

View source: R/Func_Misc.R

sp2PSLGR Documentation

Convert SpatialLines or SpatialPolygons a Planar Straight Line Graph object sp2PSLG

Description

Convert SpatialLines or SpatialPolygons a Planar Straight Line Graph object sp2PSLG

Usage

sp2PSLG(sp)

Arguments

sp

SpatialLines or SpatialPolygons

Value

pslg class

Examples

library(rgeos)
sl = readWKT("MULTIPOLYGON(((1 1,5 1,5 5,1 5,1 1),(2 2,2 3,3 3,3 2,2 2)))")
x = sp2PSLG(sl)

SHUD-System/SHUDtoolbox documentation built on Nov. 27, 2024, 5:54 a.m.