User:Jaszczur666/My Groundtruth Rule

From OpenStreetMap Wiki
Jump to: navigation, search

GroundTruth rendering rules for driving maps.

These are rendering rules for GroundTruth tool for driving maps.

You can see other rendering rules pages by visiting the Category:GroundTruth Rules page.

Feel free to modify or add new rules to this page if you find stuff that's relevant to driving.

NOTE: you need to run GroundTruth version 1.6 or above in order to be able to use these rules.

Rendering Rules

Options

Option Value Comment
RulesVersion 1.6 Minimal version of GroundTruth needed to use these rules
LandBackgroundColor #F1EEE8 Color of the map background. If not set, the default unit color will be used
SeaColor #7EC9FF Color of the sea polygons.
ForceBackgroundColor false Forces showing of custom the map background color

Areas

Rule Name Selector Min Level Max Level Type Name Label Colors Pattern
Marsh natural=marsh or natural=wetland or waterway=wetland 18 Wetland "moczary"
   


00000000000000000000000000000000

11110000111100001111000011110000 00000000000000000000000000000000 00001111000011110000111100001111

Forest landuse=forest or leisure=park or natural=wood or boundary=national_park or leisure=garden 18 Woods "las"
   


Piach natural=sand 22 "piach"
   


Ziele landuse=grass 22 "ziele"
   


Krzaki natural=scrub 18 "krzaki"
   


Zoo tourism=zoo 18 "Zoo"
   


Deptak highway=pedestrian 18 "deptak"
   


Water waterway=riverbank or waterway=river or natural=wateror landuse=reservoir or relation: waterway=riverbankor relation:natural=water or relation:waterway=river 18 "rzeka, bajoro"
   


Sea natural=sea 18 Sea "sea"
   


Cmentarz landuse=cemetery 18 "cmentarz"
   


Wiocha landuse=residential 22 "wiocha"
   


przemysl landuse=industrial 22 "przemysl"
   


Lines

Rule Name Selector Min Level Max Level Type Name Label Colors Width Border Width Pattern
Coastline natural=coastline 12 Shoreline "coastline"
   


2
Most bridge=yes or bridge=trueor bridge=1 13 "Mostek"
   


1111

1111 0000 0000 0000 0000 1111 1111

Trail yellow (relation:type=route and relation:kct_yellow=*)or(relation:type=route and (relation:color=#FFFF00 or relation:colour=#FFFF00))or(relation:type=route and relation:color=yellow)or(relation:type=route and relation:colour=yellow)or(relation:type=route and relation:symbol=yellow)or(relation:route=foot and relation:kct_yellow=*) orkct_yellow=* or (relation:type=route and relation:color=yellow) or marked_trail_yellow=yes 14 "Szlak zolty"
   


11110000

11110000 00000000 00000000 00000000 00000000 00000000 00000000

Trail blue (relation:type=route and relation:kct_blue=*)or(relation:type=route and (relation:color=#0000FFor relation:colour=#0000FF))or(relation:type=route and relation:colour=blue) or(relation:type=route and relation:color=blue)or (relation:type=route and relation:symbol=blue)or(relation:route=foot and relation:kct_blue=*) orkct_blue=* or marked_trail_blue=yes 14 "Szlak niebieski"
   


00000000

00000000 00111100 00111100 00000000 00000000 00000000 00000000 00000000

Trail red (relation:type=route and relation:kct_red=*)or(relation:type=route and (relation:color=#FF0000 or relation:colour=#FF0000))or(relation:type=route and relation:colour=red)or(relation:type=route and relation:color=red)or(relation:type=route and relation:symbol=red)or(relation:route=foot and relation:kct_red=*) orkct_red=* or marked_trail_red=yes 14 "Szlak czerwony"
   


00000000

00000000 11000011 11000011 00000000 00000000 00000000 00000000

Trail green (relation:type=route and relation:kct_green=*)or(relation:type=route and relation:colour=green)or(relation:type=route and relation:color=green)or(relation:type=route and (relation:color=#00FF00 or relation:colour=#00FF00 ))or(relation:type=route and relation:symbol=green)or(relation:route=foot and relation:kct_green=*) orkct_green=* or marked_trail_green=yes 14 "Szlak zielony"
   


00001111

00001111 00000000 00000000 00000000 00000000 00000000 00000000

Trail black (relation:type=route and relation:symbol=black)or(relation:type=route and relation:colour=black)or(relation:type=route and relation:color=black)or(relation:type=route and (relation:color=#000000or relation:colour=#000000)) 14 "Szlak czarny"
   


11000011

11000011 00000000 00000000 00000000 00000000 00000000 00000000

Trail bicycle (relation:type=route and relation:route=bicycle) 14 "Szlak rowerowy"
   


11000011

11000011 00111100 00111100 11000011 11000011 00000000 00000000

ResidentialRoadHighZoom highway=residential or highway=living_street or highway=service 22 name
   


2
ResidentialRoadLowZoom highway=residential 18 21 name
   


1
FootpathHighZoom (highway=path or highway=cycleway or highway=footway or highway=bridleway or highway=pedestrian or highway=steps) 24 "sciezka"
   


00000000

00000000 00000000 00000000 00000000 11111111 00000000 00000000

Motorway highway=motorway 12 Major HWY thick ref "$04$uppercase"
   


4
Motorwayconst highway=construction construction=motorway 14 ref "$04$uppercase"
   


11110000

11110000 11110000 11110000

trunkconst highway=construction construction=trunk 14 ref "$04$uppercase"
   


11110000

11110000 11110000 11110000

Primaryconst highway=construction construction=primary 14 name
   


11110000

11110000 11110000 11110000

MotorwayLink highway=motorway_link 12 Major HWY Connector-thick name
   


2
MotorwayLinkConst highway=construction construction=motorway_link 14 name
   


11110000

11110000 11110000 11110000

Trunk highway=trunk OR highway=trunk_link 13 Principal HWY-thick name
   


4
PrimaryRoad highway=primary 18 Principal HWY-medium name
   


3
PrimaryRoadLink highway=primary_link 20 "primary road link"
   


2
SecondaryRoad highway=secondary or highway=secondary_link 18 Arterial Road-thick name
   


3
SecondaryRoadConst highway=construction construction=secondary 18 name
   


11110000

11110000 11110000 11110000

TertiaryRoad highway=tertiary or highway=tertiary_link 20 Arterial Road-medium name
   


2
UnclassifiedRoad highway=unclassifiedorhighway=road 21 name
   


2
Track highway=track or highway=unsurfaced 22 Unpaved Road-thin name
   


11111100

11111100

River waterway=river or waterway=canal 13 River "river"
   


2
Stream waterway=stream 22 Stream-thin "stream"
   


2
NationalBorder boundary=administrative admin_level=2 12 Intl. Boundary "border"
   


1111001100111100

1111001100111100

OtherBorder boundary=administrative and not admin_level=2 16 "granica"
   


1000001000111100

1000001000111100

NationalPark boundary=national_park 16 "nat. park"
   


1111001100111100

1111001100111100

Points

Rule Name Selector Min Level Max Level Type Name Label Icon
City place=city 20 City (Large) name
Town place=town 21 City (Medium) name
Village place=village or place=hamlet 22 City (Small) name
Locality place=locality 21 Region name (no Point, middle) name
PlaceOfWorship amenity=place_of_worship 22 Place of Worship name
ParkingNode amenity=parking 22 Parking Area
MotorwayJunction highway=motorway_junction 20 Exit name ++ " " ++ ref
GuestHouse tourism=guest_house 22 Bed & Breakfast inn name
Fuel amenity=fuel 22 Fuel/Gas operator
Police amenity=police 22 Police Station "police station"
Hospital amenity=hospital 22 Hospital "hospital " ++ name
Viewpoint tourism=viewpoint 22 name #IconViewpoint
Shelter amenity=shelter 22 name #IconShelter
Schroniskp tourism=alpine_hut 22 name #Alpine
Peak natural=peak 21 Summit name ++ ele "$1f$elevation" #IconPeak
Atrakcja tourism=attraction 21 name #IconAttraction
Przelecz mountain_pass=yes 21 name ++ ele "$1f$elevation" #IconPass
stacja railway=station OR railway=halt 24 name #Iconstation
jaskinia natural=cave_entrance 20 name #iconcave
zamek historic=castle 20 name #iconzamek
tablica tourism=information and information=board 20 name #icontablica
drogowskaz tourism=information and information=guidepost 20 name #icondrogo

Patterns

Iconstation

Color ID Color
1
   


2
   


111111111111111111111111
111111111111111111111111
112222222222222222222211
112222222222222222222211
112222222222222222222211
112222222222222222222211
112222222222222222222211
112222222222222222222211
111111111111111111111111
111111111111111111111111

IconShelter

Color ID Color
1
   


000010000
000101000
001000100
010000010
101000101
001000100
001000100
001000100

iconpic

Color ID Color
1
   


0001111000
0010000100
1111111111
0100000010
1000000001

iconzamek

Color ID Color
1
   


1111111100000000
1111111100000000
1111111100000000
1111111100000000
1111111100000000
1111111100000000
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111
1111111111111111

icontablica

Color ID Color
1
   


11111111
11111111
11111111
11111111
11111111
10000001
10000001
10000001

icondrogo

Color ID Color
1
   


0011111111100
0111111111110
1111111111111
0111111111110
0011111111100
0000011100000
0000011100000
0000011100000
0000011100000
0000011100000
0000011100000

iconcave

Color ID Color
1
   


000001111100000
000110000011000
011000000000110
110000000000011
111111111111111

IconPass

Color ID Color
1
   


100000001
010000010
001000100
000100100
000100100
001000100
010000010
100000001

Alpine

Color ID Color
1
   


000010000
000111000
001111100
011111110
111111111
001111100
001111100

IconPeak

Color ID Color
1
   


000010000
000111000
001111100
011111110
111111111

IconViewpoint

Color ID Color
1
   


00000011000000
00000011000000
00110011001100
00111011011100
00011011011000
00000000000000
11111011011111
11111011011111
00000000000000
00011011011000
00111011011100
00110011001100
00000011000000
00000011000000

IconAttraction

Color ID Color
1
   


00000000
00010000
00000000