User:Jaszczur666/Maperitive Rules/Oldmap
Jump to navigation
Jump to search
features lines boundary country : boundary=administrative AND (admin_level=2 OR admin_level=4) AND NOT natural=coastline boundary province : boundary=administrative AND admin_level=6 boundary municipal : boundary=administrative AND admin_level=8 mainroad: highway=primary secondary:highway=secondary secondroad: highway=tertiary or highway=residential otherroad: highway and not (highway=path or highway=footway) path:highway=path or highway=footway rzeka:waterway=river or waterway=stream road green : relation[(route=foot OR route=hiking) AND (symbol=green OR colour=green or color="#00FF00" OR colour="#00FF00" OR kct_green=major)] road black : relation[(route=foot OR route=hiking) AND (symbol=black OR colour= black Or color="#000000")] road red : relation[(route=foot OR route=hiking) AND (symbol=red OR colour=red or color="#FF0000" OR kct_red=major OR colour="#FF0000")] road blue : relation[(route=foot OR route=hiking) AND ((symbol=blue OR colour=blue or color="#0000FF") OR kct_blue=major)] road yellow : relation[(route=foot OR route=hiking) AND ((symbol=yellow OR colour=yellow or color="#FFFF00") OR kct_yellow=major)] road rower : relation [route=bicycle AND (network=ncn or network=rcn)] railway : railway=rail contour major : contour[@isMulti(elevation, 50)] contour minor : contour[@isMulti(elevation, 10) and not @isMulti(elevation, 50)] areas lake:natural=water or landuse=reservoir forest:landuse=forest or natural=wood residential:landuse=residential scrub:natural=scrub points place city : place=city place town : place=town place village : place=village place hamlet : place=hamlet place suburb : place=suburb peak:natural=peak atrakcja: tourism=attraction or tourism=yes skala:natural=stone lawka:amenity=bench gas:amenity=fuel schronisko:tourism=alpine_hut viewpoint:tourism=viewpoint kosciol:amenity=place_of_worship grodzisko:fortification_type=hill_fort properties map-background-color : #F1EEE8 map-background-opacity : 1 map-sea-color : #B5D0D0 font-weight : normal font-family : Arial 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 : boundary* define line-color : black line-opacity : 1 line-style:dashdot if : boundary country define line-width : 6:1;9:3;10:6 elseif : boundary province define min-zoom : 4 line-width : 4:1;11:3 elseif : boundary municipal define min-zoom : 12 line-width : 12:1;14:2 draw : line target:road green define min-zoom : 9 line-offset : 12.9:2;13:3 line-offset-sides : left line-color : #609F51 line-width : 3 line-style : dash border-style : solid border-color : white border-width : 0% border-opacity : 0 curved : false draw : line target : road black define min-zoom : 9 line-color : #000000 line-width : 3 line-style : dash border-style : solid border-color : white border-width : 0% border-opacity : 0.3 curved : false draw : line target : road red define min-zoom : 9 line-color : #EC4B42 line-width : 3 line-style : dash line-offset : 11:2;13:3 line-offset-sides : left border-style : solid border-color : white border-width : 0% border-opacity : 0 curved : false draw : line target : road blue define min-zoom : 9 line-color : #5FBAC5 line-width : 3 line-style : dash line-offset : 12.9:5;13:7 line-offset-sides : right border-style : solid border-color : white border-width : 0% border-opacity : 0 curved : false draw : line target : road yellow define min-zoom : 9 line-color : #C9A56C line-width : 3 line-style : dash line-offset : 12.9:5;13:7 line-offset-sides : right border-style : solid border-color : white border-width : 0% border-opacity : 0 curved : false draw : line target : $featuretype(point) if : place* define font-weight : normal 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: mainroad define line-color:#EA4440 line-width:3 border-style:solid border-color:black border-width : 1 draw:line target: secondary define line-color:#F9DE5E border-style:solid border-color:black border-width : 1 draw:line target: secondroad define line-color:white border-style:solid border-color:black border-width : 1 draw:line target: otherroad define line-color:black line-width:1 draw:line target: path define line-style:dashlong line-color:black line-width:1 draw:line target : lake define fill-color:#66A3C4 line-style:none draw:fill target : forest define fill-color:#D1D9C1 line-style:none draw:fill target:residential define fill-color:#D7BC90 // fill-hatch:nwse // fill-hatch-color:#F1EEE8 line-style:none draw:fill target:rzeka define line-color:#66A3C4 line-width:3 curved:true draw:line target:peak define shape:circle shape-size:9:0.3;18:1 draw:shape define text : @if(name, name @if(ele, "\n" ele ), ele) text-color : black text-halo-width : 0 min-zoom : 13 font-size : 10 text-max-width : 10 text-offset-vertical : 100% text-align-vertical : near draw : text target: contour* define line-color : #998C4C line-opacity : 0.4 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 : 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 : solid line-color : white black 30% line-width : 6:1;8:1;12:1.5 draw : line target: atrakcja define font-size:14:10;20:20 min-zoom : 14 draw : text target: skala define font-size:14:10;20:20 text-offset-vertical:14:15;18:25 shape :custom shape-def : p:black;f:#C1875C;ps:solid;pw:2;m:54,-37;l:-54,-37;l:-40,-30;l:-44,-14;l:-29,-7;l:-24,-18;l:-21,-21;l:-7,-10;l:-4,-2;l:-12,25;l:-13,46;l:1,56;l:18,48;l:21,32;l:28,12;l:36,7;l:37,-8;l:54,-37;z; fill-opacity:1 fill-color:white shape-size : 14:20;18:30 min-zoom : 14 draw : text draw: shape target: viewpoint define icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/view_point.p.16.png min-zoom : 9 icon-width : 16 text: ele draw : icon target:scrub define line-style:none fill-color:#E1E9D2 draw:fill target: gas define font-size:14:10;20:20 text-offset-vertical:14:15;18:25 shape :custom shape-def : p:black;f:black;ps:solid;pw:2;m:60,-175;l:45,-140;l:45,95;l:35,140;l:20,165;l:-20,165;l:-35,136;l:-45,95;l:-45,-145;l:-60,-180;l:60,-180;z;p:white;ps:none;f:white;m:25,50;l:25,0;l:-25,0;l:-25,50;z; fill-opacity:1 fill-color:white shape-aspect:0.5 shape-size : 14:30;18:50 text:operator min-zoom : 14 draw : text draw: shape target: schronisko define font-size:14:10;20:20 text-offset-vertical:14:20;18:30 shape :custom shape-def : p:red;f:red;ps:solid;pw:2;m:30,-25;l:-30,-25;l:-30,25;l:30,25;l:30,-25;z;m:30,25;l:55,50;l:52,20;l:45,40;z; fill-opacity:1 fill-color:white shape-aspect:0.5 shape-size : 14:30;18:50 min-zoom : 14 draw : text draw: shape target: kosciol define font-size:14:10;20:20 text-offset-vertical:14:20;18:30 shape :custom shape-def : p:red;f:red;ps:solid;pw:2;m:0,100;l:-40,91;l:-74,66;l:-95,30;l:-99,-10;l:-86,-49;l:-58,-80;l:-20,-97;l:20,-97;l:58,-80;l:86,-50;l:99,-10;l:95,30;l:74,66;l:40,91;l:0,100;l:0,300;m:-100,200;l:100,200 fill-opacity:1 fill-color:white // shape-aspect:0.5 shape-size : 14:30;18:50 min-zoom : 14 // draw : text draw: shape target: grodzisko define font-size:14:10;20:20 text-offset-vertical:14:20;18:30 shape :custom shape-def : p:red;f:red;ps:solid;pw:2;m:0,70;l:-28,63;l:-52,46;l:-66,21;l:-69,-7;l:-60,-34;l:-41,-56;l:-14,-68;l:14,-68;l:41,-56;l:60,-35;l:69,-7;l:66,21;l:52,46;l:28,63;l:0,70;z;m:112,85;l:104,83;l:98,78;l:93,71;l:93,63;l:95,56;l:101,49;l:108,46;l:116,46;l:123,49;l:129,55;l:131,63;l:131,71;l:126,78;l:120,83;l:112,85;l:104,83;z;m:112,-85;l:104,-83;l:98,-78;l:93,-71;l:93,-63;l:95,-56;l:101,-49;l:108,-46;l:116,-46;l:123,-49;l:129,-55;l:131,-63;l:131,-71;l:126,-78;l:120,-83;l:112,-85;l:104,-83;z;m:-112,85;l:-104,83;l:-98,78;l:-93,71;l:-93,63;l:-95,56;l:-101,49;l:-108,46;l:-116,46;l:-123,49;l:-129,55;l:-131,63;l:-131,71;l:-126,78;l:-120,83;l:-112,85;l:-104,83;z;m:-112,-85;l:-104,-83;l:-98,-78;l:-93,-71;l:-93,-63;l:-95,-56;l:-101,-49;l:-108,-46;l:-116,-46;l:-123,-49;l:-129,-55;l:-131,-63;l:-131,-71;l:-126,-78;l:-120,-83;l:-112,-85;l:-104,-83;z;m:0,150;l:-8,148;l:-14,143;l:-19,136;l:-19,128;l:-17,121;l:-11,114;l:-4,111;l:4,111;l:11,114;l:17,120;l:19,128;l:19,136;l:14,143;l:8,148;l:0,150;l:-8,148;z;m:0,-150;l:-8,-148;l:-14,-143;l:-19,-136;l:-19,-128;l:-17,-121;l:-11,-114;l:-4,-111;l:4,-111;l:11,-114;l:17,-120;l:19,-128;l:19,-136;l:14,-143;l:8,-148;l:0,-150;l:-8,-148;z; fill-opacity:1 fill-color:white shape-size : 14:10;18:20 min-zoom : 14 draw: shape