Prevents routing over delivery ways and nodes; closes #2150.
This commit is contained in:
		
							parent
							
								
									c70d138eb9
								
							
						
					
					
						commit
						3ee8b655ea
					
				@ -6,7 +6,7 @@ local limit = require("lib/maxspeed").limit
 | 
				
			|||||||
-- Begin of globals
 | 
					-- Begin of globals
 | 
				
			||||||
barrier_whitelist = { [""] = true, ["cycle_barrier"] = true, ["bollard"] = true, ["entrance"] = true, ["cattle_grid"] = true, ["border_control"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["no"] = true, ["block"] = true }
 | 
					barrier_whitelist = { [""] = true, ["cycle_barrier"] = true, ["bollard"] = true, ["entrance"] = true, ["cattle_grid"] = true, ["border_control"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["no"] = true, ["block"] = true }
 | 
				
			||||||
access_tag_whitelist = { ["yes"] = true, ["permissive"] = true, ["designated"] = true }
 | 
					access_tag_whitelist = { ["yes"] = true, ["permissive"] = true, ["designated"] = true }
 | 
				
			||||||
access_tag_blacklist = { ["no"] = true, ["private"] = true, ["agricultural"] = true, ["forestry"] = true }
 | 
					access_tag_blacklist = { ["no"] = true, ["private"] = true, ["agricultural"] = true, ["forestry"] = true, ["delivery"] = true }
 | 
				
			||||||
access_tag_restricted = { ["destination"] = true, ["delivery"] = true }
 | 
					access_tag_restricted = { ["destination"] = true, ["delivery"] = true }
 | 
				
			||||||
access_tags_hierarchy = { "bicycle", "vehicle", "access" }
 | 
					access_tags_hierarchy = { "bicycle", "vehicle", "access" }
 | 
				
			||||||
cycleway_tags = {["track"]=true,["lane"]=true,["opposite"]=true,["opposite_lane"]=true,["opposite_track"]=true,["share_busway"]=true,["sharrow"]=true,["shared"]=true }
 | 
					cycleway_tags = {["track"]=true,["lane"]=true,["opposite"]=true,["opposite_lane"]=true,["opposite_track"]=true,["share_busway"]=true,["sharrow"]=true,["shared"]=true }
 | 
				
			||||||
 | 
				
			|||||||
@ -5,7 +5,7 @@ local find_access_tag = require("lib/access").find_access_tag
 | 
				
			|||||||
-- Begin of globals
 | 
					-- Begin of globals
 | 
				
			||||||
barrier_whitelist = { ["cattle_grid"] = true, ["border_control"] = true, ["checkpoint"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["lift_gate"] = true, ["no"] = true, ["entrance"] = true }
 | 
					barrier_whitelist = { ["cattle_grid"] = true, ["border_control"] = true, ["checkpoint"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["lift_gate"] = true, ["no"] = true, ["entrance"] = true }
 | 
				
			||||||
access_tag_whitelist = { ["yes"] = true, ["motorcar"] = true, ["motor_vehicle"] = true, ["vehicle"] = true, ["permissive"] = true, ["designated"] = true, ["destination"] = true }
 | 
					access_tag_whitelist = { ["yes"] = true, ["motorcar"] = true, ["motor_vehicle"] = true, ["vehicle"] = true, ["permissive"] = true, ["designated"] = true, ["destination"] = true }
 | 
				
			||||||
access_tag_blacklist = { ["no"] = true, ["private"] = true, ["agricultural"] = true, ["forestry"] = true, ["emergency"] = true, ["psv"] = true }
 | 
					access_tag_blacklist = { ["no"] = true, ["private"] = true, ["agricultural"] = true, ["forestry"] = true, ["emergency"] = true, ["psv"] = true, ["delivery"] = true }
 | 
				
			||||||
access_tag_restricted = { ["destination"] = true, ["delivery"] = true }
 | 
					access_tag_restricted = { ["destination"] = true, ["delivery"] = true }
 | 
				
			||||||
access_tags_hierarchy = { "motorcar", "motor_vehicle", "vehicle", "access" }
 | 
					access_tags_hierarchy = { "motorcar", "motor_vehicle", "vehicle", "access" }
 | 
				
			||||||
service_tag_restricted = { ["parking_aisle"] = true }
 | 
					service_tag_restricted = { ["parking_aisle"] = true }
 | 
				
			||||||
 | 
				
			|||||||
@ -5,7 +5,7 @@ local find_access_tag = require("lib/access").find_access_tag
 | 
				
			|||||||
-- Begin of globals
 | 
					-- Begin of globals
 | 
				
			||||||
barrier_whitelist = { [""] = true, ["cycle_barrier"] = true, ["bollard"] = true, ["entrance"] = true, ["cattle_grid"] = true, ["border_control"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["no"] = true, ["block"] = true}
 | 
					barrier_whitelist = { [""] = true, ["cycle_barrier"] = true, ["bollard"] = true, ["entrance"] = true, ["cattle_grid"] = true, ["border_control"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["no"] = true, ["block"] = true}
 | 
				
			||||||
access_tag_whitelist = { ["yes"] = true, ["foot"] = true, ["permissive"] = true, ["designated"] = true  }
 | 
					access_tag_whitelist = { ["yes"] = true, ["foot"] = true, ["permissive"] = true, ["designated"] = true  }
 | 
				
			||||||
access_tag_blacklist = { ["no"] = true, ["private"] = true, ["agricultural"] = true, ["forestry"] = true }
 | 
					access_tag_blacklist = { ["no"] = true, ["private"] = true, ["agricultural"] = true, ["forestry"] = true, ["delivery"] = true }
 | 
				
			||||||
access_tag_restricted = { ["destination"] = true, ["delivery"] = true }
 | 
					access_tag_restricted = { ["destination"] = true, ["delivery"] = true }
 | 
				
			||||||
access_tags_hierarchy = { "foot", "access" }
 | 
					access_tags_hierarchy = { "foot", "access" }
 | 
				
			||||||
service_tag_restricted = { ["parking_aisle"] = true }
 | 
					service_tag_restricted = { ["parking_aisle"] = true }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user