User:Haribo/MaperitiveRules/Surface
Jump to navigation
Jump to search
// Maperitive rule for rendering surface [1] // of highway in different colors // [1] https://wiki.openstreetmap.org/wiki/Key:surface // // User: haribo, 2016-02-13 features lines surface : highway and surface highwayWithoutSurface : highway and not surface properties map-background-color : #FFFFFF rules target : surface define line-join : round line-start-cap : round line-end-cap : round line-color : #FFCCCC line-style : solid line-width : 1 // common for : surface=paved define line-color : #0465C2 for : surface=unpaved define line-color : #369CFF line-style : dot // paved for : surface=asphalt define line-color : #555555 for : surface=paving_stones or surface=sett or surface=cobblestone define line-color : #7F7F7F for : surface=concrete define line-color : #BFBFBF // unpaved for : surface=compacted define line-color : #91825C line-style : dash for : surface=gravel or surface=fine_gravel or surface=pebblestone define line-color : #BFBFBF line-style : dash for : surface=dirt or surface=ground or surface=earth define line-color : #8B6914 line-style : dashdot for : surface=pebblestone define line-color : #BEEFFF line-style : dash for : surface=pebblestone define line-color : #BFBFBF line-style : dashdot for : surface=mud define line-color : #513A00 line-style : dashdotdot for : surface=grass define line-color : #00B500 line-style : dot for : surface=sand or surface=salt define line-color : #FFFF6F line-style : dot draw : line target : highwayWithoutSurface define line-join : round line-start-cap : round line-end-cap : round line-color : #A52A2A line-style : solid line-width : 1 draw : line