Learn R Programming

⚠️There's a newer version (1.0-4) of this package.Take me there.

SpatialGraph (version 1.0-2)

SpatialGraph Class

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

214

Version

1.0-2

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Javier Garcia-Pintado

Last Published

November 27th, 2018

Functions in SpatialGraph (1.0-2)

distSGv

Calculate the distance slot in a SpatialGraph
pointLineD

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

Add or Modify attributes in SpatialGraph edges
sg2igraph

Map a SpatialGraph into an igraph
routeSDG

Accumulate sources/sinks along a directed SpatialGraph
pointOnLine

Snap a points to a line
sgChVIDs

Change vertex IDs in a SpatialGraph
pointsToLines

Snap a set of points to a set of lines
textSGe

Label edges in a SpatialGraph plot
polylineChainage

Obtain the chainage of nodes along a polyline
splitPolyline

Split a polyline into a number of transects
splitSLDF

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

map a SpatialLinesDataFrame into a SpatialGraph
pointOnSegment

Snap a points to a segment
pointPolylineD

closest points in a polyline to a set of points
polylineLength

Obtain the length of a polyline
revSGe

Reverse Lines in a SpatialGraph
SpatialGraph-class

Class "SpatialGraph"
SpatialGraph

Create a SpatialGraph object
SpatialGraph-package

tools:::Rd_package_title("SpatialGraph")
rotation

Rotate 2D points
explodeSLDF

Explode Lines in a SpatialLinesDataFrame