Page 1 of 1

rendering profile networkclasses

Posted: Mon Aug 10, 2015 3:42 pm
by Bernd Welter
Hello together,

I created a specific render profile which is dedicated to help recognizing network classes.
Do not use this in production unless you love weird colors ;-)
map.profile=xmap-networkclasses.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=16777215
1=16776960
2=16711935
3=16711680
4=65535
5=65280
6=255
7=0

[config.streetf.colorbytype]
0=16777215
1=16776960
2=16711935
3=16711680
4=65535
5=65280
6=255
7=0
you may recognize cycleways (black=0), residential roads (green = 65280)
you may recognize cycleways (black=0), residential roads (green = 65280)
NC4 = city roads (yellow = 65535)<br />NC3 = country roads (blue = 65280)<br />NC2 = trunkroads (magenta = 16711935)<br />NC1 = highways (cyan = 16776960)
NC4 = city roads (yellow = 65535)
NC3 = country roads (blue = 65280)
NC2 = trunkroads (magenta = 16711935)
NC1 = highways (cyan = 16776960)
NC0 = motorways (white = 16777215)
NC0 = motorways (white = 16777215)
To configure this profile just copy the text into a file named xmap-networkclasses.properties, store the file in [xmap]/conf and restart the xmap.
To request this colorsceme use the CallerContext profile...

Do not hesitate to get back to me if you have questions.

Best regards Bernd