Update country_speeds.lua
support code for trunks data file
This commit is contained in:
parent
e89d116b73
commit
07d9c83bc9
@ -34,6 +34,9 @@ function country_speeds.getcountrytag(way)
|
|||||||
if not location then
|
if not location then
|
||||||
location = way:get_location_tag("ISO_A3")
|
location = way:get_location_tag("ISO_A3")
|
||||||
end
|
end
|
||||||
|
if not location then
|
||||||
|
location = way:get_location_tag("ISO3_CODE")
|
||||||
|
end
|
||||||
if not location then
|
if not location then
|
||||||
countryname = way:get_location_tag("name_en")
|
countryname = way:get_location_tag("name_en")
|
||||||
if countryname then
|
if countryname then
|
||||||
|
Loading…
Reference in New Issue
Block a user