Add support of distance in foot and bicycle profiles
This commit is contained in:
		
							parent
							
								
									fd7791a0e2
								
							
						
					
					
						commit
						cfa5d7e172
					
				@ -1,6 +1,7 @@
 | 
			
		||||
# UNRELEASED
 | 
			
		||||
    - Profile:
 | 
			
		||||
      - New function to support relations: `process_relation`. Read more in profiles documentation.
 | 
			
		||||
      - Support of `distance` weight in foot and bicycle profiles
 | 
			
		||||
    - Infrastructure:
 | 
			
		||||
      - Lua 5.1 support is removed due to lack of support in sol2 https://github.com/ThePhD/sol2/issues/302
 | 
			
		||||
    - Node.js Bindings:
 | 
			
		||||
 | 
			
		||||
@ -536,7 +536,7 @@ function process_way(profile, way, result)
 | 
			
		||||
 | 
			
		||||
    -- handle turn lanes and road classification, used for guidance
 | 
			
		||||
    WayHandlers.classification,
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    -- handle allowed start/end modes
 | 
			
		||||
    WayHandlers.startpoint,
 | 
			
		||||
 | 
			
		||||
@ -544,7 +544,10 @@ function process_way(profile, way, result)
 | 
			
		||||
    WayHandlers.roundabouts,
 | 
			
		||||
 | 
			
		||||
    -- set name, ref and pronunciation
 | 
			
		||||
    WayHandlers.names
 | 
			
		||||
    WayHandlers.names,
 | 
			
		||||
 | 
			
		||||
    -- set weight properties of the way
 | 
			
		||||
    WayHandlers.weights
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  WayHandlers.run(profile,way,result,data,handlers)
 | 
			
		||||
 | 
			
		||||
@ -237,7 +237,10 @@ function process_way(profile, way, result)
 | 
			
		||||
    WayHandlers.startpoint,
 | 
			
		||||
 | 
			
		||||
    -- set name, ref and pronunciation
 | 
			
		||||
    WayHandlers.names
 | 
			
		||||
    WayHandlers.names,
 | 
			
		||||
 | 
			
		||||
    -- set weight properties of the way
 | 
			
		||||
    WayHandlers.weights
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  WayHandlers.run(profile,way,result,data,handlers)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user