Graph Utilities

LightOSM.index_to_node_idFunction
index_to_node_id(g::OSMGraph, x::DEFAULT_OSM_INDEX_TYPE)
index_to_node_id(g::OSMGraph, x::Vector{<:DEFAULT_OSM_INDEX_TYPE})

Maps node index to node id.

source
LightOSM.index_to_nodeFunction
index_to_node(g::OSMGraph, x::DEFAULT_OSM_INDEX_TYPE)
index_to_node(g::OSMGraph, x::Vector{<:DEFAULT_OSM_INDEX_TYPE})

Maps node index to node object.

source
LightOSM.node_id_to_indexFunction
node_id_to_index(g::OSMGraph, x::DEFAULT_OSM_ID_TYPE)
node_id_to_index(g::OSMGraph, x::Vector{<:DEFAULT_OSM_ID_TYPE})

Maps node id to index.

source
LightOSM.node_to_indexFunction
node_to_index(g::OSMGraph, x::Node)
node_to_index(g::OSMGraph, x::Vector{Node})

Maps node object to index.

source
LightOSM.maxspeed_from_indexFunction
maxspeed_from_index(g, x::DEFAULT_OSM_INDEX_TYPE)
maxspeed_from_node_id(g, x::DEFAULT_OSM_ID_TYPE)

Get maxspeed from index id or node id.

source