32 lines
		
	
	
		
			835 B
		
	
	
	
		
			Gherkin
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			835 B
		
	
	
	
		
			Gherkin
		
	
	
	
	
	
| @routing @countryfoot
 | |
| Feature: Countryfoot - Intersections
 | |
| 
 | |
|     Background:
 | |
|         Given the profile "countryfoot"
 | |
|         Given a grid size of 2 meters
 | |
| 
 | |
|     # https://github.com/Project-OSRM/osrm-backend/issues/6218
 | |
|     Scenario: Countryfoot - Handles non-planar intersections
 | |
|         Given the node map
 | |
| 
 | |
|             """
 | |
|                 f
 | |
|                 |
 | |
|                 a
 | |
|                 |
 | |
|             b---c---d
 | |
|                 |
 | |
|                 e
 | |
|             """
 | |
| 
 | |
|         And the ways
 | |
|             | nodes | highway | foot | layer |
 | |
|             | ac    | footway | yes  | 0     |
 | |
|             | bc    | footway | yes  | 0     |
 | |
|             | cd    | footway | yes  | 0     |
 | |
|             | cef   | footway | yes  | 1     |
 | |
| 
 | |
|         When I route I should get
 | |
|             | from | to | route    |
 | |
|             | a    | d  | ac,cd,cd |
 |