Get the map to a SpatialNetwork object

Description

This generic method intends to extract the map object. Currently only SpatialPolygons from the sp package are supported.

Usage

1
2
3
4
5
6
7
graph.map(object)

## S4 method for signature 'SpatialNetwork'
graph.map(object)

## S4 replacement method for signature 'SpatialNetwork,SpatialPolygons'
graph.map(object) <- value

Arguments

object

the SpatialNetwork object for which we want to get the map.

value

the map.

Methods (by class)

  • SpatialNetwork: method for SpatialPolygons objects.

  • object = SpatialNetwork,value = SpatialPolygons: method for SpatialPolygons objects.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.