Merge pull request #129 from emiltin/foot_speedprofile
add a speedprofile for walking, and a test for basic way accessability
This commit is contained in:
		
						commit
						9542ab0482
					
				| @ -1,6 +1,6 @@ | ||||
| @routing @access | ||||
| Feature: Oneway streets | ||||
| 	Basic accessability of various way types. | ||||
| Feature: Default speedprofiles | ||||
| 	Basic accessability of various way types depending on speedprofile. | ||||
| 
 | ||||
| 	Scenario: Basic access for cars | ||||
| 	 	Given the speedprofile "car" | ||||
| @ -53,3 +53,28 @@ Feature: Oneway streets | ||||
| 		 | cycleway      | x    | | ||||
| 		 | bridleway     |      | | ||||
| 
 | ||||
| 	Scenario: Basic access for walking | ||||
| 	 	Given the speedprofile "foot" | ||||
| 	 	Then routability should be | ||||
| 		 | highway       | forw | | ||||
| 		 | motorway      |      | | ||||
| 		 | motorway_link |      | | ||||
| 		 | trunk         |      | | ||||
| 		 | trunk_link    | x    | | ||||
| 		 | primary       | x    | | ||||
| 		 | secondary     | x    | | ||||
| 		 | tertiary      | x    | | ||||
| 		 | residential   | x    | | ||||
| 		 | service       | x    | | ||||
| 		 | unclassified  | x    | | ||||
| 		 | living_street | x    | | ||||
| 		 | road		     | x    | | ||||
| 		 | track         | x    | | ||||
| 		 | path          | x    | | ||||
| 		 | footway       | x    | | ||||
| 		 | pedestrian    | x    | | ||||
| 		 | steps         | x    | | ||||
| 		 | pier          | x    | | ||||
| 		 | cycleway      | x    | | ||||
| 		 | bridleway     |      | | ||||
| 
 | ||||
|  | ||||
							
								
								
									
										28
									
								
								speedprofiles/foot.ini
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								speedprofiles/foot.ini
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,28 @@ | ||||
| [foot] | ||||
| 	accessTag		= foot | ||||
| 	defaultSpeed	= 5 | ||||
| 	obeyOneways		= no | ||||
| 	useRestrictions = no | ||||
| 	obeyBollards	= no | ||||
| 
 | ||||
| 	primary         = 5 | ||||
| 	primary_link    = 5 | ||||
| 	secondary       = 5 | ||||
| 	secondary_link  = 5 | ||||
| 	tertiary        = 5 | ||||
| 	residential     = 5 | ||||
| 	unclassified    = 5 | ||||
| 	living_street   = 5 | ||||
| 	road		    = 5 | ||||
| 	service         = 5 | ||||
| 	track			= 5 | ||||
| 	path			= 5 | ||||
| 	cycleway		= 5 | ||||
| 	footway			= 5 | ||||
| 	pedestrian		= 5 | ||||
| 	pier			= 5 | ||||
| 	steps			= 2 | ||||
| 	 | ||||
| 	ferry			= 5 | ||||
| 
 | ||||
| 	excludeFromGrid = ferry | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user