Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Paper ruleset
- //
- // Simple ruleset for printed maps, for example to make notes while surveying.
- // Designed with rather rural areas in mind (may however be usable
- // in cities as well) in high zoom (13+, on lower levels map
- // not very much readable).
- //
- // Licence: Creative Commons Attribution-ShareAlike 3.0
- // http://creativecommons.org/licenses/by-sa/3.0/
- features
- lines
- all lines:
- highway1: highway=primary OR highway=secondary OR highway=tertiary
- highway2: highway=service OR highway=unclassified OR highway=residential
- track: highway=track
- path: highway=path
- footway: highway=footway
- parking: amenity=parking
- river: waterway=river
- stream: waterway=stream
- railway: railway=rail
- areas
- water: natural=water OR waterway=riverbank OR landuse=reservoir OR landuse=basin
- wetland: natural=wetland
- forest: natural=wood OR landuse=forest
- building: building=yes
- parking: amenity=parking
- residential: landuse=residential
- grass: landuse=grass
- scrub: natural=scrub
- points
- place: place
- properties
- map-background-color: white
- font-family: Verdana
- text-halo-opacity: 0.7
- text-halo-width: 8
- font-stretch: 1.1
- rules
- // target: all lines
- // define
- // line-color: red
- // line-width: 0.25
- // draw: line
- target: highway1
- define
- line-join: round
- line-start-cap: round
- line-end-cap: round
- line-color: white
- line-width: 3
- border-style: solid
- border-color: black
- border-width: 1.5
- fill-color: white
- draw: line
- draw: fill
- define
- text-offset-vertical: 12:8;15:-10
- font-size: 12:8;15:10
- min-zoom: 14
- draw: text
- target: highway2
- define
- line-join: round
- line-start-cap: round
- line-end-cap: round
- line-color: white
- line-width: 2
- border-style: solid
- border-color: black
- border-width: 1
- fill-color: white
- draw: line
- draw: fill
- define
- text-offset-vertical: -10
- font-size: 14:8;15:10
- min-zoom: 15
- draw: text
- target: track
- define
- min-zoom: 12
- line-color: black
- line-width: 0.6
- draw: line
- define
- text-offset-vertical: -8
- font-size: 8
- min-zoom: 15
- draw: text
- target: path
- define
- min-zoom: 12
- line-color: black
- line-width: 1
- line-style: dashlong
- draw: line
- target: footway
- define
- line-color: black
- line-width: 0.6
- line-style: dash
- draw: line
- target: railway
- define
- line-color: white
- line-width: 3
- line-style: dashlong
- border-style: solid
- border-color: black
- border-width: 0.8
- draw: line
- target: building
- define
- line-color: black
- line-width: 0.7
- fill-color: #8A8A8A
- fill-opacity: 0.5
- draw: fill
- target: wetland
- define
- fill-color: lightgray
- fill-hatch-color: white
- fill-hatch: cross
- fill-hatch-opacity: 1
- fill-opacity: 1
- line-width: 0.1
- line-style: dash
- line-color: gray
- draw: line
- draw: fill
- define
- text-offset-vertical: 12:-6;14:-8;16:-12
- font-size: 12:6;14:8;16:12
- min-zoom: 14
- draw: text
- target: water
- define
- fill-color: lightgray
- fill-hatch-color: white
- fill-hatch: horizontal
- fill-hatch-opacity: 1
- fill-opacity: 1
- line-width: 0.2
- line-color: gray
- draw: fill
- draw: line
- define
- min-zoom: 13
- text-offset-vertical: 12:-8;13:-10;16:-14
- font-size: 12:8;13:10;16:14
- draw: text
- target: river
- define
- line-width: 3
- line-color: gray
- draw: line
- define
- min-zoom: 12
- text-offset-vertical: 12:-8;13:-10;16:-14
- font-size: 12:8;13:10;16:14
- draw: text
- target: stream
- define
- min-zoom: 14
- line-width: 2
- line-opacity: 0.6
- line-color: gray
- draw: line
- define
- min-zoom: 15
- text-offset-vertical: -10
- font-size: 10
- draw: text
- target: parking
- define
- fill-color: white
- fill-opacity: 1
- line-width: 0.4
- line-color: gray
- draw: line
- draw: fill
- target: forest
- define
- fill-color: #F1F1F1
- fill-hatch-color: #FAFAFA
- fill-hatch: diagonalcross
- fill-hatch-opacity: 0.1
- fill-opacity: 0.1
- line-width: 0.3
- line-color: gray
- line-style: dot
- draw: fill
- target: grass
- define
- fill-hatch-color: white
- fill-hatch: nwse
- fill-hatch-opacity: 0.1
- fill-color: lightgray
- fill-opacity: 0.1
- line-width: 0.2
- line-color: gray
- line-style: none
- draw: fill
- target: scrub
- define
- fill-hatch-color: white
- fill-hatch: swne
- fill-hatch-opacity: 0.1
- fill-color: lightgray
- fill-opacity: 0.1
- line-width: 0.2
- line-color: gray
- line-style: dot
- draw: fill
- target: residential
- define
- fill-color: #A1A1A1
- fill-opacity: 0.2
- line-width: 0.5
- line-color: gray
- line-style: solid
- draw: fill
- draw: line
- draw: text
- target: place
- define
- text: name
- font-size: 12:10;14:12;16:16
- font-stretch: 1.2
- text-halo-opacity: 0.6
- text-halo-width: 12
- text-offset-vertical: 0
- text-offset-horizontal: 0
- draw: text
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement