GroundTruth Cycling Map

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.

The cycling rules are in the "construction mode". Feel free to modify or add new rules to this page if you find stuff that's relevant to cycling.

NOTE: you need to run GroundTruth version 1.1 or above in order to be able to use these 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 name
   


Farm landuse=farm 18 "farm"
   


Fell natural=fell 18 "fell"
   


ResidentialArea landuse=residential 18 City "residential"
   


River waterway=riverbank or waterway=river 18 River name
   


Water natural=water 18 Blue-Unknown name
   


Glacier natural=glacier 18 Glacier name
   


Park leisure=park 18 City park name
   


Sea natural=sea 18 Sea "sea"
   


SportsCentre leisure=sports_centre 18 Sports complex name
   


Military landuse=military 18 Military base name
   


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)

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

23 "minor path"
   


11111000

11111000

PathMajor (highway=footway or highway=path)

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

22 Trail "path"
   


2
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

RoadHighZoom highway=primary or highway=primary_link

or highway=secondary or highway=tertiary or highway=motorway or highway=motorway_link or highway=trunk or highway=trunk_link or highway=unclassified or highway=residential or highway=service

22 "road"
   


2
RoadMiddleZoom highway=primary or highway=primary_link

or highway=secondary or highway=tertiary or highway=motorway or highway=motorway_link or highway=trunk or highway=trunk_link or highway=unclassified or highway=residential or highway=service

19 21 "road"
   


1
RoadLowZoom highway=primary or highway=secondary or highway=motorway

or highway=trunk or highway=tertiary

18 "road"
   


1
Railway railway=rail 19 Railroad "railway"
   


2
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
PowerLine power=line 24 Power line
Ditch barrier=ditch 24 "ditch"
   


1111 1000 1000 1000

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
Bench amenity=bench 22 Bench #IconBench
BicycleParking amenity=bicycle_parking 22 name #IconBicycleParking
BicycleRental amenity=bicycle_rental 21 name ++ ref
Cafe amenity=cafe 21 Bar name
CampSite tourism=camp_site 21 Camping name
CaravanSite tourism=caravan_site 21 Camping/RV-Park name
DrinkingWater amenity=drinking_water 22 Drinking Water
FastFood amenity=fast_food 22 Fast food name
Fuel amenity=fuel 22 Fuel/Gas operator
GuestHouse tourism=guest_house or tourism=bed_and_breakfast 22 Bed & Breakfast inn name
Hospital amenity=hospital 21 Hospital name
Hostel tourism=hostel 21 Lodging name
HotelMotel tourism=hotel or tourism=motel 21 Hotel/Motel name
Peak natural=peak 21 Summit name ++ ele "$1f$elevation" #IconPeak
ParkingNode amenity=parking 22 Parking Area
PlaceOfWorship amenity=place_of_worship 22 Church name
Police amenity=police 22 Police Station name
PostOffice amenity=post_office 22 Post office name
Quarry landuse=quarry 22 Mine name
Shelter amenity=shelter 22 name #IconShelter
Telephone amenity=telephone 22 Telephone
Toilets amenity=toilets 22 Restroom
TourismInformation tourism=information 22 Information
Viewpoint tourism=viewpoint 22 Scenic area 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

IconBicycleParking

Color ID Color
1
   


2
   


1111000000000000
1000100000000000
1000100000000000
1111000000000000
1000000000000000
1001110000111000
1000010000010000
0000022222220000
0000020000020000
0011122000221100
0100210200202010
1000201022002001
1001001002222001
1000001001000001
0100010000100010
0011100000011100