User:Herve038/GroundTruth Hiking Rules

From OpenStreetMap Wiki
Jump to navigation Jump to search
These are rendering rules for GroundTruth tool for hiking maps.
Note: you need to run GroundTruth version 1.6 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.6 Minimal version of GroundTruth needed to use these rules
LandBackgroundColor #FFFFFF Color of the map background. If not set, the default unit color will be used
SeaColor #7EC9FF Color of the sea polygons.
ForceBackgroundColor true Forces showing of custom the map background color

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_mixed (landuse=forest or natural=wood) and (wood=mixed) 18 Woodsmixed "foret_mixed"
   


11110111111111111111111111111111

11101011111111111111111111111111 11101011111111111111111111111111 11101011111111111111111111111111 11011101111111110001111111111111 11011101111111101110111111111111 11011101111111011111011111111111 10111110111110111111101111111111 10111110111101111111110111111111 10111110111101111111110111111111 01111111011101111111110111111111 01111111011110111111101111111111 01111111011111011111011111111111 00000000011111101110111111111111 11110111111111110001111111111111 11110111111111111111111111111111 11110111111111111111111111111111 11110111111111111111111111111111 11110001111111111111111111111111 11111111111111111111111111111111 11111111111111111111111111111111 11111111111111111111111111111111 11111111111111111111111111111111 11111111111111111111111111111111 11111111111111111111111111111111 11111111111111111111111111111111 11111111111111111111111111111111 11111111111111111111111111111111 11111111111111111111111111111111 11111111111111111111111111111111 11111111111111111111111111111111 11111111111111111111111111111111

Forest_coniferous (landuse=forest or natural=wood) and (wood=coniferous) 18 Woods "foret coniferts"
   


1111011111111111

1110101111111111 1110101111111111 1110101111111111 1101110111111111 1101110111111111 1101110111111111 1011111011111111 1011111011111111 1011111011111111 0111111101111111 0111111101111111 0111111101111111 0000000001111111 1111011111111111 1111011111111111 1111011111111111 1111011111111111 1111000111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111

Forest_deciduous (landuse=forest or natural=wood) and (wood=deciduous) 18 Woodsdeciduous "foret_feuillu"
   


1111111111111111

1111110001111111 1111101110111111 1111011111011111 1110111111101111 1101111111110111 1101111111110111 1101111111110111 1110111111101111 1111011111011111 1111101110111111 1111110001111111 1111111111111111 1111111111111111 1111111111111111 1111111111111111

Park leisure=park 18 "park"
   


Farm landuse=farm or landuse=farmland 18 "farm"
   


Farmyard landuse=farmyard 18 "farmyard"
   


Fell natural=fell 18 "fell"
   


Residential landuse=residential 18 City "residential"
   


Building building=yes 10 "batiment"
   


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
PathMinor (highway=footway or highway=path or highway=cycleway)

and (trail_visibility=no or trail_visibility=horrible or trail_visibility=bad)

23 "minor path"
   


11111000

11111000

PathMajor (highway=footway or highway=path or highway=cycleway)

and not (trail_visibility=no or trail_visibility=horrible or trail_visibility=bad)

22 Trail "path"
   


11111000

11111000

TrackMajor highway=track and (tracktype=grade1 or tracktype=grade2 or not tracktype=*) 21 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

RoadSecondaryHighLevel highway=secondary or highway=secondary_link 19 21 "road secondary"
   


2 1
RoadSecondaryLowLevel highway=secondary or highway=secondary_link 22 "road secondary"
   


3 1
RoadTertiaryHighLevel highway=tertiary or highway=unclassified or highway=residential or highway=road 20 21 "road tertiary"
   


1 1
RoadTertiaryLowLevel highway=tertiary or highway=unclassified or highway=residential or highway=road 22 "road tertiary"
   


3 1
Railway railway=rail 19 Railroad "railway"
   


1111111111111111 1111111000000000 1111111111111111

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 "river"
   


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


2
Fence barrier=fence 24 "fence"
   


1
Ditch barrier=ditch 24 "ditch"
   


1111 1000 1000 1000

PowerLine power=line 23 Power line "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 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 Church name
Peak natural=peak 21 Summit name ++ ele "$1f$elevation" #IconPeak
ParkingNode amenity=parking 22 Parking Area
Quarry landuse=quarry 22 Mine name
Hotel/Motel tourism=hotel or tourism=hostel 22 Hotel/Motel name
Restaurant amenity=restaurant 22 Restaurant name
TourismInformation tourism=information and not information=guidepost 23 Information
Guidepost tourism=information and information=guidepost 23 name #IconGuidepost
HuntingStand amenity=hunting_stand 24 "hunting stand" #IconHuntingStand
GuestHouse tourism=guest_house 22 Bed & Breakfast inn name
Shelter amenity=shelter 22 name #IconShelter
Bench amenity=bench 23 Bench "bench" #IconBench
Ruins historic=ruins or historic=archaeological_site 22 name #IconRuins
Viewpoint tourism=viewpoint 22 name #IconViewpoint
WaterTower man_made=water_tower 22 #IconWaterTower
DrinkingWater amenity=drinking_water 22 Drinking Water name #IconDrinkingWater
TodoContinue todo=continue 23 "to do: continue" #IconTodoContinue
TodoJunction todo=junction 23 "to do: junction" #IconTodoJunction
Refuge tourism=alpine_hut 23 name #Refuge
Source natural=spring 24 name #Source

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
   


111000
111000
111000
111111
111111

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


Refuge

Color ID Color
1
   


00000000000110000000000
00000000011111100000000
00000001111111111000000
00000111111001111100000
00001111110000111110000
00011111000000011111000
00111100000000000111100
01111100000000000111110
11111100000000000111111
00011100000000000111000
00011100000000000111000
00011100000000000111000
00011100000000000111000
00011100000000000111000
00011100000000000111000
00011100000000000111000
00011100000000000111000
00011100000000000111000
00011100000000000111000
00011100000000000111000
00011100000000000111000
00011111111111111111000
00011111111111111111000
00011111111111111111000

Source

Color ID Color
1
   


2
   



0000110000
0001221000
0012222100
0122222210
1222222221
1222222221
0122222210
0012222100
0001221000
0000110000