User:Loll78/Maperitive-Codes
Jump to navigation
Jump to search
Administrative Boundaries of the whole country
features areas lines coastline : natural=coastline river : waterway=river stream : waterway=stream boundary country : boundary=administrative AND admin_level=2 boundary country : border_type=nation boundary district : boundary=administrative AND admin_level=4 boundary canton : boundary=administrative AND admin_level=5 boundary commune : boundary=administrative AND admin_level=6 boundary municipal : boundary=administrative AND admin_level=8 boundary quartier : boundary=administrative AND admin_level=9 points place city : place=city place town : place=town properties map-background-color : #FFFFFF 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 draw : text target : boundary* define line-opacity : 1 if : boundary country define line-color : #0000FF line-style : solid line-width : 6:1;9:3;10:6 elseif : boundary district define line-color : #9900FF line-opacity : 1 min-zoom : 4 line-width : 3:1;11:7 line-style : dash elseif : boundary canton define line-color : #FF0000 line-opacity : 1 min-zoom : 6 line-width : 3:1;9:2;11:7 line-style : dot elseif : boundary commune define line-color : #999900 line-opacity : 1 min-zoom : 8 line-width : 9:1;11:5 line-style : dashdotdot elseif : boundary municipal define min-zoom : 12 line-color : #660000 line-width : 12:1;14:2 line-style : dash elseif : boundary quartier define line-color : #66FF66 min-zoom : 8 line-width : 9:0.1;11:1 line-style : dot draw : line