Learn R Programming

SpatialGraph (version 1.0-4)

explodeSLDF: Explode Lines in a SpatialLinesDataFrame

Description

explode Lines in a SpatialLinesDataFrame, so that each single Line, within each Lines slot, is upgraded as a new 1-Line Lines slot

Usage

explodeSLDF(SLDF, FID)

Value

a SpatialLinesDataFrame

Arguments

SLDF

a SpatialLinesDataFrame

FID

if not NULL, field name, within the attribute table considered as additional unique identifier, so that incremental numeric values will added to this field to avoid duplicate values