| ox_load_graphml | R Documentation |
Reads a GraphML file written by ox_save_graphml() back into an
osm_graph, restoring node coordinates, edge attributes and
edge geometry (from the stored WKT).
ox_load_graphml(path)
path |
Path to a |
An osm_graph.
g <- example_osm_graph()
f <- tempfile(fileext = ".graphml")
ox_save_graphml(g, f)
ox_load_graphml(f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.