From 801d0ebe4d12f4eaa139c46066fa46e8f1764683 Mon Sep 17 00:00:00 2001 From: Huyen Chau Nguyen Date: Sat, 29 Sep 2018 00:11:25 +0300 Subject: [PATCH] parse maxspeed using source:maxspeed and maxspeed:type tags --- profiles/lib/way_handlers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/lib/way_handlers.lua b/profiles/lib/way_handlers.lua index 265929d73..9ade65e03 100644 --- a/profiles/lib/way_handlers.lua +++ b/profiles/lib/way_handlers.lua @@ -432,7 +432,7 @@ end -- maxspeed and advisory maxspeed function WayHandlers.maxspeed(profile,way,result,data) - local keys = Sequence { 'maxspeed:advisory', 'maxspeed' } + local keys = Sequence { 'maxspeed', 'source:maxspeed', 'maxspeed:type', 'maxspeed:advisory' } local forward, backward = Tags.get_forward_backward_by_set(way,data,keys) forward = WayHandlers.parse_maxspeed(forward,profile) backward = WayHandlers.parse_maxspeed(backward,profile)