File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8888OpenStreetMap turn restriction (relation).
8989
9090# Fields
91- `T<:String`
91+ `T<:Union{Integer, String} `
9292- `id::T`: OpenStreetMap relation id.
9393- `type::String`: Either a `via_way` or `via_node` turn restriction.
9494- `tags::AbstractDict{String,Any}`: Metadata tags.
@@ -97,7 +97,7 @@ OpenStreetMap turn restriction (relation).
9797- `via_node::Union{T,Nothing}`: Node id at the centre of the turn restriction.
9898- `via_way::Union{Vector{T},Nothing}`: Way id at the centre of the turn restriction.
9999- `is_exclusion::Bool`: Turn restrictions such as `no_left_turn`, `no_right_turn` or `no_u_turn`.
100- - `is_exclusive::Bool`: Turn restrictions such as `striaght_on_only `, `left_turn_only`, `right_turn_only`.
100+ - `is_exclusive::Bool`: Turn restrictions such as `straight_on_only `, `left_turn_only`, `right_turn_only`.
101101"""
102102@with_kw struct Restriction{T <: Union{Integer, String} }
103103 id:: T
You can’t perform that action at this time.
0 commit comments