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.

rendering profile UPPERCLASSES

Postby Asterix » Thu Nov 12, 2015 4:34 pm

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:
Jumilhac-WIDERANGE.gif
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.
Jumilhac-CLOSEUP.gif
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
Asterix
Site Admin
 
Posts: 701
Joined: Mon Apr 14, 2014 10:28 am

Re: rendering profile UPPERCLASSES

Postby Asterix » Tue Apr 18, 2017 12:45 pm

Ant two more examples

svitavy.gif
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

komarno2.gif
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
Manager Technical Consulting & Requirement Engineering
Senior Technical Consultant Developer Components
PTV GROUP - Germany

https://www.youtube.com/channel/UCgkUli9yGf0gwTDdxbMZ-Kg
User avatar
Asterix
Site Admin
 
Posts: 701
Joined: Mon Apr 14, 2014 10:28 am


Return to PTV xRouteServer

cron