/
srv
/
osrm
/
osrm-backend
/
include
/
guidance
/
/srv/osrm/osrm-backend/include/guidance
mkdir
upload
Name
Size
Mode
Actions
constants.hpp
1265
0644
edit
dl
rm
driveway_handler.hpp
1540
0644
edit
dl
rm
files.hpp
1996
0644
edit
dl
rm
guidance_processing.hpp
2161
0644
edit
dl
rm
intersection.hpp
4933
0644
edit
dl
rm
intersection_handler.hpp
30075
0644
edit
dl
rm
is_through_street.hpp
2392
0644
edit
dl
rm
motorway_handler.hpp
2229
0644
edit
dl
rm
parsing_toolkit.hpp
3571
0644
edit
dl
rm
roundabout_handler.hpp
3374
0644
edit
dl
rm
roundabout_type.hpp
510
0644
edit
dl
rm
segregated_intersection_classification.hpp
677
0644
edit
dl
rm
serialization.hpp
1966
0644
edit
dl
rm
sliproad_handler.hpp
3683
0644
edit
dl
rm
statistics_handler.hpp
4235
0644
edit
dl
rm
suppress_mode_handler.hpp
1765
0644
edit
dl
rm
turn_analysis.hpp
2838
0644
edit
dl
rm
turn_bearing.hpp
777
0644
edit
dl
rm
turn_classification.hpp
535
0644
edit
dl
rm
turn_data_container.hpp
4326
0644
edit
dl
rm
turn_discovery.hpp
1509
0644
edit
dl
rm
turn_handler.hpp
4137
0644
edit
dl
rm
turn_instruction.hpp
16737
0644
edit
dl
rm
turn_lane_augmentation.hpp
507
0644
edit
dl
rm
turn_lane_data.hpp
1403
0644
edit
dl
rm
turn_lane_handler.hpp
6321
0644
edit
dl
rm
turn_lane_matcher.hpp
2047
0644
edit
dl
rm
Edit:
/srv/osrm/osrm-backend/include/guidance/constants.hpp
(1265B)
#ifndef OSRM_GUIDANCE_CONSTANTS_HPP_ #define OSRM_GUIDANCE_CONSTANTS_HPP_ #include "extractor/intersection/constants.hpp" namespace osrm::guidance { // what angle is interpreted as going straight using extractor::intersection::STRAIGHT_ANGLE; // if a turn deviates this much from going straight, it will be kept straight using extractor::intersection::MAXIMAL_ALLOWED_NO_TURN_DEVIATION; // angle that lies between two nearly indistinguishable roads using extractor::intersection::GROUP_ANGLE; using extractor::intersection::NARROW_TURN_ANGLE; // angle difference that can be classified as straight, if its the only narrow turn using extractor::intersection::FUZZY_ANGLE_DIFFERENCE; const double constexpr DISTINCTION_RATIO = 2; // Named roundabouts with radii larger then than this are seen as rotary const double constexpr MAX_ROUNDABOUT_RADIUS = 15; // Unnamed small roundabouts that look like intersections are announced as turns, // guard against data issues or such roundabout intersections getting too large. const double constexpr MAX_ROUNDABOUT_INTERSECTION_RADIUS = 15; const double constexpr INCREASES_BY_FOURTY_PERCENT = 1.4; const int constexpr MAX_SLIPROAD_THRESHOLD = 250; } // namespace osrm::guidance #endif // OSRM_GUIDANCE_CONSTANTS_HPP_
Save
cmd:
run