User:Andrewmk/Groundtruth Rules
Jump to navigation
Jump to search
GroundTruth rendering rules for Andrew.
Rendering Rules
Options
| Option | Value | Comment |
|---|---|---|
| RulesVersion | 1.6 | Minimal version of GroundTruth needed to use these rules |
| LandBackgroundColor | #F1EEE8 | 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" |
| ||
| Park | leisure=park
|
18 | "park" |
| |||
| Industrial | landuse=industrial
|
18 | "industrial" |
| |||
| Commercial | landuse=commercial
|
18 | "commercial" |
| |||
| Allotments | landuse=allotments
|
18 | "allotments" |
| |||
| School | amenity=school
|
18 | "school" |
| |||
| Building | building=yes or building=office or building=shopping_mall or building=apartments or building=car_park or building=supermarket or building=mixed_use or building=mall
|
18 | "building" |
| |||
| Residential | landuse=residential
|
18 | City | "residential" |
| ||
| Water | waterway=riverbank or waterway=river or natural=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=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 | ||||
| Track | highway=track and (tracktype=grade1 or tracktype=grade2 or not tracktype=*)
|
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=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 | ||
| 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 |