User:Dagohh/GroundTruth Test Rules

From OpenStreetMap Wiki
Jump to: navigation, search

GroundTruth rendering rules modified by dagohh.

These are rendering rules for GroundTruth tool modified by dagohh.

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.

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"
   


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


Park leisure=park 18 City park "Park"
   


Garden landuse=allotments 18 Garden
   


Cemetery landuse=cemetery 18
   


Residential landuse=residential 18 City "Wohngebiet"
   


Industrial landuse=industrial 18 "Industriegebiet"
   


Building building=yes 22
   


Sports leisure=water_park or leisure=pitch or sport=soccer or sport=tennis 18 Sports complex name
   


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


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
ResidentialRoadHighZoom highway=residential or highway=living_street 22 name
   


2
Service highway=service 22 name
   


2
ResidentialRoadLowZoom highway=residential highway=living_street 20 21 name
   


1
Motorway highway=motorway 17 Major HWY thick name
   


   


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


   


2 1
Trunk highway=trunk 17 Principal HWY-thick name
   


4 1
TrunkLink highway=trunk_link 20 name
   


2 1
PrimaryRoad highway=primary 18 Principal HWY-medium name
   


3 1
PrimaryRoadLink highway=primary_link 20 name
   


2 1
SecondaryRoad highway=secondary 19 Arterial Road-thick name
   


3
TertiaryRoad highway=tertiary 20 Arterial Road-medium name
   


2
UnclassifiedRoad highway=unclassified 21 name
   


2
Track highway=track 22 Unpaved Road-thin name
   


11111100

11111100

Path highway=path 22 Path name
   


11111100

11111100

Footway highway=footway 22 Pedestrian Area name
   


2
Steps highway=steps 22 Steep track name
   


10101010

10101010

Railway railway=rail or railway=light_rail or railway=subway 18 Railroad name
   


   


   


   


00000000 00111100 00000000

Tram railway=tram 18 name
   


   


   


   


00111100

River waterway=river 12 River name
   


2
Stream waterway=stream waterway=canal 22 Stream-thin name
   


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
FireStation amenity=fire_station 22 "fire station" #IconFireStation
Barrier barrier=bollard or barrier=cycle_barrier or barrier=entrance or barrier=gate or barrier=stile or barrier=sally_port 22 "barrier" #IconBarrier
PlaceOfWorship amenity=place_of_worship 22 Place of Worship name
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

Patterns

IconFireStation

Color ID Color
1
   


2
   


3
   


4
   


00000000000000
00011111111000
00111114421100
01111111442110
01111111442110
01111111442110
01111111442110
01111111442110
01111111442110
01111111442110
01111111442110
03333333443330
33333333344333

IconBarrier

Color ID Color
1
   


2
   


12000021
21200212
02122120
00211200
00211200
02122120
21200212
12000021