today I investigated a strange routing issue which was caused by a lack of data. We wanted to compute a route based on the following area:
Unfortunately we encountered a large detour of almost 30km (89km versus 120km).
I then created a special mapping profile that is used in these images, too:
- High level streets (cat 0,1,2) are displayed in GREEN: they are usually parametrized with a CategoryScope=-1 (any map wide street of such a scope is considered)
- Medium range (cat 3) are displayed in YELLOW: they have a wide range scope=200 and are available in large distance to Waypoints
- Lower class (cat 4,5,6,7) are displayed in RED: they have a very small category scope of 20 and are not available outside few kilometers of Waypoints
As you can see on the next image the straight direction through the town Jumilhac is a bottleneck because all highlevel streets have a WEIGHT restriction.
Feel free to use the special profile...
# 16777215 = WHITE
# 16776960 = CYAN
# 16711935 = MAGENTA
# 16711680 = BLUE
# 65535 = YELLOW
# 65280 = GREEN
# 255 = RED
# 0 = BLACK
Best regards Bernd