User:Oliver eule
Zurück bis nach der Korrektur der Bahnstrecken, da Groundtruth eine mir unklare Fehlermeldung ausgab. This is a set of rendering rules used for ground truth. Special focus is set on outdoor activities like cycling, hiking and skiing. Descriptions are in german Feel free to copy and use rules you like. Please do not edit them here. Please report errors to me. Thanks in advance
Other rules may be found here Category:GroundTruth Rules.
NOTE: you need GroundTruth version 1.1 or above to use this rules.
Rendering Rules
Options
Option | Value | Comment |
---|---|---|
RulesVersion | 1.1 | Minimal version of GroundTruth needed to use these rules |
Areas
Rule Name | Selector | Min Level | Max Level | Type Name | Label | Colors | Pattern |
---|---|---|---|---|---|---|---|
Land | natural=land | 18 | Land | "land" |
| ||
Marsh | natural=marsh or waterway=wetland | 18 | Wetland | "marsh" |
|
00000000000000000000000000000000
11110000111100001111000011110000 00000000000000000000000000000000 00001111000011110000111100001111 | |
Forest | landuse=forest or natural=wood | 18 | Woods | "Wald" |
| ||
Farm | landuse=farm | 18 | "Felder" |
| |||
Fell | natural=fell | 18 | "fell" |
| |||
Residential | landuse=residential | 18 | City | "Wohngebiet" |
| ||
Industrial | landuse=industrial | 18 | "Industriegebiet" |
| |||
Gebaeude | building=yes | 21 | name |
| |||
Water | waterway=riverbank or waterway=river or natural=water | 18 | River | name |
| ||
Sea | natural=sea | 18 | Sea | "See" |
|
Lines
Rule Name | Selector | Min Level | Max Level | Type Name | Label | Colors | Width | Border Width | Pattern | |
---|---|---|---|---|---|---|---|---|---|---|
Coastline | natural=coastline | 12 | Shoreline | "Küste" |
|
2 | ||||
Klippen | natural=cliff | 20 |
|
00000000 00100000 01110000 11111111 | ||||||
PathMinor | (highway=footway or highway=path)
and (trail_visibility=no or trail_visibility=horrible or trail_visibility=bad) |
20 | "schmaler Pfad" |
|
11111000 | |||||
PathMajor | (highway=footway or highway=path)
and not (trail_visibility=no or trail_visibility=horrible or trail_visibility=bad) |
20 | Trail | "Weg" ++ name |
|
1 | ||||
TrackMajor | highway=track and (tracktype=grade1 or tracktype=grade2 or not tracktype=*) | 20 | Unpaved Road-thin | "unbef Straße" ++ name |
|
2 | ||||
TrackMinor | highway=track and (tracktype=grade3 or tracktype=grade4 or tracktype=grade5) | 20 | "unbef Straße" ++ name |
|
11111000
11111000 |
|||||
Radweg | highway=cycleway |
|
2 | |||||||
Treppen | highway=steps | 22 |
|
0100 0100 0100 0100 | ||||||
Autobahn | highway=motorway | ref ++ name |
|
4 | ||||||
Autobahnanschluss | highway=motorway_link |
|
4 | |||||||
Bundesstrasse | highway=primary or highway=primary_link | ref ++ name |
|
2 | ||||||
Landstrasse | highway=secondary or highway=secondary_link | ref ++ name |
|
2 | ||||||
Kreisstrasse | highway=tertiary or highway=tertiary_link | ref ++ name |
|
2 | ||||||
Verbindungsstrasse | highway=unclassified or highway=residential | ref ++ name |
|
1 | ||||||
strasse | highway=service | name |
|
1 | ||||||
Fussgaengerzone | highway=pedestrian | name |
|
1 | ||||||
Spielstrasse | highway=living_street | name |
|
1 | ||||||
Railway | railway=rail | 19 | Railroad | name |
|
00011000 00011000 00011000 11111111 00011000 00011000 00011000 | ||||
Museumsbahn | railway=preserved | 19 | name |
|
00001000 00010000 00001000 11111111 00001000 00010000 00001000 | |||||
Stadtbahn | railway=tram or railway=subway or railway=light_rail | 19 | name |
|
00010000 00010000 11111111 00010000 00010000 | |||||
Schmalspurbahn | railway=narrow_gauge | 19 | name |
|
00010000 00010000 11111111 00010000 00010000 | |||||
Bruecke | bridge=yes | 20 |
|
1111 0000 0000 0000 0000 1111 | ||||||
Tunnel | tunnel=yes | 20 |
|
11111111 01000000 00100000 00010000 00001000 00000100 00000010 11111111 | ||||||
Radroute | relation:type=route and relation:route=bicycle | relation:ref |
|
1100 0000 0000 0000 0000 0000 0000 1100 | ||||||
Markierter_Wanderweg | relation:type=route and relation:route=hiking | piste:ref ++ piste:name |
|
1100 1100 0000 0000 0000 0000 1100 1100 | ||||||
Skipiste_blau | piste:type=downhill and piste:difficulty=easy | piste:ref ++ ref ++ piste:name ++ name |
|
11000000 01100000 00110000 00011000 00011000 00110000 01100000 11000000 | ||||||
Skipiste_rot | piste:type=downhill and piste:difficulty=intermediate | piste:ref ++ ref ++ piste:name ++ name |
|
11000000 01100000 00110000 00011000 00011000 00110000 01100000 11000000 | ||||||
Skipiste_schwarz | piste:type=downhill and piste:difficulty=advanced | piste:ref ++ ref ++ piste:name ++ name |
|
11000000 01100000 00110000 00011000 00011000 00110000 01100000 11000000 | ||||||
CableCar | aerialway=cable_car | 21 | "Seilbahn " ++ name |
|
1100
1100 | |||||
Gondelbahn | aerialway=gondola | 21 | "Umlaufgondel " ++ name |
|
1100
1100 | |||||
Sessellift | aerialway=chair_lift | 22 | ref ++ "Sessellift" ++ name |
|
1100
1100 | |||||
Schlepplift | aerialway=drag_lift | 22 | ref ++ "Skilift" ++ name |
|
1100
1100 | |||||
Freileitung | power=line | 21 | "Freiltg." ++ name |
|
1 | |||||
River | waterway=river | 12 | River | name |
|
2 | ||||
Stream | waterway=stream | 22 | Stream-thin | "stream" |
|
2 | ||||
Ditch | barrier=ditch | 24 | "ditch" |
|
1111 1000 1000 1000 | |||||
NationalBorder | boundary=administrative admin_level=2 | 12 | Intl. Boundary | "Staatengrenze" |
|
1111001100111100
1111001100111100 | ||||
NationalPark | boundary=national_park | 12 | "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 | ||
Peak | natural=peak | 21 | Summit | name ++ ele "$1f$elevation" | #IconPeak | |
Parkplatz | amenity=parking | 22 | Parking Area | |||
GuestHouse | tourism=guest_house | 22 | Bed & Breakfast inn | name | ||
Shelter | amenity=shelter | 22 | Shelter | name | #IconShelter | |
Bank | amenity=bank | 22 | Bank | name | ||
IconBench | amenity=bench | 22 | Bench | #IconBench | ||
BicycleParking | amenity=bicycle_parking | 21 | name | #IconBicycleParking | ||
BicycleRental | amenity=bicycle_rental | 21 | name ++ ref | |||
Cafe | amenity=cafe | 21 | Bar | name | ||
Trinkwasser | amenity=drinking_water | 22 | Drinking Water | "fontana" | ||
FastFood | amenity=fast_food | 22 | Fast food | name | ||
Tankstelle | amenity=fuel | 22 | Fuel/Gas | operator | ||
Freileitungsmast | power=tower | 22 | #IconMast | |||
Krankenhaus | amenity=hospital | 21 | Hospital | name | ||
Kirche | amenity=place_of_worship | 22 | Church | name | ||
Polizei | amenity=police | 22 | Police Station | name | ||
Post | amenity=post_office | 22 | Post office | name | ||
Restaurant | amenity=restaurant | 21 | name |
Patterns
IconPeak
Color ID | Color |
---|---|
1 |
|
0001000
0011100
0111110
1111111
1111111
IconShelter
Color ID | Color |
---|---|
1 |
|
000010000
000101000
001000100
010000010
101000101
001000100
001000100
001000100
IconBench
Color ID | Color |
---|---|
1 |
|
11111111
01000010
01000010
IconMast
Color ID | Color |
---|---|
1 |
|
111111
110011
101101
101101
110011
111111
IconBicycleParking
Color ID | Color |
---|---|
1 |
|
2 |
|
1111000000000000
1000100000000000
1000100000000000
1111000000000000
1000000000000000
1001110000111000
1000010000010000
0000022222220000
0000020000020000
0011122000221100
0100210200202010
1000201022002001
1001001002222001
1000001001000001
0100010000100010
0011100000011100