User:Sayyid/GroundTruth Experimental Rules

From OpenStreetMap Wiki
Jump to navigation Jump to search
These are rendering rules for GroundTruth tool moeglichst genaue Abbildung der OSM Karte.
Note: you need to run GroundTruth version 1.1 or above in order to be able to use these rules.
Feel free to modify or add new rules to this page if you find stuff that's relevant to hiking.

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

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 21 Wetland "marsh"
   


00000000000000000000000000000000

11110000111100001111000011110000 00000000000000000000000000000000 00001111000011110000111100001111

Forest landuse=forest or natural=wood 21 Woods "Wald"
   


1111111111111111

1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111101111111 1111111101111111 1111111000111111 1111110101011111 1111111101111111 1111111000111111 1111110101011111 1111111101111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111

Graveyard landuse=cemetery 22 Friedhof "Friedhof"
   


1111111111111111

1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111101111111 1111111101111111 1111000000000111 1111111101111111 1111111101111111 1111111101111111 1111111101111111 1111111101111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111

Attraction tourism=attraction 23 name
   


Park landuse=recreation_ground or leisure=garden or leisure=park 22 "Park"
   


Farm landuse=farm or landuse=farmland 21 "farm"
   


Fell natural=fell 21 "fell"
   


building building=yes 23 "Gebaeude"
   


platz highway=* and area=yes 21 name
   


Residential landuse=residential 18 City "residential"
   


Water waterway=riverbank or waterway=river or natural=water 18 River "water"
   


Sea natural=sea 18 Sea "sea"
   


Lines

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


2
Path highway=path 23 name
   


11111000

11111000

Footway highway=footway or highway=steps 23 name
   


11111000

11111000

Fussgaengerzone highway=pedestrian 23 name
   


1 1
Cycle highway=cycleway or bicycle=designated or bicycle=yes 23 "cycle"
   


1100

1100

TrackMajor highway=track and (tracktype=grade1 or tracktype=grade2 or not tracktype=*) 22 Unpaved Road-thin "major track"
   


2
TrackMinor highway=track and (tracktype=grade3 or tracktype=grade4 or tracktype=grade5) 22 "minor track"
   


11111000

11111000

Trailblazed trailblazed=yes 22 "marked path"
   


1100 1100 0000 0000 1100 1100

Residental highway=residential or highway=service or highway=unclassified 22 name
   


2 1
Livingstreet highway=living_street 22 name
   


2 1
Primary highway=primary or highway=primary_link 20 name " "++ ref
   


4
Secondary highway=secondary or highway=secondary_link 21 name " "++ ref
   


4
Tertiary highway=tertiary or highway=tertiary_link 21 name " "++ ref
   


3 1
MotorwayHigh highway=motorway or highway=trunk or highway=trunk_link or highway=motorway_link 20 ref "$04$value"
   


5
MotorwayLow highway=motorway 18 19 ref "$04$value"
   


2
Railway railway=rail 19 Railroad "Schiene"
   


2
StraBa railway=tram 21 Railroad "Strassenbahn"
   


1110
CableCar aerialway=cable_car 21 "cable car"
   


1100

1100

AerialwaysMinor aerialway=chair_lift or aerialway=drag_lift 22 "aerialway"
   


1100

1100

River waterway=river 12 River "Fluss"
   


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


2
Fence barrier=fence 24 Fence "Zaun"
   


1
Ditch barrier=ditch 24 "ditch"
   


1111 1000 1000 1000

PowerLine power=line 23 "power line"
   


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


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 17 City (Large) name
Town place=town 19 City (Medium) name
Village place=village or place=hamlet 20 City (Small) name
Locality place=locality 21 Region name (no Point, middle) name
PlaceOfWorship amenity=place_of_worship 22 Church name #IconChurch
Peak natural=peak 21 Summit name ++ ele "$1f$elevation" #IconPeak
ParkingNode amenity=parking 22 Parking Area
Quarry landuse=quarry 22 Mine name
TourismInformation tourism=information and not information=guidepost 23 Information
Guidepost tourism=information and information=guidepost 23 Guidepost name #IconGuidepost
HuntingStand amenity=hunting_stand 24 Hochsitz "hunting stand" #IconHuntingStand
GuestHouse tourism=guest_house 22 Bed & Breakfast inn name
Shelter amenity=shelter 22 Shelter name #IconShelter
Bench amenity=bench 23 Bench "Bank" #IconBench
Ruins historic=ruins or historic=archaeological_site or (historic=castle and ruins=yes) 22 Ruins name #IconRuins
Castle historic=castle and not ruins=yes 22 Castle name #IconCastle
Viewpoint tourism=viewpoint 22 Viewpoint name #IconViewpoint
WaterTower man_made=water_tower 22 Water Tower #IconWaterTower
Kneipe amenity=pub 22 Kneipe name #IconKneipe
Cafe amenity=cafe 22 Cafe name #IconCafe
Restaurant amenity=restaurant or amenity=fast_food 22 Retaurant name #IconRestaurant
DrinkingWater amenity=drinking_water 22 Drinking Water name #IconDrinkingWater
Quelle natural=spring 22 Quelle name #IconDrinkingWater
Einkauf shop=* 22 Einkauf name #IconEinkauf
TodoContinue todo=continue 23 Todo Continue "to do: continue" #IconTodoContinue
TodoJunction todo=junction 23 Todo Junction "to do: junction" #IconTodoJunction

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
   


2
   


2222222222
2111111112
0212002120
0212002120
0222002220

IconRuins

Color ID Color
1
   


000000010
000000110
000001110
000010000
111111111
111111111
111111111
111111111

IconCastle

Color ID Color
1
   


000010000
000011000
000011100
000011000
000010000
111111111
111111111
111111111
111111111

IconChurch

Color ID Color
1
   


000111000
000111000
111111111
111111111
000111000
000111000
000111000
000111000
000111000

IconWaterTower

Color ID Color
1
   


111111
111111
011110
001100
001100
001100
001100
001100
001100
001100

IconViewpoint

Color ID Color
1
   


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

IconDrinkingWater

Color ID Color
1
   


000000000
111111000
000011000
000011000
000111100
000000000
000011000
000000000
010011001
010000001
011111111

IconGuidepost

Color ID Color
1
   


2
   


3
   


00333333333333
33111111111113
33111111111113
00333333333333
00000022200000
00000022200000
03333333333300
03111111111133
03111111111133
03333333333300
00000022200000
00000022200000
00000022200000
00000022200000

IconHuntingStand

Color ID Color
1
   


2
   


00022
02222
22222
22222
22222
22222
10001
01010
00100
01010
10001

IconTodoJunction

Color ID Color
1
   


2
   


222202222
211202112
211121112
221111122
022111220
221111122
211121112
211202112
222202222

IconTodoContinue

Color ID Color
1
   


00100
01110
11111
01110
00100

IconEinkauf

Color ID Color
1
   


0000000000000001
0000000000000010
1000000000000100
1001010101010100
0100000000000100
0100101010100100
0010000000001000
0011111111111000
0000000000000000
0000100000010000
0001110000111000
0000100000010000

IconKneipe

Color ID Color
1
   


111111111111
100000000001
100000000001
100000000001
100000000001
010000000010
010000000010
010000000010
010000000010
011111111110

IconCafe

Color ID Color
1
   


1111111111000
1111111111110
1111111111011
1111111111001
1111111111011
1111111111110
1111111111100
0111111110000
0011111100000
0001111000000

IconRestaurant

Color ID Color
1
   


001100010101
011110010101
111111010101
111111010101
111111010101
111111011111
011110001110
001100001110
001100001110
001100001110
001100001110
001100001110