Learn R Programming

SpatialGraph (version 1.0-4)

The SpatialGraph Class and Utilities

Description

Provision of the S4 SpatialGraph class built on top of objects provided by 'igraph' and 'sp' packages, and associated utilities. See the documentation of the SpatialGraph-class within this package for further description. An example of how from a few points one can arrive to a SpatialGraph is provided in the function sl2sg().

Copy Link

Version

Install

install.packages('SpatialGraph')

Monthly Downloads

153

Version

1.0-4

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Javier Garcia-Pintado

Last Published

September 28th, 2023

Functions in SpatialGraph (1.0-4)

splitSLDF

Split 1-Line Lines in a SpatialLines or a SpatialLinesDataFrame by intersection with a point dataset
sgChVIDs

Change vertex IDs in a SpatialGraph
textSGe

Label edges in a SpatialGraph plot
sl2sg

Map a SpatialLinesDataFrame into a SpatialGraph
splitPolyline

Split a polyline into a number of transects
SpatialGraph-class

Class "SpatialGraph"
SpatialGraph-package

tools:::Rd_package_title("SpatialGraph")
distSG

Calculate across-network distance for a set of sparse points
pointOnLine

Snap a points to a line
explodeSLDF

Explode Lines in a SpatialLinesDataFrame
pointLineD

Euclidean distance from a set of points to a line segment
sg2igraph

Map a SpatialGraph into an igraph
distSGv

Calculate the distance slot in a SpatialGraph
pointsToLines

Snap a set of points to a set of lines
polylineChainage

Obtain the chainage of nodes along a polyline
SpatialGraph

Create a SpatialGraph object
pointsPolylineD

closest points in a polyline to a set of points
attSGe

Add or Modify attributes in SpatialGraph edges
rotation

Rotate 2D points
pointsSLDFchain

Obtain chainage from sparse points along a SpatialLinesDataFrame
routeSDG

Accumulate sources/sinks along a directed SpatialGraph
pointOnSegment

Snap a points to a segment
polylineLength

Obtain the length of a polyline
revSGe

Reverse Lines in a SpatialGraph