Description Usage Format Note Author(s) Examples
Ontario city centre network sample data for Ottawa and Toronto, in long/lat WGS84
1 2 |
Objects of class SpatialLinesDataFrame that contain as attribution amonst others
numeric; indicating link direction: 0 two-way, 1 one-way down-link, -1 one-way up-link
Distributed under the Ontario Open Data Licence (https://www.ontario.ca/page/open-government-licence-ontario)
Network selection done by Richard Ellison; imported from shapefiles using readOGR
1 2 3 4 5 6 7 8 9 | library(sp)
data(ottawacentre)
oc = SpatialNetwork(ottawacentre, direction = ottawacentre$DIRECTION_)
plot(oc)
points(oc)
data(torontocentre)
tc = SpatialNetwork(torontocentre, direction = torontocentre$DIRECTION_)
plot(tc, arrow_size = .5)
points(tc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.