SpatialLines-class {sp} | R Documentation

## a class for spatial lines

### Description

a class that holds spatial lines

### Objects from the Class

hold a list of Lines objects; each Lines object holds a list of Line (line) objects.

### Slots

`lines`:
  Object of class `"list"`; list members are all of class Lines-class
`bbox`:
  Object of class `"matrix"`; see Spatial-class
`proj4string`:
  Object of class `"CRS"`; see CRS-class

### Extends

Class `"Spatial"`, directly.

### Methods

[
  `signature(obj = "SpatialLines")`: select subset of (sets of) lines
coordinates; value is a list of lists with matrices

plot
  `\signature(x = "SpatialLines")`: plot lines in SpatialLines object
lines
  `\signature(x = "SpatialLines")`: add lines in SpatialLines object to a plot

### Note

### Author(s)

Roger Bivand, Edzer Pebesma

### References

### See Also

Line-class, Lines-class

### Examples

[Package sp version 0.7-12 Index]