// TODO (stuff still missing, will be added soon) // park icon // oneway // residential roads // sport terrains (Ljudski vrt) features points place city : place=city place town : place=town place village : place=village place hamlet : place=hamlet place suburb : place=suburb pkv : amenity=bicycle_parking velov : amenity=bicycle_rental velociste : shop=bicycle church : amenity=place_of_worship AND religion=christian drinking water : amenity=drinking_water toilets : amenity=toilets psr : amenity=community_centre AND name="Pignon sur Rue" metro : railway=station lines contour major : contour[@isMulti(elevation, 50)] contour minor : contour[@isMulti(elevation, 10) and not @isMulti(elevation, 50)] //========================================================================================= pietonne : highway=pedestrian //================= Sens unique non-DSC su : (oneway=yes OR oneway=true) AND NOT (cycleway=opposite or cycleway=opposite_lane or highway=cycleway or cycleway=opposite_track) //================= Bande Cyclable Sens unique bcsu : (cycleway=lane OR cycleway:right=lane) AND (oneway=yes OR oneway=true OR oneway=-1) //================= Bande Cyclable double sens côté droit bcdscd : (cycleway:right=lane) AND NOT (oneway=yes OR oneway=true OR oneway=-1) //================= Bande Cyclable double sens côté gauche bcdscg : (cycleway:left=lane) AND NOT (oneway=yes OR oneway=true OR oneway=-1) //================= Bande Cyclable double sens bcds : (cycleway=lane) AND NOT (oneway=yes OR oneway=true OR oneway=-1) //================= Piste Cyclable pc : highway=cycleway AND NOT (oneway=yes OR oneway=true OR oneway=-1) //================= Piste Cyclable Sens unique pcsu : highway=cycleway AND (oneway=yes OR oneway=true OR oneway=-1) //================= Bus + Vélo droite bvd : cycleway:right=share_busway //================= Bus + Vélo gauche bvg : cycleway:left=share_busway //================= Bus + Vélo gauche et droit bvgd : cycleway=share_busway AND NOT (oneway=yes OR oneway=true OR oneway=-1) //================= DSC dsc : (cycleway=opposite OR cycleway=opposite_lane OR cycleway=opposite_track ) AND (oneway=yes OR oneway=true OR oneway=-1) //================= Métro C / funiculaires metroc : railway=subway AND name="Ligne C" funic : description=funiculaire //========================================================================================== boundary country : boundary=administrative AND (admin_level=2 OR admin_level=4) AND NOT natural=coastline railway : railway=rail AND @isFalse(disused) AND NOT service=yard AND @isFalse(noexit) motorway : highway=motorway motorway link : highway=motorway_link highway major : @isOneOf(highway, trunk, trunk_link, primary, primary_link) highway minor : @isOneOf(highway, unclassified, residential, service, secondary, secondary_link, tertiary, tertiary_link) OR (highway=track AND (@isOneOf(tracktype, grade1, grade2, grade3) OR NOT tracktype)) path : @isOneOf(highway, path, footway) OR (highway=track AND @isOneOf(tracktype, grade4, grade5)) voieverte : highway=path and motor_vehicle=no and not bicycle=no water line : waterway=stream velonon : bicycle=no areas water : natural=water OR natural=wetland OR waterway=riverbank OR waterway=stream OR landuse=reservoir OR landuse=basin aeroway area : aeroway industrial : landuse=industrial residential area : landuse=residential hospital : amenity=hospital park : leisure=park forest : landuse=forest OR natural=wood cemetery : landuse=cemetery building : building=yes OR building=hall OR building=church place : leisure=common OR leisure=garden OR leisure=park mairie : amenity=townhall properties map-background-color : #F4F1EA white 20% map-background-opacity : 1 map-sea-color : #99B3CC font-family : Sheep Sans text-max-width : 25 text-align-horizontal : center text-align-vertical : center font-stretch : 0.95 map.rendering.lflp.min-buffer-space : 5 map.rendering.lflp.max-allowed-corner-angle : 40 rules //===================================================================================================== //================================ pkv, Velov, velociste ============================================= //===================================================================================================== target: contour* define line-color : #7f3300 line-opacity : 0.15 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: pkv define icon-image : http://img11.hostingpics.net/pics/683712parking.png min-zoom : 15 icon-width : 14:2;18:17 draw : icon define text : capacity text-offset-horizontal : 6 text-offset-vertical : 5 min-zoom : 16 font-size : 15:10 text-halo-width : 3 draw : text target: velov define min-zoom : 16 shape : custom shape-def : -10,0,-40,80,-25,80,0,15,25,80,40,80,10,0;Z shape-size : 16 shape-aspect : 1 fill-color : red line-style : none draw : shape target: velociste define icon-image : velociste1.png min-zoom : 13 icon-width : 12:6;15:30;18:50 draw : icon define text : name text-offset-horizontal : 0 text-offset-vertical : -20 min-zoom : 15 font-size : 16:10;18:14 text-halo-width : 5 draw : text target: psr define icon-image : psr.png min-zoom : 13 icon-width : 12:8;15:30;18:30 shape-mode : center draw : icon define text : name text-offset-horizontal : 0 text-offset-vertical : 18 min-zoom : 15 font-size : 13 text-halo-width : 0 draw : text target: mairie define icon-image : mairie.png min-zoom : 13 icon-width : 12:5;15:10;18:20 shape-mode : center draw : icon define text : name text-offset-horizontal : 0 text-offset-vertical : 15 min-zoom : 11 font-size : 13 text-halo-width : 6 draw : text target : metro define icon-image : metro.png min-zoom : 14 icon-width : 12:5;15:10;18:20 shape-mode : center draw : icon define text : name text-offset-horizontal : 0 text-offset-vertical : 10 min-zoom : 14 font-size : 13 text-halo-width : 4 draw : text // landuse target : $featuretype(area) define line-style : none line-width : 1 if : water define fill-color : #7cb1d5 elseif : place define line-style : solid line-width : 1 min-zoom : 12 fill-color : #ccffbb elseif : building define line-style : solid line-width : 1.5 line-color : #F4F1EA min-zoom : 11 fill-color : #DDDAD5 white 20% elseif : hospital define fill-color : #e5c6c3 elseif : park define fill-color : #b5d29c elseif : cemetery define fill-color : #d1d0cd elseif : forest define min-zoom : 9 fill-color : #CBD8C3 else stop draw : fill ///========================= texte des surfaces ============ define font-weight : normal if : water define min-zoom : 12 font-size : 12:10;20:20 elseif : hospital define min-zoom : 13 font-size : 12:10;20:20 text-color : #e5c6c3 black 50% elseif : cemetery define min-zoom : 16 max-zoom : 18 font-size : 12:10;20:12 text-color : #d1d0cd black 50% elseif : park define min-zoom : 15 max-zoom : 19 font-size : 12:06;20:12 text-color : #000000 text-halo-width : 0 text-max-width : 10 elseif : place define min-zoom : 15 font-size : 12:07;20:15 text-color : #b5d29c black 80% font-weight : bold text-halo-width : 0 text-max-width : 9 else stop draw : text target : $featuretype(point) define text-halo-width : 25% if : place* define //font-weight : bold if : *city define font-size : 11:15;14:15 min-zoom : 6 max-zoom : 16 elseif : *town define font-size : 11:15;20:15 min-zoom : 8 max-zoom : 16 elseif : *suburb define font-size : 13:10;20:20 min-zoom : 11 text-color : white black 50% elseif : *village define font-size : 12:10;20:20 min-zoom : 11 elseif : *hamlet define font-size : 14:8;20:16 min-zoom : 14 draw : text // lines target : railway define min-zoom : 13 line-color : #a1a1a1 line-width : 2 draw : line define min-zoom : 13 line-style : dashlong line-color : white line-width : 1 border-style : solid border-color : #a1a1a1 border-width : 25% draw : line define min-zoom : 6 max-zoom : 13 line-style : solid border-style : none line-color : #a1a1a1 line-width : 1 draw : line target : motorway define line-width : 7:1;13:3;15:4 min-zoom : 7 line-color : #fd923a border-style : solid border-color : #FFC345 black 20% border-width : 50% draw : line define min-zoom : 7 text : ref text-halo-width : 0 text-color : white font-size : 9 font-weight : bold shape : custom shape-def : m:-10,-10;l:0,-14,10,-10,10,10,0,14,-10,10;z shield-resize-mode : free shield-padding-left : 6 shield-padding-right : 6 shield-padding-top : 2 shield-padding-bottom : 1 fill-color : #7488dd line-color : #7488dd black 20% line-width : 1 draw : shield target : motorway link define line-width : 7:1;13:2;15:3 min-zoom : 10 line-color : #ffe068 border-style : solid border-color : #ffe068 black 20% border-width : 50% draw : line target : highway* define font-size : 15:7;18:10 font-weight : bold ///---------------------------------------- Bande Cyclable -------------------------------------------------------- target : bcsu define min-zoom : 13 shape : custom shape-def : 110,-40,20,-80,20,-55,-100,-55,-100,-25,20,-25,20,0;Z shape-size : 13:2;18:22 shape-aspect : 2 shape-spacing : 0.2 fill-color : #32CD32 line-style : none draw : shape target : bcdscd define min-zoom : 13 shape : custom shape-def : 110,-40,20,-80,20,-55,-100,-55,-100,-25,20,-25,20,0;Z shape-size : 13:2;18:22 shape-aspect : 2 shape-spacing : 0.2 fill-color : #32CD32 line-style : none draw : shape target : bcdscg define min-zoom : 13 shape : custom shape-def : 110,-40,20,-80,20,-55,-100,-55,-100,-25,20,-25,20,0;Z shape-size : 13:2;18:22 shape-aspect : 2 shape-spacing : 0.2 fill-color : #32CD32 line-style : none angle : 180 draw : shape target : bcds define min-zoom : 13 shape : custom shape-def : -30,30,-30,60,30,60,30,30;z;m:-30,-30;30,-30,30,-60,-30,-60;z shape-size : 13:2;18:22 shape-aspect : 1 shape-spacing : 0.1 fill-color : #32CD32 line-style : none angle : 180 draw : shape ///---------------------------------------- Piste Cyclable bi-directionnelle et uni-d. -------------------------------------------------------- target : pc define min-zoom : 13 line-color : #32CD32 line-width : 13:3;18:7 line-style : solid draw : line define min-zoom : 13 max-zoom : 20 font-size : 13:10 font-stretch : 0.85 draw : text target : pcsu define min-zoom : 13 line-color : #32CD32 line-width : 13:3;18:7 line-style : solid draw : line define min-zoom : 13 shape : custom shape-def : 80,0,-30,-70,-30,70;Z shape-size : 14 shape-aspect : 1 shape-spacing : 3 fill-color : #FFFFFF line-style : solid line-color : #000000 white 50% line-width : 1 for : oneway=-1 define angle : 180 draw : shape ///========== Bus + vélo D. et G. ====== target : bvd define min-zoom : 13 shape : custom shape-def : 110,-40,20,-80,20,-55,-100,-55,-100,-25,20,-25,20,0;Z shape-size : 13:2;18:22 shape-aspect : 2 shape-spacing : 0.2 fill-color : blue white 25% line-style : none draw : shape target : bvg define min-zoom : 13 shape : custom shape-def : 110,-40,20,-80,20,-55,-100,-55,-100,-25,20,-25,20,0;Z shape-size : 13:2;18:22 shape-aspect : 2 shape-spacing : 0.2 fill-color : blue white 25% line-style : none angle : 180 draw : shape target : bvgd define min-zoom : 13 shape : custom shape-def : 110,-40,20,-80,20,-55,-150,-55,-150,-25,20,-25,20,0;Z shape-size : 13:2;18:22 shape-aspect : 2 shape-spacing : 0.2 fill-color : blue white 25% line-style : none draw : shape define min-zoom : 13 shape : custom shape-def : 110,-40,20,-80,20,-55,-150,-55,-150,-25,20,-25,20,0;Z shape-size : 13:2;18:22 shape-aspect : 2 shape-spacing : 0.2 fill-color : blue white 25% line-style : none angle : 180 draw : shape ///========== DSC ====== target : dsc define min-zoom : 15 shape : custom shape-def : -230,0,-80,-70,-80,-15,-70,-15,-70,15,-80,15,-80,70;Z shape-size : 11:3;18:30 shape-aspect : 1 shape-spacing : 2 fill-color : #00dd00 line-style : none for : oneway=-1 define angle : 180 draw : shape draw : shape define min-zoom : 15 shape : custom shape-def : 230,0,80,-70,80,-15,-70,-15,-70,15,80,15,80,70;Z shape-size : 11:3;18:30 shape-aspect : 1 shape-spacing : 2 fill-color : #000000 white 20% line-style : none for : oneway=-1 define angle : 180 draw : shape ///====== SU non-DSC target : su define min-zoom : 15 shape : custom shape-def : 150,0,0,-70,0,-15,-150,-15,-150,15,0,15,0,70;Z shape-size : 11:0;18:17 shape-aspect : 1 shape-spacing : 4 fill-color : #000000 white 20% line-style : none for : oneway=-1 define angle : 180 draw : shape ///---------------------------------------- Velo interdit -------------------------------------------------------- target : velonon define line-color : #FF0000 white 30% line-width : 13:1;14:1;15:2 line-style : dot draw : line target : highway major define min-zoom : 8 line-color : #FBE297 white 30% line-width : 10:1;13:2;14:3;15:4;18:11 border-style : solid border-color : #D19828 white 30% border-width : 2 draw : line define min-zoom : 13 max-zoom : 20 font-size : 13:10;17:12 text-offset-vertical : 13:-5;18:-11 font-stretch : 0.95 font-weight : bold text-halo-width : 2 draw : text target : highway minor define min-zoom : 13.1 max-zoom : 20 line-color : white line-width : 13:1.5;15:3;18:09 border-style : solid border-color : #D4CCB8 border-width : 0.7 border-color : #000000 white 50% draw : line define min-zoom : 15 max-zoom : 20 font-size : 13:6;18:14 font-stretch : 1 text-offset-vertical : 13:-5;18:-11 text-halo-width : 0 draw : text target : metroc define min-zoom : 13.1 max-zoom : 20 line-color : #FCB23E line-width : 13:1.5;15:2;18:4 border-style : solid border-width : 0.7 border-color : #000000 line-style : dash draw : line define min-zoom : 12 max-zoom : 20 font-size : 13:6;18:20 font-stretch : 1 text-offset-vertical : 13:-5;18:-11 text-halo-width : 5 draw : text target : funic define min-zoom : 13.1 max-zoom : 20 line-color : #63b94f line-width : 13:1.5;15:2;18:4 border-style : solid border-width : 0.7 border-color : #000000 line-style : dash draw : line define min-zoom : 12 max-zoom : 20 font-size : 13:6;18:20 font-stretch : 1 text-offset-vertical : 13:-5;18:-11 text-halo-width : 5 draw : text //=================================== Rues Pietonnes ========================== target : pietonne define min-zoom : 15 border-style : none line-color : #FFC119 line-width : 1 draw : line define min-zoom : 15 line-color : #FFFFFF line-width : 13:1.5;14:2.5;15:5;16:6 border-style : solid border-color : #0011FF white 50% border-width : 3 line-offset-sides : left draw : line define min-zoom : 15 font-size : 13:10 font-stretch : 0.85 text-halo-width : 0 draw : text target : voieverte define min-zoom : 13 line-color : #32CD32 line-width : 13:3;18:7 draw : line define min-zoom : 15 max-zoom : 20 font-size : 13:10 font-stretch : 0.85 text-halo-width : 0 draw : text target : path define min-zoom : 14 max-zoom : 20 line-color : #bfab97 line-width : 13:1;14:1;15:3 line-style : dash draw : line define min-zoom : 15 font-size : 15:10;18:12 font-stretch : 0.85 text-halo-width : 0 text-offset-vertical : 13:-5;18:-11 draw : text target : water line define min-zoom : 10 line-color : #99B3CC line-width : 14:1;16:5;20:10 draw : line