User:Jot/GroundTruth Cyclemap with Contourlines

From OpenStreetMap Wiki
Jump to: navigation, search

These are rendering rules for GroundTruth tool for cycling 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 for cycling.

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

Contours Rendering Rules

Elevation Multiple Min Level Max Level Type Name Show Elevation? Colors Width Border Width Pattern
100 22 Land-contour-thick yes
   


1
20 23 Land-contour-medium yes
   


11001100
10 24 Land-contour-thin
   


11001100

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"
   


Cemetery landuse=cemetery 18 Cemetery name
   


Heath natural=heath 18 Flat name
   


Forest landuse=forest or natural=wood 18 Woods name
   


   


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


Golf Course leisure=golf_course 18 Golf Course name
   


Residential landuse=residential 18 City name
   


Industrial landuse=industrial 18 name
   


Gebaeude building=yes 21 name
   


Park leisure=park 18 City park name
   


Lake natural=water 18 Lake name
   


River waterway=riverbank 18 River name
   


Marsh natural=marsh or waterway=wetland 18 Wetland name
   


00000000000000000000000000000000

11110000111100001111000011110000 00000000000000000000000000000000 00001111000011110000111100001111

Military military=barracks 18 Military base "Military"
   


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
Motorway highway=motorway 17 Road ref "$04$uppercase"
   


   


4 1
MotorwayLink highway=motorway_link or highway=trunk_link 20 Major HWY Connector-thick
   


   


4 1
Autoweg highway=trunk 17 Principal HWY-thick name
   


   


4 1
PrimaryRoad highway=primary 18 Road-thin name
   


   


4 1
PrimaryRoadLink highway=primary_link 20 Arterial Road-medium "primary road link"
   


   


4 1
SecondaryRoad highway=secondary and not relation:network=ncn 19 Ramp low-speed name
   


   


3 1
TertiaryRoad highway=tertiary and not relation:network=ncn and not relation:network=rcn 22 Ramp high-speed name
   


   


2 1
Unclassified highway=unclassified 23 0x12 name
   


   


2 1
Alley highway=residential or highway=service or highway=road 23 Alley name
   


   


1 1
Zone30 highway=residential and maxspeed=30 23 0x17 name
   


   


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


11110000 11110000

Trackg1 highway=track and tracktype=grade1 21 0x10 "Track g1"
   


2
Trackg2 highway=track and tracktype=grade2 21 0x11 "Track g2"
   


11111111111100001111111111111100
Roundabout highway=mini-roundabout or junction=roundabout 23 Roundabout "Roundabout"
   


1
Pedestrian highway=pedestrian or highway=living_street 23 Pedestrian Area "Pedestrian Area"
   


   


1 1
Footway highway=footway or highway=cycleway 23 Trail "Footway"
   


1
Cycleway (bicycle=yes or bicycle=designated) or highway=cycleway or cycleway=track or cycleway=lane or cycleway=opposite 21 Arterial Road-thick "Cycleway"
   


11001100110011001100110011001100 11001100110011001100110011001100

Path highway=path 21 Path "Path"
   


2
Steps highway=steps 23 Steep track "Steep track"
   


   


   


   


1100110011001100 1100110011001100 1100110011001100 1100110011001100

Railway railway=rail 18 Railroad "railway"
   


   


   


   


1111111111111111 1111000000001111 1111000000001111 1111111111111111

River2 waterway=river 12 River2 name
   


2
Cyclenetwork (relation:route=bicycle or relation:network=lcn or relation:network=rcn) and not relation:network=ncn 20 Principal HWY-medium relation:ref ++ relation:name
   


3
National Cycle route relation:network=ncn 20 Major HWY thick relation:ref ++ relation:name
   


4
Stream waterway=stream or waterway=canal 22 Stream-thin name
   


1
Ferry route=ferry 22 Ferry1 name
   


1111000000001111 1111000000001111 1111000000001111

Powerlines power=line 22 Power line "powerline"
   


00000011110000000000000000000000 00001111000000000000000000000000 00111111111100111111111111111111 00000011110000000000000000000000 00001111000000000000000000000000

NationalBorder boundary=administrative and admin_level=2 12 Intl. Boundary "Int. border" ++ boundary:name
   


1111001100111100

1111001100111100

GemeenteBorder relation:boundary=administrative and relation:admin_level=8 12 Political Boundary "Gem. " ++ relation:name
   


1111111100011000
NationalPark boundary=national_park 12 "Nat. park" ++ boundary:name
   


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
Church amenity=place_of_worship 22 Church name #IconChurch
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
Hotel tourism=hotel 22 Lodging name
Post office amenity=post_office 22 Post office name
Post box amenity=post_box 22 Mailbox Mailbox
Cafe amenity=cafe 21 Bar name
Restaurant amenity=restaurant 21 Restaurant name
Atm ( amenity=bank and atm=yes ) or amenity=atm 21 Bank name
Supermarket shop=supermarket 21 Shopping Center name
Fast food amenity=fast_food 21 Fast food name
Swimming pool sport=swimming 21 Swimming pool name
Library amenity=library 21 Library name
Cinema amenity=cinema 21 Cinema name
Pharmacy amenity=pharmacy 21 Pharmacy name
RCN network=rcn 20 Exit rcn_ref "$03$uppercase"

Patterns

IconMailbox

Color ID Color
X
   


=
   


*
   


#
   


 %
   


1
   


2
   


3
   


4
   


5
   


6
   


7
   


8
   


XXXXXXXXXXXXXXXXXXXXXXXX
XX====================XX
XX==**#%%11XX11%%#**==XX
XX==XX233445544332XX==XX
XX==XXX1166776611XXX==XX
XX==XXXXXXX88XXXXXXX==XX
XX==XXXXXXXXXXXXXXXX==XX
XX==XXXXXXXXXXXXXXXX==XX
XX====================XX
XXXXXXXXXXXXXXXXXXXXXXXX

IconRCN

Color ID Color
1
   


0000000010000000
0000000111000000
0000011111100000
0000111111110000
0001111111111000
0011111111111100
0111111111111110
1111111111111111
0111111111111110
0011111111111100
0001111111111000
0000011111100000
0000000111000000
0000000010000000


IconChurch

Color ID Color
1
   


2
   


00011000
00011000
00011000
11100111
11100111
00011000
00011000
00011000
22222222
22222222
22222222
22222222
22222222
22222222
22222222
22222222

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