User:EdLoach/MaperitiveMaxspeedITO
Jump to navigation
Jump to search
features lines coastline : natural=coastline railway : railway=rail highway 70mph : maxspeed=70mph OR maxspeed="70 mph" highway 60mph : maxspeed=60mph OR maxspeed="60 mph" highway 50mph : maxspeed=50mph OR maxspeed="50 mph" highway 40mph : maxspeed=40mph OR maxspeed="40 mph" highway 30mph : maxspeed=30mph OR maxspeed="30 mph" highway 20mph : maxspeed=20mph OR maxspeed="20 mph" highway 15mph : maxspeed=15mph OR maxspeed="15 mph" highway 10mph : maxspeed=10mph OR maxspeed="10 mph" highway 05mph : maxspeed=5mph OR maxspeed="5 mph" highway motorway : highway=motorway highway motorway link : highway=motorway_link highway trunk : highway=trunk highway trunk link: highway=trunk_link highway primary link : highway=primary_link highway primary : highway=primary highway secondary : highway=secondary highway tertiary : highway=tertiary highway unclassified : highway=unclassified highway residential : highway=residential highway service : highway=service boundary country : boundary=administrative AND (admin_level=2 OR admin_level=4) AND NOT natural=coastline boundary region : boundary=administrative AND admin_level=5 boundary county : boundary=administrative AND admin_level=6 boundary district : boundary=administrative AND admin_level=8 boundary parish : boundary=administrative AND admin_level=10 contour major : contour[@isMulti(elevation, 50)] contour minor : contour[@isMulti(elevation, 10) and not @isMulti(elevation, 50)] // Routes // route ncn : relation[type=route AND route=bicycle AND network=ncn] route byway : relation[type=route AND route=bicycle AND network="National Byway"] route foot : relation[type=route AND route=foot] points place city : place=city place town : place=town place village : place=village place hamlet : place=hamlet place suburb : place=suburb properties map-background-color : #F1EEE8 map-background-opacity : 1 map-sea-color : #B5D0D0 font-weight : bold font-family : Verdana text-max-width : 7 text-halo-width : 25% text-halo-opacity : 0.75 text-align-horizontal : center text-align-vertical : center font-stretch : 0.9 map.rendering.lflp.min-buffer-space : 5 map.rendering.lflp.max-allowed-corner-angle : 40 rules target : $featuretype(point) if : place* define font-weight : bold if : *city define font-size : 6:8;14:20 min-zoom : 6 max-zoom : 14 elseif : *town define font-size : 9:8;12:10;20:20 min-zoom : 9 elseif : *village define font-size : 12:10;20:20 min-zoom : 12 elseif : *hamlet define font-size : 14:8;20:16 min-zoom : 14 elseif : *suburb define font-size : 13:10;20:20 min-zoom : 13 text-color : white black 50% draw : text target : boundary* define line-color : #9E1A99 line-opacity : 0.5 if : boundary country define line-width : 6:1;9:3;10:6 elseif : boundary region define min-zoom : 4 line-width : 4:2;11:4 line-style : dash elseif : boundary county define min-zoom : 4 line-width : 4:1;11:3 line-style : dash elseif : boundary district define min-zoom : 12 line-width : 12:1;14:2 line-style : dash elseif : boundary parish define min-zoom : 14 line-width : 14:1 line-style : dash draw : line target : railway define min-zoom : 13 line-color : gray line-width : 2 draw : line define min-zoom : 13 line-style : dashlong line-color : white line-width : 2 border-style : solid border-color : gray border-width : 25% draw : line define min-zoom : 6 max-zoom : 13 line-style : none line-color : white black 30% line-width : 6:1;8:1;12:1.5 draw : line target : highway* define font-size : 15:7;18:10 font-weight : bold define line-style : solid line-join : round line-start-cap : round line-end-cap : round if : *70mph* define line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 line-color : #0000ff draw : line elseif : *60mph* define line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 line-color : #007ffe draw : line elseif : *50mph* define line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 line-color : #ce00ff draw : line elseif : *40mph* define line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 line-color : #ff0201 draw : line elseif : *30mph* define line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 line-color : #f87c00 draw : line elseif : *20mph* define line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 line-color : #00cb4c draw : line elseif : *15mph* define line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 line-color : #00cb4c draw : line elseif : *10mph* define line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 line-color : #00cb4c draw : line elseif : *05mph* define line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 line-color : #00cb4c draw : line else define line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 line-color : #000000 draw : line target: contour* define line-color : #7f3300 line-opacity : 0.35 curved : true if : *major define min-zoom : 9 line-width : 11:0.1;11.9:1;12:2 else define min-zoom : 12 line-width : 1 draw : contour target: coastline define line-color : #B5D0D0 line-width : 2 draw : line