| ox_bearings | R Documentation |
Initial compass bearing (degrees clockwise from north) of each edge, from its first to its last coordinate. Geographic coordinates are used; projected graphs are transformed to EPSG:4326 first.
ox_bearings(g)
g |
An osm_graph. |
A numeric vector of bearings, one per edge.
g <- example_osm_graph()
head(ox_bearings(g))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.