Closed hs-ye closed 3 years ago
it uses the defaults maxspeed/reverseway from roads (which aren't actualy used in railways) at the moment, but i think the logic needs a major revamp around these functions in the graph_from_object
function in graph.jl, to have proper handlers for different type of ways.
Note that oneway tag is actually in use in some parts for railways, have done a cursory check. But mostly i think it's assumed that railways do not have 'one ways' marked on the tracks the ways that roads do, even though by convention some tracks are going in certain directions.
add_node_and_edge_mappings!(g)
add_weights!(g, weight_type)
add_graph!(g, graph_type)
trim_to_largest_connected_component!(g, weight_type, graph_type)
add_node_tags!(g)
Todo:
Adds two related but independent features relating to manipulating overpass query strings, that gives users the ability to customise the type of network they want to download using the down:
Defaults have been set for the new interfaces, so should be fully backwards compatible.