Skip to content

Commit cd4e6a1

Browse files
authored
Fix broken path in documentation (#5636)
Replaces references to `include/extractor/guidance/road_classification.hpp` with `include/extractor/road_classification.hpp`. The latter is included in the project.
1 parent 5cac188 commit cd4e6a1

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/profiles.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ exits | String | The ramp's exit numbers or
178178
pronunciation | String | Name pronunciation
179179
road_classification.motorway_class | Boolean | Guidance: way is a motorway
180180
road_classification.link_class | Boolean | Guidance: way is a slip/link road
181-
road_classification.road_priority_class | Enum | Guidance: order in priority list. Defined in `include/extractor/guidance/road_classification.hpp`
181+
road_classification.road_priority_class | Enum | Guidance: order in priority list. Defined in `include/extractor/road_classification.hpp`
182182
road_classification.may_be_ignored | Boolean | Guidance: way is non-highway
183183
road_classification.num_lanes | Unsigned | Guidance: total number of lanes in way
184184

@@ -223,7 +223,7 @@ source_number_of_lanes | Read | Integer |
223223
source_highway_turn_classification | Read | Integer | Classification based on highway tag defined by user during setup. (default when not set: 0, allowed classification values are: 0-15))
224224
source_access_turn_classification | Read | Integer | Classification based on access tag defined by user during setup. (default when not set: 0, allowed classification values are: 0-15))
225225
source_speed | Read | Integer | Speed on this source road in km/h
226-
source_priority_class | Read | Enum | The type of road priority class of the source. Defined in `include/extractor/guidance/road_classification.hpp`
226+
source_priority_class | Read | Enum | The type of road priority class of the source. Defined in `include/extractor/road_classification.hpp`
227227
target_restricted | Read | Boolean | Is the target a restricted access road? (See definition in `process_way`)
228228
target_mode | Read | Enum | Travel mode after the turn. Defined in `include/extractor/travel_mode.hpp`
229229
target_is_motorway | Read | Boolean | Is the target road a motorway?
@@ -232,7 +232,7 @@ target_number_of_lanes | Read | Integer |
232232
target_highway_turn_classification | Read | Integer | Classification based on highway tag defined by user during setup. (default when not set: 0, allowed classification values are: 0-15))
233233
target_access_turn_classification | Read | Integer | Classification based on access tag defined by user during setup. (default when not set: 0, allowed classification values are: 0-15))
234234
target_speed | Read | Integer | Speed on this target road in km/h
235-
target_priority_class | Read | Enum | The type of road priority class of the target. Defined in `include/extractor/guidance/road_classification.hpp`
235+
target_priority_class | Read | Enum | The type of road priority class of the target. Defined in `include/extractor/road_classification.hpp`
236236
roads_on_the_right | Read | Vector<ExtractionTurnLeg> | Vector with information about other roads on the right of the turn that are also connected at the intersection
237237
roads_on_the_left | Read | Vector<ExtractionTurnLeg> | Vector with information about other roads on the left of the turn that are also connected at the intersection. If turn is a u turn, this is empty.
238238
weight | Read/write | Float | Penalty to be applied for this turn (routing weight)
@@ -252,7 +252,7 @@ number_of_lanes | Read | Integer | How many lanes does th
252252
highway_turn_classification | Read | Integer | Classification based on highway tag defined by user during setup. (default when not set: 0, allowed classification values are: 0-15)
253253
access_turn_classification | Read | Integer | Classification based on access tag defined by user during setup. (default when not set: 0, allowed classification values are: 0-15)
254254
speed | Read | Integer | Speed on this road in km/h
255-
priority_class | Read | Enum | The type of road priority class of the leg. Defined in `include/extractor/guidance/road_classification.hpp`
255+
priority_class | Read | Enum | The type of road priority class of the leg. Defined in `include/extractor/road_classification.hpp`
256256
is_incoming | Read | Boolean | Is the road an incoming road of the intersection
257257
is_outgoing | Read | Boolean | Is the road an outgoing road of the intersection
258258

profiles/lib/profile_debugger.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ local pprint = require('lib/pprint')
1010

1111
-- globals that are normally set from C++
1212

13-
-- should match values defined in include/extractor/guidance/road_classification.hpp
13+
-- should match values defined in include/extractor/road_classification.hpp
1414
road_priority_class = {
1515
motorway = 0,
1616
trunk = 2,

profiles/test.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ local pprint = require('lib/pprint')
1515
-- profiles code modifies this table
1616
properties = {}
1717

18-
-- should match values defined in include/extractor/guidance/road_classification.hpp
18+
-- should match values defined in include/extractor/road_classification.hpp
1919
road_priority_class = {
2020
motorway = 0,
2121
trunk = 2,

0 commit comments

Comments
 (0)