diff --git a/docs/profiles.md b/docs/profiles.md index 4cd8aa05f..fa74b8780 100644 --- a/docs/profiles.md +++ b/docs/profiles.md @@ -178,7 +178,7 @@ exits | String | The ramp's exit numbers or pronunciation | String | Name pronunciation road_classification.motorway_class | Boolean | Guidance: way is a motorway road_classification.link_class | Boolean | Guidance: way is a slip/link road -road_classification.road_priority_class | Enum | Guidance: order in priority list. Defined in `include/extractor/guidance/road_classification.hpp` +road_classification.road_priority_class | Enum | Guidance: order in priority list. Defined in `include/extractor/road_classification.hpp` road_classification.may_be_ignored | Boolean | Guidance: way is non-highway road_classification.num_lanes | Unsigned | Guidance: total number of lanes in way @@ -223,7 +223,7 @@ source_number_of_lanes | Read | Integer | 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)) 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)) source_speed | Read | Integer | Speed on this source road in km/h -source_priority_class | Read | Enum | The type of road priority class of the source. Defined in `include/extractor/guidance/road_classification.hpp` +source_priority_class | Read | Enum | The type of road priority class of the source. Defined in `include/extractor/road_classification.hpp` target_restricted | Read | Boolean | Is the target a restricted access road? (See definition in `process_way`) target_mode | Read | Enum | Travel mode after the turn. Defined in `include/extractor/travel_mode.hpp` target_is_motorway | Read | Boolean | Is the target road a motorway? @@ -232,7 +232,7 @@ target_number_of_lanes | Read | Integer | 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)) 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)) target_speed | Read | Integer | Speed on this target road in km/h -target_priority_class | Read | Enum | The type of road priority class of the target. Defined in `include/extractor/guidance/road_classification.hpp` +target_priority_class | Read | Enum | The type of road priority class of the target. Defined in `include/extractor/road_classification.hpp` roads_on_the_right | Read | Vector | Vector with information about other roads on the right of the turn that are also connected at the intersection roads_on_the_left | Read | Vector | 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. 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 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) 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) speed | Read | Integer | Speed on this road in km/h -priority_class | Read | Enum | The type of road priority class of the leg. Defined in `include/extractor/guidance/road_classification.hpp` +priority_class | Read | Enum | The type of road priority class of the leg. Defined in `include/extractor/road_classification.hpp` is_incoming | Read | Boolean | Is the road an incoming road of the intersection is_outgoing | Read | Boolean | Is the road an outgoing road of the intersection diff --git a/profiles/lib/profile_debugger.lua b/profiles/lib/profile_debugger.lua index 0e4f45599..15f835609 100644 --- a/profiles/lib/profile_debugger.lua +++ b/profiles/lib/profile_debugger.lua @@ -10,7 +10,7 @@ local pprint = require('lib/pprint') -- globals that are normally set from C++ --- should match values defined in include/extractor/guidance/road_classification.hpp +-- should match values defined in include/extractor/road_classification.hpp road_priority_class = { motorway = 0, trunk = 2, diff --git a/profiles/test.lua b/profiles/test.lua index 562990252..07f174b68 100644 --- a/profiles/test.lua +++ b/profiles/test.lua @@ -15,7 +15,7 @@ local pprint = require('lib/pprint') -- profiles code modifies this table properties = {} --- should match values defined in include/extractor/guidance/road_classification.hpp +-- should match values defined in include/extractor/road_classification.hpp road_priority_class = { motorway = 0, trunk = 2,