Add support of distance in foot and bicycle profiles

This commit is contained in:
Michael Krasnyk 2017-09-18 12:19:07 +02:00
parent fd7791a0e2
commit cfa5d7e172
3 changed files with 10 additions and 3 deletions

View File

@ -1,6 +1,7 @@
# UNRELEASED # UNRELEASED
- Profile: - Profile:
- New function to support relations: `process_relation`. Read more in profiles documentation. - New function to support relations: `process_relation`. Read more in profiles documentation.
- Support of `distance` weight in foot and bicycle profiles
- Infrastructure: - Infrastructure:
- Lua 5.1 support is removed due to lack of support in sol2 https://github.com/ThePhD/sol2/issues/302 - Lua 5.1 support is removed due to lack of support in sol2 https://github.com/ThePhD/sol2/issues/302
- Node.js Bindings: - Node.js Bindings:

View File

@ -544,7 +544,10 @@ function process_way(profile, way, result)
WayHandlers.roundabouts, WayHandlers.roundabouts,
-- set name, ref and pronunciation -- set name, ref and pronunciation
WayHandlers.names WayHandlers.names,
-- set weight properties of the way
WayHandlers.weights
} }
WayHandlers.run(profile,way,result,data,handlers) WayHandlers.run(profile,way,result,data,handlers)

View File

@ -237,7 +237,10 @@ function process_way(profile, way, result)
WayHandlers.startpoint, WayHandlers.startpoint,
-- set name, ref and pronunciation -- set name, ref and pronunciation
WayHandlers.names WayHandlers.names,
-- set weight properties of the way
WayHandlers.weights
} }
WayHandlers.run(profile,way,result,data,handlers) WayHandlers.run(profile,way,result,data,handlers)