data: Ontario city centre networks

Description Usage Format Note Author(s) Examples

Description

Ontario city centre network sample data for Ottawa and Toronto, in long/lat WGS84

Usage

1
2

Format

Objects of class SpatialLinesDataFrame that contain as attribution amonst others

DIRECTION_

numeric; indicating link direction: 0 two-way, 1 one-way down-link, -1 one-way up-link

Note

Distributed under the Ontario Open Data Licence (https://www.ontario.ca/page/open-government-licence-ontario)

Author(s)

Network selection done by Richard Ellison; imported from shapefiles using readOGR

Examples

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)

edzer/spnetwork documentation built on May 16, 2019, 12:10 a.m.