Tentative fix to https://github.com/Project-OSRM/osrm-backend/issues/5084
not 100% sure it's correct but at least it doesn't crash anymore :)
This commit is contained in:
parent
fdbcefe358
commit
4d8862752e
@ -84,7 +84,7 @@ function WayHandlers.startpoint(profile,way,result,data)
|
|||||||
-- highway=service and access tags check
|
-- highway=service and access tags check
|
||||||
local is_service = data.highway == "service"
|
local is_service = data.highway == "service"
|
||||||
if is_service then
|
if is_service then
|
||||||
if profile.service_access_tag_blacklist[data.forward_access] then
|
if profile.access_tag_blacklist[data.forward_access] then
|
||||||
result.is_startpoint = false
|
result.is_startpoint = false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user