GroundTruth Driving Map
		
		
		
		Jump to navigation
		Jump to search
		
These are rendering rules for GroundTruth tool for driving 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 driving.
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=forestornatural=wood | 18 | Woods | "forest" | 
 | ||
| Residential | landuse=residential | 18 | City | "residential" | 
 | ||
| Water | waterway=riverbankorwaterway=riverornatural=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 | |||
| ResidentialRoadHighZoom | highway=residentialorhighway=living_streetorhighway=service | 22 | name | 
 | 2 | ||||
| ResidentialRoadLowZoom | highway=residential | 20 | 21 | "residential road" | 
 | 1 | |||
| FootpathHighZoom | highway=pathorhighway=cyclewayorhighway=footwayorhighway=bridlewayorhighway=pedestrianorhighway=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 | ||||
| Track | highway=trackand (tracktype=grade1ortracktype=grade2or nottracktype=*) | 22 | Unpaved Road-thin | "track" | 
 | 11111100 11111100 | |||
| Railway | railway=rail | 18 | Railroad | "railway" | 
 | 2 | |||
| River | waterway=river | 12 | River | "river" | 
 | 2 | |||
| Stream | waterway=stream | 22 | Stream-thin | "stream" | 
 | 2 | |||
| NationalBorder | boundary=administrativeadmin_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=villageorplace=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 | ||
| 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 |