User:MarkS/GroundTruth/Rules/NoName

From OpenStreetMap Wiki
Jump to: navigation, search

GroundTruth rendering rules for driving maps.

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

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 "forest"
   


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