rendering profile UPPERCLASSES
Posted: 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: 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:
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
Best regards Berndmap.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