User:Trylle/dk cykel

From OpenStreetMap Wiki
Jump to: navigation, search

These are rendering rules for GroundTruth tool dansk cykelkort.

You can see other rendering rules pages by visiting the Category:GroundTruth Rules page.

du er velkommen til at ændre og tilføje hertil, hvis det er relevant for cykelkort

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


00000000000000000000000000000000

11110000111100001111000011110000 00000000000000000000000000000000 00001111000011110000111100001111

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


Farm landuse=farm or landuse=farmland 18 "mark"
   


Fell natural=fell 18 "udyrket"
   


Residential landuse=residential 18 City "beboelse"
   


Water waterway=riverbank or waterway=river or natural=water 18 River "vandløb"
   


Sea natural=sea 18 Sea "sea"
   


Lines

Rule Name Selector Min Level Max Level Type Name Label Colors Width Border Width Pattern
Kystlinie natural=coastline 12 Shoreline "kyst"
   


2
CykelstiBelagt (highway=cycleway or cycleway=lane or cycleway=track or cycleway=opposite_lane or cycleway=opposite_track)

and not (tracktype=grade2 or tracktype=grade3 or tracktype=grade4 or tracktype=grade5 or surface=unpaver or surface=graval or surface=grass)

20 "cykelsti"
   


1
CykelstiUbelagt (highway=cycleway or cycleway=lane or cycleway=track or cycleway=opposite_lane or cycleway=opposite_track)

and (tracktype=grade2 or tracktype=grade3 or tracktype=grade4 or tracktype=grade5 or surface=unpaver or surface=graval or surface=grass)

20 "cykelsti grus"
   


11111000
Sti highway=footway or highway=path 21 "sti"
   


11111000
gågade highway=pedestrian 21 name ++ "gågade"
   


11011000

11011000

LilleVej highway=track and (surface=paved or tracktype=grade1 or tracktype=grade2) 21
   


1
ServiceVej highway=service and not surface=unpaved 21
   


1
Grusvej highway=track or surface=unpaved 21
   


11111000
Busvej highway=bus_guideway 21 "busvej"
   


   


11110000

11110000

MotorvejLav highway=motorway or highway=motorway_link 21 ref ++ name
   


3
MotorvejMellem highway=motorway or highway=motorway_link 17 20 ref
   


3
MotorvejHøj highway=motorway 16
   


2
MotortrafikvejLav highway=trunk or highway=trunk_link 22 ref ++ name
   


3
MotortrafikvejMellem highway=trunk or highway=trunk_link 19 21 ref
   


3
MotortrafikvejHøj highway=trunk 18
   


2
PrimærVejLav highway=Primary or highway=Primary_link 22 ref ++ name
   


3
PrimærVejMellem highway=Primary or highway=Primary_link 19 21 ref
   


2
PrimærVejHøj highway=Primary 14 18
   


2
SekundærVejHøj highway=secondary or highway=secondary_link 22 ref ++ name
   


3
SekundærVejMellem highway=secondary or highway=secondary_link 21 19 ref
   


2
SekundærVejLav highway=secondary 15 18
   


2
TertiærVejHøj highway=tertiary 22 ref ++ name
   


2
TertiærVejMellem highway=tertiary 21 19 ref
   


2
TertiærVejLav highway=tertiary 16 18
   


2
AndenVejHøj (highway=unclassified or highway=residential or highway=living_street or highway=road) and not surface=unpaved 22 name
   


2
AndenVejLav (highway=unclassified or highway=residential or highway=living_street or highway=road) and not surface=unpaved 17 21
   


1
AndenVejUdenAsfalt (highway=unclassified or highway=residential or highway=living_street or highway=road) and surface=unpaved 22 name
   


11111000
Jernbane railway=rail 18 Railroad
   


2
Flod waterway=river 14 River
   


2
Vandløb waterway=stream 22 Stream-thin
   


1
Hegn barrier=fence 24 "hegn"
   


1
Elledning power=line 23 Power line "ledning"
   


1
Grænse boundary=administrative admin_level=2 12 Intl. Boundary "grænse"
   


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 Church name
Peak natural=peak 21 Summit name ++ ele "$1f$elevation" #IconPeak
ParkingNode amenity=parking 22 Parking Area
Quarry landuse=quarry 22 Mine name
TourismInformation tourism=information and not information=guidepost 23 Information
Guidepost tourism=information and information=guidepost and highway=distance_marker 23 name #IconGuidepost
HuntingStand amenity=hunting_stand 24 "hunting stand" #IconHuntingStand
GuestHouse tourism=guest_house 22 Bed & Breakfast inn name
Shelter amenity=shelter 22 name #IconShelter
Bench amenity=bench 23 Bench "bench" #IconBench
Ruins historic=ruins or historic=archaeological_site 22 name #IconRuins
Viewpoint tourism=viewpoint 22 name #IconViewpoint
WaterTower man_made=water_tower 22 #IconWaterTower
DrinkingWater amenity=drinking_water 22 Drinking Water name #IconDrinkingWater

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
   


2
   


2222222222
2111111112
0212002120
0212002120
0222002220

IconRuins

Color ID Color
1
   


111000
111000
111000
111111
111111

IconWaterTower

Color ID Color
1
   


111111
111111
011110
001100
001100
001100
001100
001100
001100
001100

IconViewpoint

Color ID Color
1
   


00000011000000
00000011000000
00110011001100
00111011011100
00011011011000
00000000000000
11111011011111
11111011011111
00000000000000
00011011011000
00111011011100
00110011001100
00000011000000
00000011000000

IconDrinkingWater

Color ID Color
1
   


000000000
111111000
000011000
000011000
000111100
000000000
000011000
000000000
010011001
010000001
011111111

IconGuidepost

Color ID Color
1
   


2
   


3
   


00333333333333
33111111111113
33111111111113
00333333333333
00000022200000
00000022200000
03333333333300
03111111111133
03111111111133
03333333333300
00000022200000
00000022200000
00000022200000
00000022200000

IconHuntingStand

Color ID Color
1
   


2
   


00022
02222
22222
22222
22222
22222
10001
01010
00100
01010
10001

IconTodoJunction

Color ID Color
1
   


2
   


222202222
211202112
211121112
221111122
022111220
221111122
211121112
211202112
222202222

IconTodoContinue

Color ID Color
1
   


00100
01110
11111
01110
00100