User:Remke/GroundTruthPisteRules

From OpenStreetMap Wiki
Jump to navigation Jump to search

GroundTruth rendering rules for skiing maps.

These are rendering rules for GroundTruth tool for skiing maps with other useful (topographic) features.
Note: you need to run GroundTruth version 1.6 or above in order to be able to use these rules.
This rule set is based on User:Alpha_de/GroundTruthContourRules which is in turn based on the DefaultRules.txt of the latest Groundtruth (amended with rules for OpenPisteMap). Feel free to copy any interesting rule from here. Please do not edit this page. Thanks.

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 #FFEFBF 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"
   


Forest landuse=forest or natural=wood 18 Woods "forest"
   


Residential landuse=residential 18 City "residential"
   


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


Sea natural=sea 18 Sea "sea"
   


Blue Piste Area piste:type=downhill and piste:difficulty=easy and not piste:status=closed 22
   


Red Piste Area piste:type=downhill and piste:difficulty=intermediate and not piste:status=closed 22
   


Black Piste Area piste:type=downhill and (piste:difficulty=advanced or piste:difficulty=expert) and not piste:status=closed 22
   


Freeride Piste Area piste:type=downhill and piste:difficulty=freeride and not piste:status=closed 22
   


Novice Piste Area piste:type=downhill and not (piste:difficulty=easy or piste:difficulty=advanced or piste:difficulty=expert or piste:difficulty=intermediate or piste:difficulty=freeride or piste:status=closed) 22
   


Lines

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


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


2
ResidentialRoadLowZoom highway=residential 20 21 "residential road"
   


1
FootpathHighZoom highway=path or highway=cycleway or highway=footway or highway=bridleway or highway=pedestrian or highway=steps 24 name
   


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


4
MotorwayLink highway=motorway_link 20 Major HWY Connector-thick "motorway link"
   


2
Trunk highway=trunk 17 Principal HWY-thick "trunk"
   


4
TrunkLink highway=trunk_link 20 "trunk link"
   


2
PrimaryRoad highway=primary 18 Principal HWY-medium "primary road"
   


3
PrimaryRoadLink highway=primary_link 20 "primary road link"
   


2
SecondaryRoad highway=secondary 19 Arterial Road-thick "secondary road"
   


3
TertiaryRoad highway=tertiary 20 Arterial Road-medium "tertiary road"
   


2
UnclassifiedRoad highway=unclassified 21 "unclassified road"
   


2
Blue Piste piste:type=downhill and piste:difficulty=easy and not piste:status=closed 20 name
   


3
Red Piste piste:type=downhill and piste:difficulty=intermediate and not piste:status=closed 20 name
   


3
Black Piste piste:type=downhill and (piste:difficulty=advanced or piste:difficulty=expert) and not piste:status=closed 20 name
   


3
Freeride Piste piste:type=downhill and piste:difficulty=freeride and not piste:status=closed 20 name
   


3
Green Piste piste:type=downhill and not (piste:difficulty=easy or piste:difficulty=advanced or piste:difficulty=expert or piste:difficulty=intermediate or piste:difficulty=freeride or piste:status=closed) 20 name
   


3
Drag Lift (aerialway=drag_lift or aerialway=t-bar or aerialway=j-bar or aerialway=rope_tow or aerialway=platter) and not piste:status=closed 20 name
   


2
Chair Lift (aerialway=chair_lift or aerialway=mixed_lift) and not piste:status=closed 20 name
   


0000000110000000

0000000110000000 0000000110000000 1111111111111111 1111111111111111 0000000110000000 0000000110000000 0000000110000000

Gondola Lift (aerialway=cable_car or aerialway=gondola) and not piste:status=closed 20 name
   


0000000110000000

0000011111100000 1111111111111111 1111111111111111 0000011111100000 0000000110000000

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


11111100

11111100

Railway railway=* and not railway=abandoned 18 Railroad "railway"
   


2
River waterway=river 12 River "river"
   


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


2
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 Place of Worship name
Peak natural=peak 21 Summit name ++ ele "$1f$elevation" #IconPeak
ParkingNode amenity=parking or parking=surface 22 Parking Area
MotorwayJunction highway=motorway_junction 20 Exit name ++ " " ++ ref
GuestHouse tourism=guest_house 22 Bed & Breakfast inn name
Hotel tourism=hotel or tourism=motel 22 Hotel/Motel name
Fuel amenity=fuel 22 Fuel/Gas operator
Police amenity=police 22 Police Station "police station"
Hospital amenity=hospital 22 Hospital "hospital " ++ name
Lift station aerialway=station 20 name ++ ele "$1f$elevation" #IconLiftstation
Restaurant amenity=restaurant 22 Dining (Other) name
ATM amenity=atm 22 Bank name
Supermarket shop=supermarket or shop=convenience 22 Grocery name
Bus highway=bus_stop 22 Bus stop name
Train stop railway=station 22 Bus stop "train stop " ++ name
Wayside cross historic=wayside_cross 22 Wayside cross "wayside shrine/cross " ++ name #IconWaysideCross
Pass natural=pass or mountain_pass=yes 22 Land feature name

Patterns

IconPeak

Color ID Color
1
   


0001000
0011100
0111110
1111111
1111111

IconLiftstation

Color ID Color
1
   


2
   


111111111
122222221
122222221
122222221
122222221
122222221
122222221
111111111

IconWaysideCross

Color ID Color
1
   


2
   


0001000
0021200
1111111
0021200
0021200
0001000
0001000
0021100

Standard Garmin Types

Points

Type Name Type ID
Bus stop 2F08
Dining (Other) 2A00
Grocery 2E02
Hotel (Other) 2B01
Land feature 6600