Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/parse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ function is_valid_restriction(members::AbstractArray, ways::AbstractDict{T,Way{T
type = member["type"]
role = member["role"]

# Members with missing role can be ignored
isempty(role) && continue

if type == "way"
if !haskey(ways, id) || id in ways_set
# Cannot process missing and duplicate from/via/to ways
Expand Down
Loading