rendering profile UPPERCLASSES

This forum deals with any kind of routing computation whether it is simple A:B-routing, calculation of isochrones, simple matrix computation or nearest search.
Post Reply
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

rendering profile UPPERCLASSES

Post by Bernd Welter »

Hey there,

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:
global setting
global setting
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.
higher level streets in this town are all blocked for MAX_WEIGHT=3500
higher level streets in this town are all blocked for MAX_WEIGHT=3500
Feel free to use the special profile...
map.profile=xmap-upperclasses.properties
#MOTORWAY 0
#HIGHWAY 1
#TRUNK_ROAD 2
#COUNTRY_ROAD 3
#CITY_ROAD 4
#RESIDENTIAL_ROAD 5
#SPECIAL_ROAD 6
#CYCLE_AND_WALKWAY 7

# 16777215 = WHITE
# 16776960 = CYAN
# 16711935 = MAGENTA
# 16711680 = BLUE
# 65535 = YELLOW
# 65280 = GREEN
# 255 = RED
# 0 = BLACK

[config.streeti.colorbytype]
0=65280
1=65280
2=65280
3=65535
4=255
5=255
6=255
7=255

[config.streetf.colorbytype]
0=65280
1=65280
2=65280
3=65535
4=255
5=255
6=255
7=255
Best regards Bernd
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: rendering profile UPPERCLASSES

Post by Bernd Welter »

Ant two more examples
Svitavy: the major road that leads through the city is blocked for trucks exceeding 3.30m height.<br />Almost every other road nearby is code RED (lower class, not part of the search space if not cloase to at least one station) so this is another bottleneck
Svitavy: the major road that leads through the city is blocked for trucks exceeding 3.30m height.
Almost every other road nearby is code RED (lower class, not part of the search space if not cloase to at least one station) so this is another bottleneck
Komarno: another bottleneck. The major roads 63 and 64 reaching the city from the northeast lead to a weight restricted bridge. So if this bridge is forbidden in the routing this causes a major detour if the geometry is suboptimal.
Komarno: another bottleneck. The major roads 63 and 64 reaching the city from the northeast lead to a weight restricted bridge. So if this bridge is forbidden in the routing this causes a major detour if the geometry is suboptimal.
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Post Reply