├── Icons └── SJJB │ ├── png │ ├── food_cafe.p.32.png │ ├── food_pub.p.32.png │ ├── food_bar.glow.32.png │ ├── food_pub.glow.32.png │ ├── money_atm2.p.32.png │ ├── money_bank2.p.32.png │ ├── amenity_police.p.32.png │ ├── barrier_gate.p.32.png │ ├── food_fastfood2.p.32.png │ ├── shopping_diy.p.32.png │ ├── tourist_museum.p.32.png │ ├── amenity_library.p.32.png │ ├── amenity_post_box.p.32.png │ ├── amenity_toilets.p.32.png │ ├── education_school.p.32.png │ ├── food_drinkingtap.p.32.png │ ├── food_restaurant.p.32.png │ ├── health_hospital.p.32.png │ ├── health_pharmacy.p.32.png │ ├── shopping_bakery.p.32.png │ ├── tourist_memorial.p.32.png │ ├── amenity_firestation.p.32.png │ ├── amenity_post_office.p.32.png │ ├── amenity_recycling.p.32.png │ ├── amenity_telephone.p.32.png │ ├── food_restaurant.glow.32.png │ ├── landuse_coniferous.p.32.png │ ├── tourist_view_point.p.32.png │ ├── transport_bus_stop.p.32.png │ ├── transport_parking.p.32.png │ ├── accommodation_hotel2.p.32.png │ ├── shopping_convenience.p.32.png │ ├── shopping_hairdresser.p.32.png │ ├── shopping_supermarket.p.32.png │ ├── accommodation_alpinehut.p.32.png │ ├── accommodation_shelter2.p.32.png │ ├── transport_traffic_lights.p.32.png │ ├── transport_train_station2.n.32.png │ ├── place_of_worship_christian.p.32.png │ ├── place_of_worship_christian3.p.32.png │ └── transport_roundabout_anticlockwise.p.32.png │ └── LICENSE.txt ├── UserRules ├── Schwarzplan.mrules ├── Blueprint.mrules ├── PCB.mrules ├── BlackAndWhite.mrules ├── bing.mrules ├── mapquest.mrules ├── Neutralmap.mrules ├── Chris49N.mrules ├── black_and_white.mrules └── hc.mrules ├── Rules ├── Wireframe.mrules ├── Experimental.mrules ├── PowerLines.mrules ├── urbanight.mrules ├── GoogleMaps.mrules ├── Hiking.mrules └── Default.mrules └── README.md /Icons/SJJB/png/food_cafe.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/food_cafe.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/food_pub.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/food_pub.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/food_bar.glow.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/food_bar.glow.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/food_pub.glow.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/food_pub.glow.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/money_atm2.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/money_atm2.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/money_bank2.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/money_bank2.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/amenity_police.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/amenity_police.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/barrier_gate.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/barrier_gate.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/food_fastfood2.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/food_fastfood2.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/shopping_diy.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/shopping_diy.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/tourist_museum.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/tourist_museum.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/amenity_library.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/amenity_library.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/amenity_post_box.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/amenity_post_box.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/amenity_toilets.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/amenity_toilets.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/education_school.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/education_school.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/food_drinkingtap.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/food_drinkingtap.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/food_restaurant.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/food_restaurant.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/health_hospital.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/health_hospital.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/health_pharmacy.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/health_pharmacy.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/shopping_bakery.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/shopping_bakery.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/tourist_memorial.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/tourist_memorial.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/amenity_firestation.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/amenity_firestation.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/amenity_post_office.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/amenity_post_office.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/amenity_recycling.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/amenity_recycling.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/amenity_telephone.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/amenity_telephone.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/food_restaurant.glow.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/food_restaurant.glow.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/landuse_coniferous.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/landuse_coniferous.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/tourist_view_point.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/tourist_view_point.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/transport_bus_stop.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/transport_bus_stop.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/transport_parking.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/transport_parking.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/accommodation_hotel2.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/accommodation_hotel2.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/shopping_convenience.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/shopping_convenience.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/shopping_hairdresser.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/shopping_hairdresser.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/shopping_supermarket.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/shopping_supermarket.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/accommodation_alpinehut.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/accommodation_alpinehut.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/accommodation_shelter2.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/accommodation_shelter2.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/transport_traffic_lights.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/transport_traffic_lights.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/transport_train_station2.n.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/transport_train_station2.n.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/place_of_worship_christian.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/place_of_worship_christian.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/place_of_worship_christian3.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/place_of_worship_christian3.p.32.png -------------------------------------------------------------------------------- /Icons/SJJB/png/transport_roundabout_anticlockwise.p.32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/quelbs/maperitive-rulesets/HEAD/Icons/SJJB/png/transport_roundabout_anticlockwise.p.32.png -------------------------------------------------------------------------------- /UserRules/Schwarzplan.mrules: -------------------------------------------------------------------------------- 1 | // origin: https://wiki.openstreetmap.org/wiki/User:ABRob/Maperitive_Regeln/Schwarzplan 2 | 3 | // Rules for Maperitive by ABRob 4 | // 5 | // Schwarzplan 6 | features 7 | areas 8 | building : building 9 | properties 10 | map-background-color : #FFFFFF 11 | line-style : none 12 | rules 13 | target : building 14 | define 15 | fill-color : black 16 | draw : fill -------------------------------------------------------------------------------- /UserRules/Blueprint.mrules: -------------------------------------------------------------------------------- 1 | // origin: https://wiki.openstreetmap.org/wiki/User:Andrewmk/Maperitive_Rules/Blueprint 2 | 3 | features 4 | lines 5 | all lines : 6 | areas 7 | all areas : 8 | 9 | properties 10 | map-background-color : #303099 11 | 12 | rules 13 | target : all areas 14 | define 15 | fill-color : #303099 16 | fill-opacity : 1 17 | draw : fill 18 | 19 | target : all lines 20 | define 21 | line-color : #888888 22 | line-width : 2 23 | draw : line -------------------------------------------------------------------------------- /Rules/Wireframe.mrules: -------------------------------------------------------------------------------- 1 | // Wireframe rules 2 | 3 | // Created by Igor Brejc 4 | // Released under the Creative Commons Attribution-ShareAlike 3.0 License (http://creativecommons.org/licenses/by-sa/3.0/) 5 | 6 | features 7 | lines 8 | all lines : 9 | areas 10 | all areas : 11 | 12 | properties 13 | map-background-color : #181818 14 | 15 | rules 16 | target : all areas 17 | define 18 | fill-color : green 19 | fill-opacity : 0.1 20 | draw : fill 21 | 22 | target : all lines 23 | define 24 | line-color : lightgray 25 | line-width : 0.5 26 | draw : line 27 | -------------------------------------------------------------------------------- /UserRules/PCB.mrules: -------------------------------------------------------------------------------- 1 | // origin: https://wiki.openstreetmap.org/wiki/User:Andrewmk/Maperitive_Rules/PCB 2 | 3 | features 4 | lines 5 | all lines : 6 | areas 7 | black : landuse=village_green OR building OR amenity=parking 8 | all areas : 9 | 10 | properties 11 | map-background-color : #181818 12 | 13 | rules 14 | target : black 15 | define 16 | fill-color : #030603 17 | fill-opacity : 1 18 | draw : fill 19 | 20 | target : all areas 21 | define 22 | fill-color : #306030 23 | fill-opacity : 0.1 24 | draw : fill 25 | 26 | target : all lines 27 | define 28 | line-color : #fbe56b 29 | line-width : 2 30 | draw : line -------------------------------------------------------------------------------- /Rules/Experimental.mrules: -------------------------------------------------------------------------------- 1 | features 2 | points 3 | allpoints : 4 | parking : amenity=parking 5 | lines 6 | allways : 7 | 8 | properties 9 | map-background-color : white 10 | 11 | rules 12 | target : parking 13 | define 14 | fill-color : red 15 | line-color : blue 16 | line-width : 1 17 | shape : custom 18 | shape-def : -60,0;-20,-40;-20,-15;60,-15;60,15;-20,15;-20,40;-60,0 19 | angle : 45 20 | shape-aspect : 2 21 | draw : shape 22 | 23 | target : allways 24 | define 25 | line-color : yellow 26 | border-color : black 27 | border-style : solid 28 | border-width : 40% 29 | for : bridge=yes 30 | define 31 | border-width : 120% 32 | elsefor : tunnel=yes 33 | define 34 | border-style : dash 35 | draw : line -------------------------------------------------------------------------------- /UserRules/BlackAndWhite.mrules: -------------------------------------------------------------------------------- 1 | // origin: https://wiki.openstreetmap.org/wiki/User:Andrewmk/Maperitive_Rules/BlackAndWhite 2 | 3 | features 4 | lines 5 | all lines : 6 | areas 7 | all areas : 8 | 9 | properties 10 | map-background-color : #ffffff 11 | 12 | rules 13 | target : all lines 14 | define 15 | line-color : black 16 | line-width : 1 17 | draw : line 18 | define 19 | font-size : 13:10;15:15 20 | min-zoom : 13 21 | text : name 22 | text-align-vertical : near 23 | text-color : black 24 | text-max-width : 15 25 | text-offset-vertical : 70% 26 | text-halo-width : 30% 27 | text-halo-opacity : 0.75 28 | draw : text 29 | 30 | target : all areas 31 | define 32 | font-size : 13:10;15:15 33 | min-zoom : 17 34 | text : [[addr:housenumber]] 35 | text-color : black 36 | text-max-width : 15 37 | text-halo-width : 30% 38 | text-halo-opacity : 0.75 39 | draw : text -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Maperitive Rulesets 2 | =================== 3 | 4 | Here you find rulesets for [Maperitive](http://maperitive.net/). Sample renderings can be seen on the [Sample renderings page](https://quelbs.github.io/maperitive/) 5 | 6 | ### Rules 7 | 8 | In this folder you can find the default rules that are included in Maperitive. 9 | 10 | ### UserRules 11 | 12 | Here you can find rules I created on my own, rules sent to me and rules found somewhere on the net. 13 | Some rules are taken from the [Maperitive rules category](http://wiki.openstreetmap.org/wiki/Category:Maperitive/Rules) of the [OpenStreetMap Wiki](http://wiki.openstreetmap.org/wiki/). 14 | 15 | Usage 16 | ----- 17 | 18 | To use this rules you need to download them from here or clone this repository. Then you either drag&drop the ruleset on the Maperitive window or use the appropriate Maperitive commands. 19 | 20 | Participation 21 | ------------- 22 | 23 | The best ways to help is are 24 | 25 | * [Create a fork of this repository](https://github.com/quelbs/maperitive-rulesets/fork) and send a pull request of your changes 26 | * [Create a new issue](https://github.com/quelbs/maperitive-rulesets/issues/new) if you find an error/flaw 27 | -------------------------------------------------------------------------------- /Rules/PowerLines.mrules: -------------------------------------------------------------------------------- 1 | features 2 | power generator : power=generator 3 | power station : power=station 4 | power substation : power=sub_station 5 | 6 | points 7 | power tower : power=tower 8 | lines 9 | power line : power=line 10 | power minor line : power=minor_line 11 | 12 | properties 13 | map-background-color : #181818 14 | 15 | rules 16 | target : power generator 17 | define 18 | shape : triangle 19 | shape-size : 1:1;10:1;20:10 20 | fill-color : yellow 21 | line-color : black 22 | line-width : 1 23 | draw : shape 24 | 25 | target : power station 26 | define 27 | shape : square 28 | shape-size : 1:1;10:1;20:10 29 | fill-color : green 30 | fill-opacity : 0.75 31 | line-color : black 32 | line-width : 1 33 | draw : shape 34 | 35 | target : power substation 36 | define 37 | shape : square 38 | shape-size : 1:1;10:1;20:10 39 | fill-color : green 40 | line-color : black 41 | line-width : 1 42 | draw : shape 43 | 44 | target : power tower 45 | define 46 | shape : circle 47 | shape-size : 1:1;10:1;20:10 48 | fill-color : yellow 49 | line-width : 0 50 | draw : shape 51 | 52 | target : power line 53 | define 54 | line-color : red 55 | line-width : 1:3;10:3;20:10 56 | draw : line 57 | 58 | target : power minor line 59 | define 60 | line-color : yellow 61 | draw : line -------------------------------------------------------------------------------- /Rules/urbanight.mrules: -------------------------------------------------------------------------------- 1 | // Urbanight rules 2 | 3 | // Created by Igor Brejc 4 | // Released under the Creative Commons Attribution-ShareAlike 3.0 License (http://creativecommons.org/licenses/by-sa/3.0/) 5 | 6 | features 7 | points 8 | 9 | lines 10 | highway named : highway AND (name OR ref) 11 | highway unnamed : highway AND NOT (name OR ref) 12 | waterway : waterway 13 | railway : railway 14 | aeroway : aeroway 15 | 16 | areas 17 | landuse : landuse OR man_made OR leisure OR amenity OR office OR shop OR craft OR emergency OR tourism OR historic OR sport 18 | 19 | properties 20 | map-background-color : black 21 | map-background-opacity : 1 22 | map-sea-color : black 23 | 24 | rules 25 | target : highway named 26 | define 27 | line-color : green 28 | line-opacity : 20% 29 | line-width : 10:1;16:3 30 | draw : line 31 | 32 | target : highway unnamed 33 | define 34 | line-color : red 35 | line-opacity : 10% 36 | line-width : 10:1;16:3 37 | draw : line 38 | 39 | target : railway 40 | define 41 | line-color : white 42 | line-style : dot 43 | line-opacity : 10% 44 | line-width : 10:1;16:3 45 | draw : line 46 | 47 | target : aeroway 48 | define 49 | line-color : violet 50 | line-style : dash 51 | line-opacity : 10% 52 | line-width : 10:1;16:3 53 | draw : line 54 | 55 | target : waterway 56 | define 57 | line-color : #00bff5 58 | line-opacity : 20% 59 | line-width : 10:1;16:3 60 | draw : line 61 | 62 | target : landuse 63 | define 64 | line-opacity : 5% 65 | line-width : 1 66 | line-style : solid 67 | for : name OR ref 68 | define 69 | line-color : yellow 70 | fill-color : yellow 71 | fill-opacity : 2% 72 | // fill-hatch : nwse 73 | else 74 | define 75 | line-color : #a8472c 76 | fill-color : #a8472c 77 | fill-opacity : 5% 78 | draw : fill 79 | -------------------------------------------------------------------------------- /Icons/SJJB/LICENSE.txt: -------------------------------------------------------------------------------- 1 | http://creativecommons.org/licenses/publicdomain/ 2 | 3 | creative commons Public Domain Dedication 4 | 5 | Copyright-Only Dedication (based on United States law) or Public Domain 6 | Certification 7 | 8 | The person or persons who have associated work with this document (the 9 | "Dedicator" or "Certifier") hereby either (a) certifies that, to the best 10 | of his knowledge, the work of authorship identified is in the public 11 | domain of the country from which the work is published, or (b) hereby 12 | dedicates whatever copyright the dedicators holds in the work of authorship 13 | identified below (the "Work") to the public domain. A certifier, morever, 14 | dedicates any copyright interest he may have in the associated work, and 15 | for these purposes, is described as a "dedicator" below. 16 | 17 | A certifier has taken reasonable steps to verify the copyright status of 18 | this work. Certifier recognizes that his good faith efforts may not shield 19 | him from liability if in fact the work certified is not in the public domain. 20 | 21 | A dedicator makes this dedication for the benefit of the public at large and 22 | to the detriment of the Dedicator's heirs and successors. Dedicators intend 23 | this dedication to be an overt act of relinquishment in perpetuity of all 24 | present and future rights under copyright law, whether vested or contingent, 25 | in the Work. Dedicator understand that such relinquishment of all rights 26 | includes the relinquishment of all rights to enforce (by lawsuit or otherwise) 27 | those copyrights in the Work. 28 | 29 | Dedicator recognizes that, once placed in the public domain, the Work may be 30 | freely reproduced, distributed, transmitted, used, modified, built upon, or 31 | otherwise exploited by anyone for any purpose, commercial or non-commercial, 32 | and in any way, including by methods that have not yet been invented or 33 | conceived. 34 | -------------------------------------------------------------------------------- /UserRules/bing.mrules: -------------------------------------------------------------------------------- 1 | // ruleset by quelbs 2 | // Released under the Creative Commons Attribution-ShareAlike 3.0 License (http://creativecommons.org/licenses/by-sa/3.0/) 3 | 4 | features 5 | areas 6 | forest:landuse=forest 7 | water:natural=water OR waterway=riverbank OR @isOneOf(landuse,reservoir,basin) 8 | cemetery:landuse=cemetery or amenity=grave_yard 9 | building:building=yes 10 | 11 | lines 12 | rails:railway=rail 13 | str autobahn:@isOneOf(highway,motorway,motorway_link) or (highway=construction and @isOneOf(construction,motorway,motorway_link)) 14 | str major:@isOneOf(highway,trunk,trunk_link,primary,primary_link) or (highway=construction and @isOneOf(construction,trunk,trunk_link,primary,primary_link)) 15 | str main:@isOneOf(highway,secondary,secondary_link) or (highway=construction and @isOneOf(construction,secondary,secondary_link)) 16 | str minor:@isOneOf(highway,tertiary,tertiary_link) or (highway=construction and @isOneOf(construction,tertiary,tertiary_link)) 17 | str other:@isOneOf(highway,unclassified,residential,service,living_street) 18 | track:(highway=track AND (@isOneOf(tracktype,grade1,grade2,grade3) OR NOT tracktype)) 19 | path:@isOneOf(highway,path,footway,pedestrian,steps) OR (highway=track AND @isOneOf(tracktype,grade4,grade5)) 20 | waterway:@isOneOf(waterway,stream,river) 21 | 22 | points 23 | railwaystation:railway=station 24 | 25 | properties 26 | map-background-color:#F1EDEA 27 | map-background-opacity:1 28 | map-sea-color:#A9C5D3 29 | font-size:12:100%;16:200% 30 | font-weight:normal 31 | font-family:Verdana 32 | text-max-width:7 33 | text-halo-width:25% 34 | text-halo-opacity:0.75 35 | text-align-horizontal:center 36 | text-align-vertical:center 37 | font-stretch:0.9 38 | map.rendering.lflp.min-buffer-space:5 39 | map.rendering.lflp.max-allowed-corner-angle:40 40 | 41 | rules 42 | //areas 43 | target:$featuretype(area) 44 | define 45 | min-zoom:9 46 | line-style:none 47 | line-width:1 48 | if:forest 49 | define 50 | fill-color:#D0D8AF 51 | elseif:water 52 | define 53 | fill-color:#A9C5D4 54 | elseif:cemetery 55 | define 56 | fill-color:#D3D4CD 57 | elseif:building 58 | define 59 | fill-color:#E1E4E6 60 | else 61 | stop 62 | draw:fill 63 | //lines 64 | target:rails 65 | define 66 | min-zoom:12 67 | max-zoom:15 68 | shape:custom 69 | shape-def:p:#999;l:0,1,0,-1 70 | shape-spacing:5 71 | shape-size:3 72 | fill-color:white black 40% 73 | line-width:1 74 | line-style:solid 75 | line-color:#999 76 | draw:shape 77 | draw:line 78 | target:rails 79 | define 80 | min-zoom:15 81 | shape:custom 82 | shape-def:p:#999;l:0,4,0,-4;m:-4,3;l:4,3;m:-4,-3;l:4,-3 83 | shape-spacing:0 84 | shape-size:14:4;20:10 85 | fill-color:white black 40% 86 | line-style:none 87 | draw:shape 88 | target:str* 89 | define 90 | min-zoom:10 91 | text:ref 92 | text-halo-width:0 93 | font-size:9 94 | font-weight:bold 95 | shape:square 96 | shield-resize-mode:free 97 | shield-padding-left:4 98 | shield-padding-right:3 99 | shield-padding-top:1 100 | shield-padding-bottom:1 101 | line-width:1 102 | fill-color:#F9F9D9 103 | line-color:#D2C087 104 | if:str autobahn 105 | define 106 | text-color:white 107 | shape:custom 108 | shape-def:f:#6D80D2;p:#ffffff;-20,8,0,15,20,8,20,-8,0,-15,-20,-8;Z 109 | shield-resize-mode:aspect 110 | elseif:str other 111 | stop 112 | draw:shield 113 | target:str* 114 | define 115 | min-zoom:14 116 | text:name 117 | draw:text 118 | target:str autobahn 119 | define 120 | min-zoom:13 121 | line-width:1 122 | border-style:none 123 | line-color:#BFAEE6 black 30% 124 | draw:line 125 | target:str autobahn 126 | define 127 | line-width:10:2;14:5;16:20 128 | border-style:solid 129 | border-color:#BFAEE6 black 30% 130 | border-width:10% 131 | border-opacity:0.8 132 | line-color:#BFAEE6 133 | draw:line 134 | target:str major 135 | define 136 | min-zoom:13 137 | line-width:1 138 | line-color:#CDC0E6 black 30% 139 | border-style:none 140 | draw:line 141 | target:str major 142 | define 143 | min-zoom:10 144 | line-width:10:1;14:4;16:18 145 | line-color:#CDC0E6 146 | border-color:#9B91AD 147 | border-width:15% 148 | border-style:solid 149 | border-opacity:1 150 | draw:line 151 | target:str main 152 | define 153 | min-zoom:10 154 | line-width:10:1;14:3;16:12 155 | line-color:#CDC0E6 156 | border-color:#CDC0E6 black 30% 157 | border-width:15% 158 | border-style:solid 159 | border-opacity:1 160 | draw:line 161 | target:str minor 162 | define 163 | min-zoom:10 164 | line-width:10:1;14:3;16:12 165 | line-color:#DDDEE3 166 | border-color:#DDDEE3 black 30% 167 | border-width:15% 168 | border-style:solid 169 | border-opacity:1 170 | draw:line 171 | target:str other 172 | define 173 | min-zoom:11 174 | max-zoom:13 175 | line-width:1 176 | line-color:#BBB 177 | draw:line 178 | target:str other 179 | define 180 | min-zoom:13 181 | line-width:13:3;15:4;16:8 182 | line-color:white 183 | border-color:white black 30% 184 | border-style:solid 185 | border-width:15% 186 | font-size:13:100%;15:100%;16:200% 187 | draw:line 188 | draw:text 189 | target:track 190 | define 191 | min-zoom:13 192 | line-width:13:2;15:3;16:6 193 | line-color:white 194 | border-color:white black 10% 195 | border-style:solid 196 | border-width:15% 197 | font-size:13:100%;15:100%;16:200% 198 | line-style:dash 199 | draw:line 200 | draw:text 201 | target:path 202 | define 203 | min-zoom:13 204 | line-width:1 205 | line-color:white black 40% 206 | border-style:none 207 | font-size:100% 208 | line-style:dashlong 209 | draw:line 210 | draw:text 211 | target:waterway 212 | define 213 | line-width:10:1;14:2 214 | line-color:#A9C5D4 215 | draw:line 216 | //points 217 | target:railwaystation 218 | define 219 | min-zoom:12 220 | shape:square 221 | shape-size:12:2;16:16 222 | fill-color:#448EC7 223 | line-style:none 224 | text-offset-vertical:150% 225 | draw:shape 226 | draw:text 227 | -------------------------------------------------------------------------------- /UserRules/mapquest.mrules: -------------------------------------------------------------------------------- 1 | // Maperitive style similar to Open-MapQuest style 2 | // Created by Quelbs 3 | // Released under the Creative Commons Attribution-ShareAlike 3.0 License (http://creativecommons.org/licenses/by-sa/3.0/) 4 | 5 | features 6 | points 7 | motorway_junction: highway=motorway_junction 8 | peak:natural=peak 9 | lines 10 | path:@isOneOf(highway,path,pedestrian,footway,track) and not(area=yes) 11 | cycleway:highway=cycleway 12 | steps:highway=steps 13 | way:highway=service 14 | street:@isOneOf(highway,residential,unclassified,living_street,tertiary,tertiary_link) 15 | mainstreet:@isOneOf(highway,secondary,secondary_link) 16 | road:@isOneOf(highway,primary,primary_link) 17 | trunkroad:@isOneOf(highway,trunk,trunk_link) 18 | motorway_link:highway=motorway_link 19 | motorway:highway=motorway 20 | oneway:oneway 21 | waterway:@isOneOf(waterway,stream,river) 22 | rail:railway=rail 23 | areas 24 | water:natural=water 25 | green:landuse=forest or natural=wood or (leisure=pitch and @isOneOf(sport,soccer,tennis)) or @isOneOf(leisure,park,playground) 26 | building:building=yes 27 | pedestrian:highway=pedestrian 28 | parking:amenity=parking 29 | zoo:tourism=zoo 30 | cemetery:landuse=cemetery or amenity=grave_yard 31 | military:military 32 | points, areas 33 | housenumbers:[addr:housenumber] 34 | hospital:amenity=hospital 35 | city:place=city 36 | town:place=town 37 | village:place=village 38 | 39 | properties 40 | map-background-color : #F6F3E9 41 | font-size:12:100%;16:200% 42 | font-weight:normal 43 | font-family:Verdana 44 | text-max-width:7 45 | text-halo-width:15% 46 | text-halo-opacity:0.75 47 | text-align-horizontal:center 48 | text-align-vertical:center 49 | font-size:140% 50 | text-offset-vertical:-10% 51 | 52 | rules 53 | 54 | //points 55 | target:city 56 | define 57 | min-zoom:6 58 | max-zoom:15 59 | font-size:6:10;10:14 60 | font-weight:bold 61 | text-color:black white 30% 62 | draw:text 63 | target:town 64 | define 65 | min-zoom:8 66 | font-size:8:8;10:10 67 | font-weight:bold 68 | text-color:black white 30% 69 | draw:text 70 | target:village 71 | define 72 | font-size:8 73 | font-weight:bold 74 | text-color:black white 50% 75 | draw:text 76 | target:motorway_junction 77 | define 78 | min-zoom:15 79 | text:ref 80 | text-halo-width:0 81 | text-color:white 82 | font-size:9 83 | font-weight:bold 84 | shape:square 85 | shield-resize-mode:free 86 | shield-padding-left:4 87 | shield-padding-right:3 88 | shield-padding-top:2 89 | shield-padding-bottom:1 90 | text-offset-vertical:-100% 91 | text-align-vertical:far 92 | line-width:1 93 | fill-color:#2EAA40 94 | line-color:white 95 | draw:shield 96 | target:motorway_junction 97 | define 98 | min-zoom:10 99 | shape:circle 100 | shape-size:10:2;14:2;15:3 101 | fill-color:white 102 | line-color:#2EAA40 103 | line-width:10:1;14:1;15:2 104 | draw:shape 105 | target : peak 106 | define 107 | min-zoom : 12 108 | shape:triangle 109 | shape-size:12 110 | fill-color:#CECEAD 111 | line-color:black 112 | line-width:1 113 | min-zoom:11 114 | draw : shape 115 | define 116 | text-color : #ae4242 117 | font-size : 10 118 | text-max-width : 10 119 | text-offset-vertical:-100% 120 | text-align-vertical:far 121 | font-style:italic 122 | draw : text 123 | 124 | // lines 125 | target:oneway 126 | define 127 | min-zoom : 15 128 | shape : custom 129 | shape-def : 60,0,20,-40,20,-15,-60,-15,-60,15,20,15,20,40;Z 130 | shape-size : 12 131 | shape-aspect : 0.75 132 | shape-spacing : 6 133 | fill-color : gray 134 | line-style : none 135 | for : oneway=-1 136 | define 137 | angle : 180 138 | draw : shape 139 | target:motorway 140 | define 141 | min-zoom:10 142 | text:ref 143 | text-halo-width:0 144 | text-color:white 145 | font-size:9 146 | font-weight:bold 147 | shape:square 148 | shield-resize-mode:free 149 | shield-padding-left:4 150 | shield-padding-right:3 151 | shield-padding-top:2 152 | shield-padding-bottom:2 153 | line-width:1 154 | fill-color:#BF3030 155 | line-color:white #BF3030 60% 156 | min-zoom:11 157 | line-width:11:1;14:2;16:3 158 | line-color:#FFE14C 159 | line-style:solid 160 | border-style:none 161 | draw:line 162 | draw:shield 163 | target:motorway* 164 | define 165 | min-zoom:11 166 | line-width:11:4;16:9 167 | line-color:#E55050 168 | line-style:solid 169 | border-style:solid 170 | border-color:black #E55050 60% 171 | border-width:15% 172 | if:motorway_link 173 | define 174 | line-width:11:2;14:3;16:7 175 | draw:line 176 | target:trunkroad 177 | define 178 | min-zoom:11 179 | line-width:11:3;16:8 180 | line-color:#E2A9A9 181 | line-style:solid 182 | border-style:solid 183 | border-color:#AF5959 184 | border-width:25% 185 | draw:text 186 | draw:line 187 | target:road 188 | define 189 | min-zoom:11 190 | line-width:11:2;16:6 191 | line-color:#FBE297 192 | line-style:solid 193 | border-style:solid 194 | border-color:#D1992F 195 | border-width:25% 196 | draw:text 197 | draw:line 198 | target:way 199 | define 200 | min-zoom:13 201 | line-width:13:1;16:3 202 | line-color:white 203 | line-style:solid 204 | border-style:solid 205 | border-color:black white 60% 206 | border-width:20% 207 | draw:line 208 | target:mainstreet 209 | define 210 | min-zoom:11 211 | line-width:11:2;15:2;16:5 212 | line-color:white 213 | line-style:solid 214 | border-style:solid 215 | border-color:black white 60% 216 | border-width:20% 217 | draw:line 218 | define 219 | min-zoom:16 220 | draw:text 221 | define 222 | min-zoom:11 223 | text:ref 224 | text-halo-width:0 225 | font-size:9 226 | font-weight:bold 227 | shape:square 228 | shield-resize-mode:free 229 | shield-padding-left:4 230 | shield-padding-right:3 231 | shield-padding-top:2 232 | shield-padding-bottom:2 233 | line-width:1 234 | fill-color:white 235 | line-color:white black 60% 236 | draw:shield 237 | target:street 238 | define 239 | min-zoom:12 240 | max-zoom:13 241 | line-width:0.5 242 | line-style:solid 243 | line-color:black white 60% 244 | line-opacity:0.2 245 | draw:line 246 | target:street 247 | define 248 | min-zoom:13 249 | line-width:13:1;14:1;15:2;16:5 250 | line-color:white 251 | line-style:solid 252 | border-style:solid 253 | border-color:black white 60% 254 | border-width:20% 255 | draw:line 256 | define 257 | min-zoom:16 258 | draw:text 259 | target:path 260 | define 261 | min-zoom:14 262 | line-width:14:0.5;15:1;16:2 263 | line-color:#EFA0A5 264 | line-style:dot 265 | border-style:none 266 | draw:line 267 | target:cycleway 268 | define 269 | min-zoom:14 270 | line-width:14:0.5;15:1;16:2 271 | line-color:gray 272 | line-style:dash 273 | line-opacity:0.6 274 | border-style:none 275 | draw:line 276 | target:steps 277 | define 278 | min-zoom : 16 279 | shape : custom 280 | shape-def : -1,1, -1,-1, 1,-1, 1,1;Z 281 | shape-spacing : 1 282 | shape-size : 16:1;20:3 283 | shape-aspect : 2 284 | fill-color : #EFA0A5 285 | line-style : none 286 | draw : shape 287 | target:rail 288 | define 289 | min-zoom : 11 290 | shape : custom 291 | shape-def : -1,1, -1,-1, 1,-1, 1,1;Z 292 | shape-spacing : 1 293 | shape-size : 11:1;16:3;20:6 294 | shape-aspect : 0.5 295 | fill-color:white 296 | line-style:none 297 | draw:shape 298 | target:rail 299 | define 300 | min-zoom : 11 301 | line-width:11:1;16:3;20:6 302 | line-color : gray 303 | line-opacity:0.5 304 | border-style : none 305 | draw:line 306 | //draw water on top of waterways 307 | target:water 308 | define 309 | fill-color:#CDE8FE 310 | line-style:none 311 | border-style:none 312 | draw:fill 313 | target:waterway 314 | define 315 | min-zoom:13 316 | line-width:13:1;14:1;15:2;16:3 317 | line-color:#9AC5EA 318 | line-style:solid 319 | draw:line 320 | draw:text 321 | target:green 322 | define 323 | fill-color:#C4E3C5 324 | line-style:none 325 | draw:fill 326 | target:hospital 327 | define 328 | fill-color:#BACECE 329 | line-style:none 330 | draw:fill 331 | target:building 332 | define 333 | fill-color:black 334 | line-style:none 335 | fill-opacity:20% 336 | draw:fill 337 | define 338 | min-zoom:15 339 | draw:text 340 | target:pedestrian 341 | define 342 | fill-color:black 343 | line-style:none 344 | fill-opacity:40% 345 | draw:fill 346 | target:parking 347 | define 348 | fill-color:#FFFEF2 349 | line-style:none 350 | draw:fill 351 | target:zoo 352 | define 353 | fill-color:#EAD7C3 354 | line-style:none 355 | draw:fill 356 | target:cemetery 357 | define 358 | fill-color:#D1DEBD 359 | line-style:none 360 | draw:fill 361 | target:military 362 | define 363 | fill-color:#FE8E8E 364 | line-style:none 365 | draw:fill 366 | target:housenumbers 367 | define 368 | min-zoom:17 369 | text:[[addr:housenumber]] 370 | text-halo-width:0 371 | text-color:black 372 | font-size:8 373 | draw:text 374 | -------------------------------------------------------------------------------- /UserRules/Neutralmap.mrules: -------------------------------------------------------------------------------- 1 | // origin: https://wiki.openstreetmap.org/wiki/User:Planemad/neutralmap 2 | 3 | // Neutralmap - Maperitive rule file 4 | // Style brief : To create a map style that is suitable as a base map for overlaying and highlighting data over it 5 | // Style preview : http://www.flickr.com/photos/arunganesh/5104440951/ 6 | // Author: Arun Ganesh http://wiki.openstreetmap.org/wiki/User:Planemad 7 | // 22 Oct 2010 - Still in development 8 | 9 | features 10 | lines 11 | railway : railway=rail OR service=spur OR service=siding OR railway=subway OR railway=narrow_gauge OR railway=construction 12 | waterway river : waterway=river OR waterway=canal 13 | waterway drain : waterway=drain 14 | aeroway : aeroway=runway OR aeroway=taxiway 15 | 16 | highway motorway : highway=motorway 17 | highway motorway link : highway=motorway_link 18 | highway trunk : highway=trunk 19 | highway trunk link: highway=trunk_link 20 | highway primary link : highway=primary_link 21 | highway primary : highway=primary 22 | highway secondary : highway=secondary 23 | highway tertiary : highway=tertiary 24 | highway unclassified : highway=unclassified 25 | highway residential : highway=residential OR highway=living_street 26 | highway road : highway=road 27 | highway service : highway=service 28 | highway pedestrian : highway=pedestrian 29 | highway track : highway=track 30 | highway footway : highway=footway 31 | // highway cycleway : highway=cycleway 32 | highway path : highway=path 33 | // highway private : access=private AND highway 34 | highway steps : highway=steps 35 | route ferry : route=ferry 36 | 37 | boundary country : boundary=administrative AND (admin_level=2 OR admin_level=4) 38 | boundary province : boundary=administrative AND (admin_level=6) 39 | boundary municipal : boundary=administrative AND (admin_level=8) 40 | 41 | contours major : contour[elevation_multiplier=50] 42 | contours minor : contour[elevation_multiplier=10 and not elevation_multiplier=50] 43 | 44 | areas 45 | water : natural=water OR waterway=riverbank OR landuse=reservoir OR natural=wetland 46 | forest : landuse=forest OR natural=wood 47 | leisure : leisure=park OR leisure=playground OR tourism=zoo OR leisure=golf_course OR leisure=common OR landuse=farm OR landuse=farmland OR leisure=nature_reserve 48 | 49 | graveyard : amenity=grave_yard OR landuse=cemetery 50 | 51 | landuse hospital : amenity=hospital 52 | landuse academic : amenity=university OR amenity=college OR amenity=school 53 | landuse retail : landuse=retail 54 | landuse industrial : landuse=industrial OR landuse=railway OR aeroway=aerodrome OR landuse=military OR military=airfield 55 | landuse commercial : landuse=commercial 56 | landuse residential : landuse=residential 57 | 58 | aeroway apron: aeroway=apron 59 | 60 | building : building=yes OR aeroway=terminal 61 | 62 | land : natural=island OR natural=land OR place=island 63 | place : place=town OR place=city 64 | 65 | points 66 | rail station : railway=station 67 | place city : place=city 68 | place town : place=town 69 | place village : place=village 70 | place hamlet : place=hamlet 71 | place suburb : place=suburb 72 | 73 | properties 74 | map-background-color: #ddd 75 | map-background-opacity: 1 76 | map-sea-color : white 77 | font-weight : bold 78 | font-family : Verdana 79 | text-max-width : 7 80 | text-halo-width : 25% 81 | text-halo-opacity : 0.75 82 | text-align-horizontal : center 83 | text-align-vertical : center 84 | font-stretch : 0.9 85 | 86 | rules 87 | 88 | target : railway 89 | define 90 | line-color : #CCCCCC 91 | line-width : 1:0.1;10:0.2 92 | line-join : round 93 | border-style : solid 94 | border-color : #CCCCCC black 50% 95 | border-width : 25% 96 | draw : line 97 | 98 | 99 | 100 | 101 | target : $featuretype(point) 102 | if : place* 103 | define 104 | font-family : LTunivers 920 105 | font-weight : Bold 106 | if : *city 107 | define 108 | font-size : 6:8;14:20 109 | min-zoom : 6 110 | max-zoom : 14 111 | elseif : *town 112 | define 113 | font-size : 9:8;12:10;20:20 114 | min-zoom : 9 115 | elseif : *village 116 | define 117 | font-size : 12:10;20:20 118 | min-zoom : 12 119 | elseif : *hamlet 120 | define 121 | font-size : 14:8;20:16 122 | min-zoom : 14 123 | elseif : *suburb 124 | define 125 | font-size : 13:10;20:20 126 | min-zoom : 13 127 | text-color : white black 50% 128 | draw : text 129 | 130 | //roads 131 | target : highway* 132 | define 133 | font-size : 15:7;18:10 134 | font-weight : bold 135 | 136 | for : oneway=yes AND oneway=true 137 | define 138 | min-zoom : 15 139 | shape : custom 140 | shape-def : 60,0,20,-40,20,-15,-60,-15,-60,15,20,15,20,40;Z 141 | shape-size : 12 142 | shape-aspect : 0.75 143 | shape-spacing : 6 144 | fill-color : #6C70D4 145 | line-style : none 146 | for : oneway=-1 147 | define 148 | angle : 180 149 | draw : shape 150 | 151 | define 152 | line-style : solid 153 | line-join : round 154 | line-start-cap : round 155 | line-end-cap : round 156 | 157 | if : *motorway* 158 | if : *link 159 | define 160 | min-zoom : 11 161 | line-width : 7:1;12:2;13:3;16:4;18:5 162 | else 163 | define 164 | min-zoom : 5 165 | line-width : 7:1.5;13:3;15:4;18:6 166 | define 167 | line-color : #ffa824 168 | text-color : #ffa824 black 50% 169 | //text-halo-color: red 170 | text-halo-width : 50% 171 | text-halo-opacity : 0.75 172 | font-size : 8:8;20:20 173 | text : ref 174 | draw : text 175 | draw : line 176 | define 177 | min-zoom : 5 178 | max-zoom : 12 179 | border-style : none 180 | draw : line 181 | elseif : *trunk* 182 | define 183 | min-zoom : 7 184 | line-color : #FFc730 185 | line-width : 7:1;13:2;15:3;18:6 186 | border-style : solid 187 | border-color : #ff6633 black 20% 188 | border-width : 15% 189 | font-size : 8:8;20:20 190 | text : ref 191 | text-color : #ff6633 black 50% 192 | draw : text 193 | draw : line 194 | elseif : *primary* 195 | define 196 | min-zoom : 9 197 | line-color : #FFc730 198 | line-width : 11:0.1;13:0.5;15:2;18:4 199 | border-style : solid 200 | border-color : #FFc730 black 20% 201 | border-width : 15% 202 | text : ref 203 | draw : text 204 | draw : line 205 | elseif : *secondary 206 | define 207 | min-zoom : 11 208 | line-color : #ffeb47 209 | line-width : 11:0.1;13:0.5;15:2;18:4 210 | border-style : solid 211 | border-color : #ffeb47 black 20% 212 | border-width : 5% 213 | text : name 214 | draw : text 215 | draw : line 216 | elseif : *tertiary 217 | define 218 | min-zoom : 11 219 | line-color : #E0E0E0 black 10% 220 | line-width : 11:0.1;13:0.5;15:1;18:3 221 | text : none 222 | // border-style : solid 223 | // border-color : #FEFEB2 black 20% 224 | // border-width : 15% 225 | draw : line 226 | draw : text 227 | elseif : *service OR *pedestrian 228 | define 229 | min-zoom : 14 230 | line-color : #aaa 231 | line-width : 13:0.1;15:0.2;18:1 232 | draw : line 233 | 234 | elseif : $regex("(.*residential)|(.*unclassified)|(.*road)") 235 | define 236 | min-zoom : 11.5 237 | line-color : #aaa 238 | line-width : 13:0.1;15:0.5;18:2 239 | // border-style : none 240 | // border-color : #EAEAEA black 50% 241 | // border-width : 20% 242 | draw : line 243 | define 244 | min-zoom : 15 245 | max-zoom : 20 246 | draw : text 247 | elseif : $regex("(.*track)|(.*footway)|(.*path)|(.*steps)") 248 | define 249 | min-zoom : 14 250 | line-color : #aaa 251 | line-width : 13:0.1;15:0.2;18:1 252 | line-style : dash 253 | draw : line 254 | elseif : *cycleway 255 | define 256 | min-zoom : 13 257 | line-color : blue 258 | line-width : 1.5 259 | line-style : dot 260 | border-style : solid 261 | border-color : white 262 | border-width : 100% 263 | border-opacity : 0.3 264 | draw : line 265 | else 266 | stop 267 | 268 | target : route ferry 269 | define 270 | min-zoom : 9 271 | line-color : #EAEAEA 272 | line-width : 10:0.1;13:0.3;15:0.5;18:3 273 | line-style : dash 274 | draw : line 275 | 276 | target : aeroway 277 | define 278 | min-zoom : 10 279 | line-color : #CCCCCC 280 | line-width : 10:0.5;15:7 281 | line-join : round 282 | for: aeroway=taxiway 283 | define 284 | line-width : 10:0.1;15:4 285 | 286 | draw : line 287 | 288 | target : waterway* 289 | define 290 | min-zoom : 11 291 | line-color : white 292 | line-width : 1:1;14:3 293 | if : *drain 294 | define 295 | min-zoom : 12 296 | line-width: 2 297 | draw: line 298 | 299 | //contours 300 | target: contour* 301 | define 302 | line-color : #7f3300 303 | line-opacity : 0.2 304 | curved : true 305 | if : *major 306 | define 307 | min-zoom : 9 308 | line-width : 11:0.1;11.9:1;12:2 309 | else 310 | define 311 | min-zoom : 12 312 | line-width : 1 313 | draw : contour 314 | 315 | target : boundary* 316 | define 317 | line-color : #9E1A99 318 | line-opacity : 0.5 319 | if : boundary country 320 | define 321 | line-width : 6:1;9:3;10:6 322 | elseif : boundary province 323 | define 324 | min-zoom : 4 325 | line-width : 4:1;11:3 326 | line-style : dash 327 | elseif : boundary municipal 328 | define 329 | min-zoom : 12 330 | line-width : 12:1;14:2 331 | line-style : dash 332 | draw : line 333 | 334 | target : national park 335 | define 336 | fill-color : #8DC56C 337 | fill-opacity : 0.2 338 | line-style : none 339 | draw : fill 340 | define 341 | line-color : #8DC56C black 20% 342 | line-opacity : 0.5 343 | line-width : 3 344 | line-style : dash 345 | font-size : 3:3;12:12 346 | text-color : green 347 | font-weight : normal 348 | draw : line 349 | draw : text 350 | 351 | target : $featuretype(area) 352 | define 353 | fill-color : #F0F0F0 354 | line-color : red 355 | line-style : none 356 | line-width : 1 357 | if : building 358 | define 359 | min-zoom : 14 360 | fill-color:#e3dcc1 361 | 362 | if : forest 363 | define 364 | min-zoom : 5 365 | fill-color : #C5FF5B black 30% 366 | fill-opacity: 0.3 367 | if : $regex("(.*leisure)|(.*graveyard)") 368 | define 369 | min-zoom : 13 370 | fill-color : #C5FF5B black 10% 371 | fill-opacity: 0.2 372 | if : land 373 | define 374 | min-zoom : 7 375 | fill-color : #F5F5F5 376 | if : water 377 | define 378 | min-zoom : 7 379 | fill-color : white 380 | fill-opacity: 1 381 | for : natural=wetland 382 | define 383 | fill-opacity: 0.7 384 | 385 | if : aeroway apron 386 | define 387 | min-zoom : 13 388 | fill-color : #DDDDDD 389 | if : landuse* 390 | define 391 | min-zoom : 11 392 | fill-color : #F0F0F0 393 | if : place* 394 | define 395 | min-zoom : 11 396 | draw : fill 397 | define 398 | min-zoom : 17 399 | draw : text -------------------------------------------------------------------------------- /Rules/GoogleMaps.mrules: -------------------------------------------------------------------------------- 1 | // Maperitive rendering ruleset resembling Google Maps (as of February 2011) 2 | // http://maperitive.net 3 | 4 | // Created by Igor Brejc 5 | // Released under the Creative Commons Attribution-ShareAlike 3.0 License (http://creativecommons.org/licenses/by-sa/3.0/) 6 | // Updates by Michael 7 | // Icons used: Map icons CC-0 from SJJB Management (http://www.sjjb.co.uk/mapicons) 8 | 9 | // History: 10 | // -------- 11 | // 2011-07-26: Updated by Michael 12 | // - added icons for parks, parking, restaurants and railway 13 | // - added names for parks, restaurants 14 | // - added rendering of playground, sport, living_street and steps 15 | // - added path (thin solid line) and motorway (thicker orange line) rendering adjusted 16 | // - added special rendering for tunnels 17 | 18 | features 19 | points 20 | place city : place=city 21 | place town : place=town 22 | place village : place=village 23 | place hamlet : place=hamlet 24 | place suburb : place=suburb 25 | restaurant : @isOneOf(amenity,pub,fast_food,restaurant,bar) 26 | 27 | points, areas 28 | parking : amenity=parking 29 | railway station : railway=station 30 | park : leisure=park OR leisure=playground 31 | 32 | lines 33 | boundary country : boundary=administrative AND (admin_level=2 OR admin_level=4) AND NOT natural=coastline 34 | 35 | aeroway line runway : aeroway=runway 36 | aeroway line taxiway : aeroway=taxiway 37 | 38 | railway : railway=rail AND @isFalse(disused) AND NOT service=yard AND @isFalse(noexit) 39 | 40 | motorway : highway=motorway 41 | motorway link : highway=motorway_link 42 | major road : @isOneOf(highway, trunk, trunk_link, primary, primary_link, secondary, tertiary) 43 | minor road : @isOneOf(highway, unclassified, residential, service, living_street) OR (highway=track AND (@isOneOf(tracktype, grade1, grade2, grade3) OR NOT tracktype)) 44 | path : @isOneOf(highway, path, footway, pedestrian, steps) OR (highway=track AND @isOneOf(tracktype, grade4, grade5)) 45 | 46 | water line : waterway=stream OR waterway=river 47 | 48 | areas 49 | water : natural=water OR natural=wetland OR waterway=riverbank OR waterway=stream OR landuse=reservoir OR landuse=basin 50 | aeroway area : aeroway 51 | industrial : landuse=industrial 52 | residential area : landuse=residential 53 | hospital : amenity=hospital 54 | sport : sport 55 | forest : landuse=forest OR natural=wood 56 | cemetery : landuse=cemetery 57 | 58 | 59 | properties 60 | map-background-color : #F2EFE9 61 | map-background-opacity : 1 62 | map-sea-color : #99B3CC 63 | font-weight : bold 64 | font-family : Arial 65 | text-max-width : 7 66 | text-halo-width : 35% 67 | text-halo-opacity : 0.75 68 | text-align-horizontal : center 69 | text-align-vertical : center 70 | font-stretch : 0.9 71 | map.rendering.lflp.min-buffer-space : 5 72 | map.rendering.lflp.max-allowed-corner-angle : 40 73 | 74 | rules 75 | // icons 76 | target: park 77 | for : leisure=park 78 | define 79 | icon-image : icons/SJJB/png/landuse_coniferous.p.32.png 80 | min-zoom : 16 81 | icon-width : 16 82 | draw : icon 83 | target: hospital 84 | define 85 | icon-image : icons/SJJB/png/health_hospital.p.32.png 86 | min-zoom : 15 87 | icon-width : 16 88 | draw : icon 89 | target: railway station 90 | define 91 | icon-image : icons/SJJB/png/transport_train_station2.n.32.png 92 | min-zoom : 15 93 | icon-width : 16 94 | draw : icon 95 | target: restaurant 96 | define 97 | icon-image : icons/SJJB/png/food_restaurant.glow.32.png 98 | icon-width : 14 99 | min-zoom : 17 100 | for : amentiy=pub 101 | define 102 | icon-image : icons/SJJB/png/food_pub.glow.32.png 103 | for : amenity=bar 104 | define 105 | icon-image : icons/SJJB/png/food_bar.glow.32.png 106 | draw : icon 107 | // texts 108 | target : $featuretype(point) 109 | define 110 | text-halo-width : 25% 111 | if : place* 112 | define 113 | //font-weight : bold 114 | 115 | if : *city 116 | define 117 | font-size : 8:14;11:17;14:18 118 | min-zoom : 6 119 | max-zoom : 16 120 | elseif : *town 121 | define 122 | font-size : 8:10;11:15;20:18 123 | min-zoom : 8 124 | max-zoom : 16 125 | elseif : *suburb 126 | define 127 | font-size : 13:10;20:20 128 | min-zoom : 11 129 | text-color : white black 50% 130 | elseif : *village 131 | define 132 | font-size : 12:10;20:20 133 | min-zoom : 11 134 | elseif : *hamlet 135 | define 136 | font-size : 14:8;20:16 137 | min-zoom : 14 138 | elseif : restaurant 139 | define 140 | text-align-horizontal : near 141 | text-offset-horizontal : 7 142 | font-size : 14:8;20:10 143 | font-weight : normal 144 | min-zoom : 17 145 | elseif : park 146 | define 147 | text-align-horizontal : near 148 | text-offset-horizontal : 7 149 | font-size : 14:8;20:10 150 | font-weight : normal 151 | min-zoom : 16 152 | else 153 | stop 154 | draw : text 155 | 156 | // lines 157 | 158 | target : boundary* 159 | define 160 | line-color : #818181 161 | line-width : 2 162 | border-style : solid 163 | border-color : #818181 164 | border-width : 110% 165 | border-opacity : 0.4 166 | draw : line 167 | 168 | target : aeroway line* 169 | define 170 | min-zoom : 9 171 | line-color : #9D9595 172 | if : aeroway line runway 173 | define 174 | line-width : 9:1;10:1;11:2;13:6;15:20 175 | else 176 | define 177 | line-width : 9:1;11:1;13:3;15:10 178 | draw : line 179 | 180 | target : railway 181 | define 182 | min-zoom : 13 183 | line-color : #a1a1a1 184 | line-width : 2 185 | draw : line 186 | define 187 | min-zoom : 13 188 | line-style : dashlong 189 | line-color : white 190 | line-width : 1 191 | border-style : solid 192 | border-color : #a1a1a1 193 | border-width : 25% 194 | draw : line 195 | define 196 | min-zoom : 6 197 | max-zoom : 13 198 | line-style : solid 199 | border-style : none 200 | line-color : #a1a1a1 201 | line-width : 1 202 | draw : line 203 | 204 | target : motorway 205 | define 206 | line-width : 7:1;13:3;15:10 207 | min-zoom : 7 208 | line-color : #fd923a 209 | border-style : solid 210 | border-color : #FFC345 black 20% 211 | border-width : 20% 212 | for : tunnel=yes 213 | define 214 | border-style : dot 215 | draw : line 216 | 217 | define 218 | min-zoom : 7 219 | text : ref 220 | text-halo-width : 0 221 | text-color : white 222 | font-size : 9 223 | font-weight : bold 224 | shape : custom 225 | shape-def : m:-10,-10;l:0,-14,10,-10,10,10,0,14,-10,10;z 226 | shield-resize-mode : free 227 | shield-padding-left : 6 228 | shield-padding-right : 6 229 | shield-padding-top : 2 230 | shield-padding-bottom : 1 231 | fill-color : #7488dd 232 | line-color : #7488dd black 20% 233 | line-width : 1 234 | draw : shield 235 | 236 | target : motorway link 237 | define 238 | line-width : 7:1;13:2;15:3 239 | min-zoom : 10 240 | line-color : #ffe068 241 | border-style : solid 242 | border-color : #ffe068 black 20% 243 | border-width : 50% 244 | for : tunnel=yes 245 | define 246 | border-style : dot 247 | draw : line 248 | 249 | target : major road 250 | define 251 | min-zoom : 8 252 | line-color : #fffd8b 253 | line-width : 10:1;13:2;14:3;15:4;18:12 254 | border-style : solid 255 | border-color : #fffd8b black 20% 256 | border-width : 1 257 | 258 | for : highway=tertiary 259 | define 260 | min-zoom : 11 261 | for : tunnel=yes 262 | define 263 | border-style : dot 264 | draw : line 265 | 266 | for : highway=primary 267 | define 268 | min-zoom : 11.5 269 | text : ref 270 | text-halo-width : 0 271 | font-size : 9 272 | font-weight : bold 273 | shape : square 274 | shield-resize-mode : free 275 | shield-padding-left : 4 276 | shield-padding-right : 3 277 | shield-padding-top : 1 278 | shield-padding-bottom : -1 279 | fill-color : #fff973 280 | line-color : #fd923a 281 | line-width : 1 282 | draw : shield 283 | 284 | define 285 | text:name 286 | min-zoom : 13 287 | font-size : 13:9.5 288 | font-weight : normal 289 | text-halo-color : #fffd8b 290 | draw : text 291 | 292 | target : minor road 293 | define 294 | min-zoom : 10.5 295 | max-zoom : 13.1 296 | border-style : none 297 | line-color : #D4CCB8 298 | line-width : 1 299 | draw : line 300 | define 301 | min-zoom : 13.1 302 | max-zoom : 20 303 | line-color : white 304 | line-width : 13:1.5;14:2.5;15:5;16:10 305 | border-style : solid 306 | border-color : #D4CCB8 307 | border-width : 1 308 | line-end-cap: round 309 | for : tunnel=yes 310 | define 311 | border-style : dot 312 | draw : line 313 | define 314 | min-zoom : 15 315 | max-zoom : 20 316 | font-size : 13:10 317 | font-stretch : 0.85 318 | draw : text 319 | target : *road 320 | for : oneway=yes OR oneway=true 321 | define 322 | min-zoom : 15 323 | shape : custom 324 | shape-def : 60,0,20,-40,20,-15,-60,-15,-60,15,20,15,20,40;Z 325 | shape-size : 12 326 | shape-aspect : 1 327 | shape-spacing : 10 328 | fill-color : #cccccc 329 | line-style : none 330 | for : oneway=-1 331 | define 332 | angle : 180 333 | draw : shape 334 | target : path 335 | define 336 | min-zoom : 14.5 337 | max-zoom : 20 338 | line-color : #F8F6EF 339 | border-style : solid 340 | border-width : 1 341 | border-color : #D4CCB8 342 | line-width : 14:1;15:1;15.5:4 343 | for : tunnel=yes 344 | define 345 | border-style : dot 346 | draw : line 347 | 348 | target : water line 349 | define 350 | min-zoom : 10 351 | line-color : #A5BFDD 352 | line-width : 14:1;16:5;20:10 353 | draw : line 354 | 355 | // landuse 356 | 357 | target : $featuretype(area) 358 | define 359 | line-style : none 360 | line-width : 1 361 | if : water 362 | define 363 | fill-color : #A5BFDD 364 | elseif : aeroway area 365 | define 366 | fill-color : #d1d0cd 367 | elseif : industrial 368 | define 369 | fill-color : #d1d0cd 370 | elseif : residential area 371 | define 372 | fill-color : #EBE6DC 373 | elseif : hospital 374 | define 375 | fill-color : #e5c6c3 376 | elseif : park 377 | define 378 | fill-color : #b5d29c 379 | elseif : sport 380 | define 381 | fill-color : #d5e1dc 382 | elseif : cemetery 383 | define 384 | fill-color : #d1d0cd 385 | elseif : forest 386 | define 387 | min-zoom : 9 388 | fill-color : #CBD8C3 389 | else 390 | stop 391 | draw : fill 392 | 393 | define 394 | font-weight : normal 395 | text-halo-width : 20% 396 | text-halo-opacity : 0.9 397 | if : water 398 | define 399 | min-zoom : 12 400 | font-size : 12:10;20:20 401 | elseif : hospital 402 | define 403 | min-zoom : 13 404 | font-size : 10 405 | text-color : #e5c6c3 black 70% 406 | text-align-horizontal : near 407 | text-offset-horizontal : 100% 408 | // elseif : cemetery 409 | // define 410 | // min-zoom : 13 411 | // font-size : 12:10;20:20 412 | // text-color : #d1d0cd black 50% 413 | else 414 | stop 415 | draw : text 416 | -------------------------------------------------------------------------------- /Rules/Hiking.mrules: -------------------------------------------------------------------------------- 1 | // Maperitive rendering ruleset for hiking maps. The map style resembles 2 | // that of paper hiking maps produced by Alpine Association of Slovenia (http://www.pzs.si/). 3 | // http://maperitive.net 4 | 5 | // Created by Igor Brejc 6 | // Released under the Creative Commons Attribution-ShareAlike 3.0 License (http://creativecommons.org/licenses/by-sa/3.0/) 7 | // Icons used: Map icons CC-0 from SJJB Management (http://www.sjjb.co.uk/mapicons) 8 | 9 | // History: 10 | // -------- 11 | // 2011-11-26: Updated by Igor Brejc 12 | // - made a finer distinction between major and minor contour lines (now that Maperitive supports subpixel accuracy) 13 | // 2011-09-20: Updated by Igor Brejc 14 | // - turned off forest texture 15 | // - moved alpine hut in front of peaks 16 | // - added rendering of living_street, highway=construction and (railway|public_transport)=platform 17 | // - added special rendering for tunnels 18 | 19 | // TODO (stuff still missing, will be added soon) 20 | // join all hiking paths 21 | // natural reserve 22 | // bus stop "icons/SJJB/png/transport_bus_stop.glow.32.png" 23 | // parking "icons/SJJB/png/transport_parking.n.32.png" 24 | // hunting stand 25 | // viewpoint "icons/SJJB/png/tourist_view_point.p.32.png" 26 | // hiking routes (SLO) 27 | // surface unpaved 28 | // marsh 29 | // border 30 | // tower 31 | // quarry 32 | // ruins 33 | // church - icon 34 | // camping 35 | // mountain hut 36 | // barrier 37 | // ditch 38 | // bench 39 | // information table 40 | // guidepost 41 | 42 | features 43 | church : amenity=place_of_worship AND (religion=christian OR religion=Christian) 44 | food : amenity=restaurant OR amenity=fast_food OR tourism=guest_house 45 | alpine hut : tourism=alpine_hut 46 | shelter : amenity=shelter 47 | place : node[place OR landuse=farmyard] area[place OR landuse=farmyard] 48 | railway station : railway=station 49 | 50 | points 51 | peak : natural=peak 52 | power tower : @isOneOf(power, tower, pole, station, sub_station) 53 | fountain: natural=spring or amenity=fountain or man_made=water_well 54 | fountain drinkingwater: amenity=drinking_water or drinking_water=yes 55 | 56 | lines 57 | aerialway : aerialway 58 | contour major : contour[@isMulti(elevation, 50)] 59 | contour minor : contour[@isMulti(elevation, 10) and not @isMulti(elevation, 50)] 60 | hiking route : relation[type=route route=foot] way[trailblazed=yes] 61 | // hiking route major : relation[type=route route=foot @isOneOf(network, iwn, nwn)] 62 | // hiking route minor : relation[type=route route=foot @isOneOf(network, rwn, lwn)] 63 | // hiking route other : trailblazed=yes 64 | foot path major : @isOneOf(highway,pedestrian,footway,path,steps) AND (NOT trail_visibility OR @isOneOf(trail_visibility, excellent, good)) 65 | foot path minor : @isOneOf(highway,pedestrian,footway,path,steps) AND (trail_visibility AND NOT @isOneOf(trail_visibility, excellent, good)) 66 | road major : @isOneOf(highway,motorway,motorway_link,trunk,trunk_link,primary,primary_link,secondary,secondary_link,tertiary) 67 | road minor : @isOneOf(highway,residential,unclassified,living_street,construction,service) 68 | track major: highway=track and (@isOneOf(tracktype,grade1,grade2) OR NOT tracktype) 69 | track : highway=track 70 | railway : railway=rail 71 | power line : @isOneOf(power, line, minor_line) 72 | stream : waterway=stream or waterway=river 73 | 74 | areas 75 | building : building=yes 76 | residential : landuse=residential 77 | forest : landuse=forest OR natural=wood OR leisure=park 78 | water : natural=water OR waterway=riverbank OR landuse=reservoir OR landuse=basin 79 | nature reserve : boundary=national_park OR boundary=protected_area OR leisure=nature_reserve 80 | military : landuse=military OR military=danger_area 81 | 82 | properties 83 | curved : true 84 | text-halo-width : 30% 85 | text-halo-opacity : 0.75 86 | map-background-color : #fffefd 87 | 88 | rules 89 | target : place 90 | for : place=city 91 | define 92 | min-zoom : 8 93 | max-zoom : 14 94 | font-size : 8:12;10:16;14:20 95 | elsefor : place=town 96 | define 97 | min-zoom : 10 98 | font-size : 10:12;16:20 99 | elsefor : place=village 100 | define 101 | min-zoom : 13 102 | font-size : 13:10;16:20 103 | elsefor : place=hamlet 104 | define 105 | min-zoom : 14.5 106 | font-size : 14.5:10;16:16 107 | elsefor : place=farm OR landuse=farmyard 108 | define 109 | min-zoom : 15 110 | font-size : 15:8;16:14 111 | else 112 | stop 113 | define 114 | font-weight : bold 115 | text : @up(name) 116 | draw : text 117 | 118 | target: alpine hut 119 | define 120 | icon-image : icons/SJJB/png/accommodation_alpinehut.glow.32.png 121 | icon-width : 11:16;14:34 122 | min-zoom : 11 123 | draw : icon 124 | define 125 | font-family : Arial Black 126 | font-weight : bold 127 | font-size : 13:13;20:24 128 | font-stretch : 0.7 129 | min-zoom : 13 130 | text-align-vertical : near 131 | text-offset-vertical : 100% 132 | draw : text 133 | 134 | target : peak 135 | define 136 | fill-color : black 137 | line-style : none 138 | min-zoom : 11 139 | shape : circle 140 | shape-size : 11:3;15:8 141 | draw : shape 142 | define 143 | font-family : Cambria 144 | font-style : italic 145 | font-weight : bold 146 | font-size : 13:10;15:20 147 | min-zoom : 13 148 | text : @if(name, name @if(ele, "\n(" ele ")"), ele) 149 | text-align-vertical : near 150 | text-color : black 151 | text-max-width : 15 152 | text-offset-vertical : 50% 153 | text-halo-width : 30% 154 | text-halo-opacity : 0.75 155 | draw : text 156 | 157 | target: shelter 158 | define 159 | icon-image : icons/SJJB/png/accommodation_shelter2.n.32.png 160 | icon-width : 14:16;15:24 161 | min-zoom : 14 162 | draw : icon 163 | 164 | target: food 165 | define 166 | icon-image : icons/SJJB/png/food_restaurant.n.32.png 167 | icon-width : 14:16;20:30 168 | min-zoom : 14 169 | draw : icon 170 | define 171 | font-family : Arial 172 | font-weight : bold 173 | font-size : 14:12;20:20 174 | font-stretch : 0.8 175 | min-zoom : 15.5 176 | text-align-vertical : near 177 | text-offset-vertical : 100% 178 | draw : text 179 | 180 | target: church 181 | define 182 | icon-image : icons/SJJB/png/place_of_worship_christian3.glow.32.png 183 | icon-width : 14:16;20:30 184 | min-zoom : 14 185 | draw : icon 186 | define 187 | font-family : Arial 188 | font-weight : bold 189 | font-size : 14:10;20:20 190 | min-zoom : 15 191 | text-align-vertical : near 192 | text-offset-vertical : 100% 193 | draw : text 194 | 195 | target : railway station 196 | define 197 | min-zoom : 11 198 | shape : square 199 | shape-size : 11:0;13:4;15:20 200 | fill-color : white 201 | draw : shape 202 | 203 | target: fountain* 204 | define 205 | min-zoom:14 206 | shape : custom 207 | shape-def : m:15,15;a:15,15,30,0;m:0,0;a:15,15,15,15 208 | shape-size : 14:3;18:80 209 | shape-aspect : 2 210 | line-color : #00f 211 | line-width : 14:1;18:3 212 | draw : shape 213 | target: fountain drinkingwater 214 | define 215 | min-zoom:14 216 | shape:circle 217 | shape-size : 14:3;18:8 218 | line-color : #00f 219 | line-width : 14:1;18:3 220 | fill-color : transparent 221 | draw : shape 222 | 223 | target : power tower 224 | define 225 | min-zoom : 15.5 226 | shape : square 227 | shape-size : 16:7;20:12 228 | fill-color : black 229 | line-style : none 230 | for : power=pole 231 | define 232 | shape-size:16:3;20:4 233 | draw : shape 234 | 235 | // lines 236 | 237 | target : aerialway 238 | define 239 | shape-size : 12:2;16:6 240 | shape-spacing : 11:1;13:4;14:6 241 | for : aerialway=cable_car OR aerialway=gondola 242 | define 243 | min-zoom : 12.5 244 | fill-color : white 245 | line-width : 13:2;15:3 246 | elsefor : aerialway=chair_lift 247 | define 248 | min-zoom : 13.5 249 | fill-color : black 250 | line-width : 13:1;14:2 251 | else 252 | define 253 | min-zoom : 14 254 | fill-color : black 255 | line-width : 13:1;14:2 256 | draw : line 257 | define 258 | line-width : 2 259 | draw : shape 260 | 261 | target : power line 262 | define 263 | curved : false 264 | min-zoom : 15.5 265 | line-width : 1 266 | draw : line 267 | 268 | target: hiking route* 269 | define 270 | line-color : red 271 | line-opacity : 0.8 272 | line-offset : 14:0;15:3;16:5 273 | line-offset-sides : left 274 | for : network=nwn 275 | define 276 | min-zoom : 10 277 | line-width : 10:1;11:2;15:7 278 | else 279 | define 280 | min-zoom : 12 281 | line-width : 11:1;14:2;15:4 282 | draw : line 283 | 284 | target: hiking path 285 | define 286 | min-zoom : 12 287 | line-color : red 288 | line-opacity : 0.8 289 | line-width : 11:1;14:2;15:4 290 | line-offset : 14:0;15:3;16:5 291 | line-offset-sides : left 292 | line-style : dash 293 | draw : line 294 | 295 | target : railway 296 | define 297 | line-width : 9:1;10:2;13:2;14:3 298 | draw : line 299 | 300 | target : road * 301 | if : road major 302 | define 303 | min-zoom : 10 304 | line-color : #FFE66B 305 | else 306 | define 307 | min-zoom : 14 308 | line-color : white 309 | define 310 | line-width : 10:0.5;13:2;14:2;16:3 311 | border-style : solid 312 | border-color : black 313 | border-width : 80% 314 | border-opacity : 0.8 315 | draw : line 316 | 317 | target : road minor 318 | define 319 | min-zoom : 10 320 | max-zoom : 14 321 | line-color : black 322 | line-width : 1 323 | border-style : none 324 | draw : line 325 | 326 | target : track major 327 | define 328 | min-zoom : 14 329 | line-color : white 330 | line-width : 13.9:1;14:2;16:3 331 | border-style : solid 332 | border-color : black 333 | border-width : 60% 334 | border-opacity : 0.8 335 | draw : line 336 | define 337 | min-zoom : 12 338 | max-zoom : 14 339 | line-color : black 340 | line-width : 1 341 | border-style : none 342 | draw : line 343 | 344 | target : track minor 345 | define 346 | min-zoom : 14.5 347 | line-color : white 348 | line-width : 13.9:1;14:2;16:3 349 | border-style : solid 350 | border-color : black 351 | border-width : 60% 352 | border-opacity : 0.8 353 | for : tracktype=grade1 or not tracktype 354 | define 355 | line-style : solid 356 | for : tracktype=grade2 357 | define 358 | line-style: dashlong 359 | for : tracktype=grade3 360 | define 361 | line-style: dash 362 | for : tracktype=grade4 363 | define 364 | line-style: dashdot 365 | for : tracktype=grade5 366 | define 367 | line-style: dashdotdot 368 | for : tunnel=yes 369 | define 370 | border-style : dot 371 | for : bridge=yes 372 | define 373 | border-color : #000 374 | draw : line 375 | 376 | target : foot path* 377 | define 378 | line-color : black 379 | line-style : dash 380 | border-style : none 381 | if : *major 382 | define 383 | min-zoom : 14.5 384 | line-width : 14.5:1;15.5:2 385 | else 386 | define 387 | min-zoom : 15 388 | line-width : 1 389 | draw : line 390 | 391 | target : stream 392 | define 393 | min-zoom : 13 394 | line-color : #78C1C1 395 | line-width : 13:1;14:2;16:3 396 | draw : line 397 | define 398 | min-zoom : 15 399 | font-size : 15:10;17:17 400 | font-style : italic 401 | font-weight : bold 402 | text-color : #78C1C1 black 10% 403 | map.rendering.lflp.min-buffer-space : 5 404 | map.rendering.lflp.max-allowed-corner-angle : 90 405 | draw : text 406 | 407 | target: contour* 408 | define 409 | line-color : #7f3300 410 | line-opacity : 0.6 411 | curved : true 412 | if : *major 413 | define 414 | map.rendering.contour.label : true 415 | min-zoom : 12 416 | line-width : 11:0.75;13:1.25;15:2 417 | font-size : 10 418 | font-style : italic 419 | font-weight : normal 420 | text-halo-width : 35% 421 | text-halo-opacity : 1 422 | text-halo-color : #F1EEE8 423 | else 424 | define 425 | min-zoom : 13 426 | line-width : 0.65 427 | draw : contour 428 | 429 | // areas 430 | 431 | target : building 432 | define 433 | fill-color : black 434 | line-style : none 435 | min-zoom : 12 436 | draw : fill 437 | 438 | target : nature_reserve 439 | define 440 | line-color : #8DC56C black 20% 441 | line-opacity : 1 442 | line-width : 3 443 | line-style : dash 444 | font-size : 3:3;12:12 445 | text-color : green 446 | font-weight : normal 447 | text : @up(name) 448 | draw : line 449 | define 450 | min-zoom : 13.5 451 | draw : text 452 | 453 | target : military 454 | define 455 | fill-color : red 456 | fill-hatch : swne 457 | fill-hatch-color : white 458 | fill-hatch-opacity : 0 459 | line-style : none 460 | draw : fill 461 | 462 | target : water 463 | define 464 | line-style : none 465 | line-width : 1 466 | fill-color : #78C1C1 white 10% 467 | draw : fill 468 | define 469 | min-zoom : 15 470 | font-size : 15:10;17:17 471 | font-style : italic 472 | font-weight : bold 473 | text-color : #78C1C1 black 10% 474 | draw : text 475 | 476 | target : forest 477 | define 478 | line-style : none 479 | line-width : 1 480 | min-zoom : 9 481 | fill-color : #8DC56C white 60% 482 | //fill-texture : Textures/ForestNoiseLight.jpg 483 | draw : fill 484 | define 485 | min-zoom : 17 486 | draw : text 487 | 488 | target : residential 489 | define 490 | line-style : none 491 | line-width : 1 492 | fill-color : #DCDCDC white 30% 493 | draw : fill 494 | define 495 | min-zoom : 17 496 | draw : text 497 | 498 | -------------------------------------------------------------------------------- /UserRules/Chris49N.mrules: -------------------------------------------------------------------------------- 1 | // origin: https://wiki.openstreetmap.org/wiki/User:Chris49N 2 | 3 | //Maperitive Rules by chris49N: 4 | 5 | features 6 | points, areas 7 | tram stop : railway=tram_stop 8 | station : railway=station 9 | mini roundabout : highway=mini_roundabout 10 | church : amenity=place_of_worship AND religion=christian 11 | tourism viewpoint : tourism=viewpoint 12 | 13 | areas 14 | sight : area[@isOneof(tourism,attraction,museum)] 15 | landmark : building=yes AND tourism=yes 16 | attraction : building=yes AND tourism=attraction 17 | public building : area [@isOneof(amenity, library, university, college, school, hospital, arts_centre, community_centre, theatre, courthouse, embassy, public_building, townhall)] 18 | railway station building : railway=station AND building=yes 19 | water : natural=water OR waterway=riverbank OR landuse=reservoir OR landuse=basin 20 | land : natural=land 21 | village green : landuse=village_green 22 | forest : landuse=forest OR natural=wood 23 | farm : landuse=farm 24 | grass : landuse=grass 25 | fell : natural=fell 26 | glacier : natural=glacier 27 | national park : boundary=national_park 28 | allotments : landuse=allotments 29 | meadow : natural=meadow OR landuse=meadow 30 | nature reserve : leisure=nature_reserve 31 | playground : leisure=playground 32 | track : leisure=track 33 | graveyard : amenity=grave_yard OR landuse=cemetery 34 | military : landuse=military OR military=barracks 35 | park : leisure=park 36 | leisure garden : leisure=garden 37 | leisure pitch : leisure=pitch 38 | leisure stadium : leisure=stadium 39 | aeroway apron : aeroway=apron 40 | aeroway terminal : aeroway=terminal 41 | pedestrian : highway=pedestrian 42 | 43 | lines 44 | oneway : oneway=yes OR oneway=true OR oneway=-1 45 | coastline : natural=coastline 46 | river : waterway=river 47 | stream : waterway=stream 48 | canal : waterway=canal 49 | drain : waterway=drain 50 | railway : railway=rail 51 | tram : railway=tram 52 | subway : railway=subway 53 | line barrier : barrier=wall OR barrier=fence 54 | highway motorway : highway=motorway 55 | highway motorway link : highway=motorway_link 56 | highway trunk : highway=trunk 57 | highway trunk link: highway=trunk_link 58 | highway primary link : highway=primary_link 59 | highway primary : highway=primary 60 | highway secondary : highway=secondary 61 | highway tertiary : highway=tertiary 62 | highway unclassified : highway=unclassified 63 | highway residential : highway=residential 64 | highway service : highway=service 65 | highway pedestrian : highway=pedestrian 66 | highway track : highway=track 67 | highway footway : highway=footway 68 | highway cycleway : highway=cycleway 69 | highway path : highway=path 70 | highway livingstreet : highway=living_street 71 | highway steps : highway=steps 72 | bridge foot : bridge=yes AND (foot=yes OR highway=footway) 73 | historic citywalls : historic=citywalls OR historic=city_wall 74 | 75 | aeroway runway : aeroway=runway 76 | aeroway taxiway : aeroway=taxiway 77 | 78 | boundary country : boundary=administrative AND (admin_level=2 OR admin_level=4) 79 | boundary province : boundary=administrative AND admin_level=6 80 | boundary municipal : boundary=administrative AND admin_level=8 81 | 82 | contour major : contour[@isMulti(elevation, 50)] 83 | contour minor : contour[@isMulti(elevation, 10) and not @isMulti(elevation, 50)] 84 | 85 | properties 86 | map-background-color : #fff2e0 87 | map-background-opacity : 1 88 | map-sea-color : #B5D0D0 89 | font-weight : bold 90 | font-family : Verdana 91 | text-max-width : 7 92 | text-halo-width : 25% 93 | text-halo-opacity : 0.75 94 | text-align-horizontal : center 95 | text-align-vertical : center 96 | text-color : #0099ff 97 | font-stretch : 0.9 98 | map.rendering.lflp.min-buffer-space : 5 99 | map.rendering.lflp.max-allowed-corner-angle : 40 100 | 101 | rules 102 | target : playground 103 | define 104 | fill-color : #CCFEF0 105 | line-style : none 106 | draw : fill 107 | define 108 | line-color : #ADCCB5 109 | line-width : 1 110 | draw : line 111 | define 112 | min-zoom : 17 113 | draw : text 114 | 115 | //**********BUILDINGS*************** 116 | 117 | target : building 118 | define 119 | fill-color : #ffd9bf 120 | line-style : none 121 | line-width : 0 122 | target : public building 123 | define 124 | fill-color : #ffd9bf 125 | line-style : none 126 | line-width : 0 127 | draw : fill 128 | draw : text 129 | target : landmark 130 | define 131 | fill-color : #ffd9bf 132 | line-style : none 133 | line-width : 0 134 | draw : fill 135 | draw : text 136 | target : attraction 137 | define 138 | fill-color : #ffd9bf 139 | line-style : none 140 | line-width : 0 141 | draw : fill 142 | draw : text 143 | target : sight 144 | define 145 | fill-color : #ffd9bf 146 | line-style : none 147 | line-width : 0 148 | draw : fill 149 | draw : text 150 | target : railway station building 151 | define 152 | fill-color : #ffd9bf 153 | line-style : none 154 | line-width : 0 155 | draw : fill 156 | draw : text 157 | target : campus 158 | define 159 | line-style : none 160 | //fill-color : #ffd9bf 161 | draw : text 162 | target : leisure pitch 163 | define 164 | fill-color : white 165 | fill-opacity : 0 166 | line-style : solid 167 | line-width : 1.5 168 | line-color : #B1B1B1 black 20% 169 | target : leisure stadium 170 | define 171 | fill-color : white 172 | fill-opacity : 0 173 | line-style : solid 174 | line-width : 1.5 175 | line-color : #B1B1B1 black 20% 176 | 177 | target : $featuretype(area) 178 | define 179 | line-style : none 180 | line-width : 0 181 | 182 | //*****************landuse**************************** 183 | 184 | if : forest 185 | define 186 | min-zoom : 9 187 | fill-color : #8DC56C 188 | elseif : pedestrian 189 | define 190 | line-style : none 191 | fill-color : #f2f7f7 192 | //line-width : 2 193 | //line-color : #B1B1B1 black 20% 194 | min-zoom : 13 195 | elseif : farm 196 | define 197 | min-zoom : 9 198 | fill-color : #E9D8BD 199 | elseif : fell 200 | define 201 | fill-color : #C5FF5B black 10% 202 | elseif : land 203 | define 204 | fill-color : #fff2e0 205 | elseif : water 206 | define 207 | fill-color : #c2efff 208 | elseif : residential area 209 | define 210 | fill-color : #DCDCDC 211 | elseif : grass 212 | define 213 | fill-color : #CFECA8 214 | elseif : allotments 215 | define 216 | fill-color : #C8B084 217 | elseif : meadow 218 | define 219 | fill-color : #CFECA8 220 | elseif : nature reserve 221 | define 222 | fill-color : #ABDE96 223 | elseif : car park 224 | define 225 | fill-color : #F6EEB7 226 | elseif : park 227 | define 228 | //fill-color : #C0F6B0 229 | fill-color : #c4efbf 230 | draw : text 231 | elseif : leisure garden 232 | define 233 | //fill-color : #CFECA8 234 | fill-color : #c4efbf 235 | elseif : graveyard 236 | define 237 | //fill-color : #A9CAAE 238 | fill-color : #c4efbf 239 | elseif : track 240 | define 241 | fill-color : #74DCBA 242 | elseif : village green 243 | define 244 | fill-color : #CFECA8 245 | elseif : landuse retail 246 | define 247 | fill-color : #F0D9D9 248 | line-color : #F4A19E 249 | draw : line 250 | elseif : landuse industrial 251 | define 252 | fill-color : #DFD1D6 253 | elseif : commercial area 254 | define 255 | fill-color : #EFC8C8 256 | elseif : military 257 | define 258 | fill-color : #FE9898 259 | elseif : aeroway* 260 | define 261 | fill-color : #E9D1FE 262 | elseif : glacier 263 | define 264 | fill-color : #DDECEC 265 | line-style : dash 266 | line-color : #DDECEC black 10% 267 | else 268 | stop 269 | draw : fill 270 | define 271 | min-zoom : 17 272 | draw : text 273 | 274 | target : aeroway runway 275 | define 276 | min-zoom : 11 277 | line-color : #BBBBCC 278 | line-width : 11:2;15:20 279 | draw : line 280 | 281 | target : aeroway taxiway 282 | define 283 | min-zoom : 11 284 | line-color : #BBBBCC 285 | line-width : 11:1;15:6 286 | draw : line 287 | 288 | target : glacier 289 | define 290 | min-zoom : 10 291 | text-color : #A3A3FE 292 | draw : text 293 | 294 | target : academic 295 | define 296 | fill-color : #ffd9bf 297 | line-style : none 298 | line-color : #E5D2CC 299 | line-width : 1 300 | draw : line 301 | //draw : text 302 | draw : fill 303 | 304 | target : boundary* 305 | define 306 | line-color : #9E1A99 307 | line-opacity : 0.5 308 | if : boundary country 309 | define 310 | line-width : 6:1;9:3;10:6 311 | elseif : boundary province 312 | define 313 | min-zoom : 4 314 | line-width : 4:1;11:3 315 | line-style : dash 316 | elseif : boundary municipal 317 | define 318 | min-zoom : 12 319 | line-width : 12:1;14:2 320 | line-style : dash 321 | draw : line 322 | 323 | target : national park 324 | define 325 | fill-color : #8DC56C 326 | fill-opacity : 0.2 327 | line-style : none 328 | draw : fill 329 | define 330 | line-color : #8DC56C black 20% 331 | line-opacity : 0.5 332 | line-width : 3 333 | line-style : dash 334 | font-size : 3:3;12:12 335 | text-color : green 336 | font-weight : normal 337 | draw : line 338 | draw : text 339 | 340 | target : peak 341 | define 342 | shape : triangle 343 | shape-size : 12 344 | fill-color : #D08F55 345 | line-style : none 346 | min-zoom : 11 347 | draw : shape 348 | define 349 | text : @if(name, name @if(ele, "\n(" ele ")"), ele) 350 | text-color : #ae4242 351 | min-zoom : 13 352 | font-size : 10 353 | text-max-width : 10 354 | text-offset-vertical : 1 355 | text-align-vertical : near 356 | draw : text 357 | 358 | target : railway 359 | define 360 | min-zoom : 13 361 | line-color : gray 362 | line-width : 2 363 | draw : line 364 | define 365 | min-zoom : 13 366 | line-style : dashlong 367 | line-color : white 368 | line-width : 2 369 | border-style : solid 370 | border-color : gray 371 | border-width : 25% 372 | draw : line 373 | define 374 | min-zoom : 6 375 | max-zoom : 13 376 | line-style : none 377 | line-color : white black 30% 378 | line-width : 6:1;8:1;12:1.5 379 | draw : line 380 | 381 | target : highway private 382 | define 383 | line-width : 4 384 | line-style : dash 385 | line-color : #F7D4D4 386 | draw : line 387 | 388 | target : station 389 | define 390 | min-zoom : 15 391 | shape : circle 392 | shape-size : 4 393 | //shape-def : 0,0; a:10,10,-10,-10; 394 | fill-color : #80bfff 395 | line-style : none 396 | font-size : 8 397 | text-offset-vertical : 1.2 398 | text-color : #80bfff 399 | draw : text 400 | draw : shape 401 | 402 | target : tram 403 | define 404 | min-zoom : 15 405 | line-width : 2 406 | line-style : solid 407 | line-color : red 408 | draw : line 409 | 410 | target : tram stop 411 | define 412 | min-zoom : 15 413 | shape : circle 414 | shape-size : 4 415 | //shape-def : 0,0; a:10,10,-10,-10; 416 | fill-color : red 417 | line-style : none 418 | font-size : 8 419 | text-offset-vertical : 1.2 420 | text-color : red 421 | draw : text 422 | draw : shape 423 | 424 | target : subway 425 | define 426 | min-zoom : 15 427 | line-width : 2 428 | line-style : solid 429 | line-color : #80bfff 430 | draw : line 431 | 432 | 433 | //******************************************** 434 | //***********HIGHWAYS************************* 435 | //********************************************* 436 | 437 | target : highway* 438 | define 439 | font-size : 15:7;18:10 440 | font-weight : bold 441 | 442 | for : oneway=yes OR oneway=true 443 | define 444 | min-zoom : 15 445 | shape : custom 446 | shape-def : 60,0,20,-40,20,-15,-60,-15,-60,15,20,15,20,40;Z 447 | shape-size : 12 448 | shape-aspect : 0.75 449 | shape-spacing : 6 450 | fill-color : #6C70D4 451 | line-style : none 452 | for : oneway=-1 453 | define 454 | angle : 180 455 | draw : shape 456 | 457 | define 458 | line-style : solid 459 | line-join : round 460 | line-start-cap : round 461 | line-end-cap : round 462 | 463 | if : *motorway* 464 | if : *link 465 | define 466 | line-width : 7:1;12:3;13:4;16:5;18:6 467 | else 468 | define 469 | line-width : 7:1;9:2;12:3;13:7;16:10;18:12 470 | define 471 | min-zoom : 12 472 | line-color : #FDCAA4 473 | border-style : solid 474 | border-color : #FDCAA4 black 20% 475 | border-width : 15% 476 | draw : line 477 | define 478 | min-zoom : 7 479 | max-zoom : 12 480 | border-style : none 481 | draw : line 482 | elseif : *trunk* 483 | define 484 | min-zoom : 12 485 | line-color : #FEFEB2 486 | line-width : 11:1;13:2;15:10;18:12 487 | border-style : solid 488 | border-color : #96D296 black 20% 489 | border-width : 15% 490 | draw : line 491 | define 492 | min-zoom : 7 493 | max-zoom : 12 494 | border-style : none 495 | draw : line 496 | elseif : *primary* 497 | define 498 | min-zoom : 11 499 | line-color : #FEFEB2 500 | line-width : 11:1.5;12:2;15:10;18:12 501 | border-style : solid 502 | border-color : #ECA2A3 black 20% 503 | border-width : 15% 504 | font-size : 12 505 | draw : line 506 | draw : text 507 | define 508 | min-zoom : 7 509 | max-zoom : 11 510 | border-style : none 511 | draw : line 512 | elseif : *secondary 513 | define 514 | min-zoom : 12 515 | line-color : #FEFEB2 516 | line-width : 11:1;13:2;15:10;18:12 517 | border-style : solid 518 | border-color : #CAA36F 519 | border-width : 15% 520 | font-size : 10 521 | draw : line 522 | draw : text 523 | define 524 | min-zoom : 8.5 525 | max-zoom : 12 526 | border-style : none 527 | draw : line 528 | 529 | elseif : *tertiary 530 | define 531 | min-zoom : 10 532 | line-color : white 533 | line-width : 11:1;13:2;15:10;18:12 534 | border-style : solid 535 | border-color : white black 20% 536 | border-width : 15% 537 | font-size : 10 538 | draw : line 539 | draw : text 540 | 541 | elseif : *livingstreet 542 | define 543 | min-zoom : 10 544 | line-color : white 545 | line-width : 11:1;13:2;15:10;18:12 546 | border-style : solid 547 | border-color : white black 20% 548 | border-width : 15% 549 | font-size : 10 550 | draw : line 551 | draw : text 552 | 553 | elseif : *service 554 | define 555 | min-zoom : 13 556 | line-color : white 557 | line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 558 | border-style : solid 559 | border-color : white black 20% 560 | border-width : 15% 561 | draw : line 562 | elseif : *pedestrian 563 | define 564 | min-zoom : 13 565 | //line-color : #EDEDED 566 | line-color : #f2f7f7 567 | //line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 568 | line-width : 12:1;13:1.5;15:6;18:8 569 | border-style : solid 570 | //border-color : #B1B1B1 black 20% 571 | border-color : #0099ff 572 | border-width : 15% 573 | font-size : 10 574 | font-weight : normal 575 | draw : line 576 | draw : text 577 | elseif : $regex("(.*residential)|(.*unclassified)") 578 | define 579 | min-zoom : 13 580 | line-color : white 581 | line-width : 12:1;13:1.5;15:10;18:12 582 | border-style : solid 583 | border-color : white black 20% 584 | border-width : 15% 585 | font-size : 10 586 | font-weight : normal 587 | draw : line 588 | define 589 | min-zoom : 10 590 | max-zoom : 13 591 | border-style : none 592 | line-color : white black 25% 593 | draw : line 594 | define 595 | min-zoom : 15 596 | max-zoom : 20 597 | draw : text 598 | elseif : *track 599 | define 600 | min-zoom : 12.5 601 | line-color : #9D7517 602 | line-width : 1.5 603 | line-style : dash 604 | border-style : solid 605 | border-color : white 606 | border-width : 100% 607 | border-opacity : 0.3 608 | draw : line 609 | elseif : *footway 610 | define 611 | min-zoom : 13 612 | line-color : #F68474 613 | line-width : 1.5 614 | line-style : dot 615 | border-style : solid 616 | border-color : white 617 | border-width : 100% 618 | border-opacity : 0.3 619 | draw : line 620 | //draw : text 621 | elseif : *cycleway 622 | define 623 | min-zoom : 13 624 | line-color : blue 625 | line-width : 1.5 626 | line-style : dot 627 | border-style : solid 628 | border-color : white 629 | border-width : 100% 630 | border-opacity : 0.3 631 | draw : line 632 | elseif : *path 633 | define 634 | min-zoom : 13 635 | line-color : #6E7C6D 636 | line-width : 1.5 637 | line-style : dash 638 | border-style : solid 639 | border-color : white 640 | border-width : 100% 641 | border-opacity : 0.3 642 | draw : line 643 | else 644 | stop 645 | 646 | target : highway steps 647 | define 648 | min-zoom : 16 649 | shape : custom 650 | shape-def : -1,1, -1,-1, 1,-1, 1,1;Z 651 | shape-spacing : 2 652 | shape-size : 16:1;20:3 653 | shape-aspect : 3 654 | fill-color : #F98072 655 | line-style : none 656 | draw : shape 657 | 658 | target : line barrier 659 | define 660 | min-zoom : 13 661 | line-color : black 662 | line-width : 1 663 | draw : line 664 | 665 | target : bridge foot 666 | define 667 | min-zoom : 13 668 | line-color : white 669 | line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 670 | border-style : solid 671 | border-color : #FEFEB2 black 20% 672 | border-width : 15% 673 | draw : line 674 | draw : text 675 | 676 | target : historic citywalls 677 | define 678 | min-zoom : 13 679 | line-color : #8D968D 680 | line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:10 681 | draw : line 682 | draw : text 683 | 684 | define 685 | 686 | target : river 687 | define 688 | line-color : #c2efff 689 | line-width : 7:1;12:2;14:5 690 | draw : line 691 | 692 | target : canal 693 | define 694 | min-zoom : 12 695 | line-color : #c2efff 696 | line-width : 12:1;17:8 697 | draw : line 698 | 699 | target : drain 700 | define 701 | min-zoom : 13 702 | line-color : #c2efff 703 | line-width : 1 704 | draw : line 705 | target : stream 706 | define 707 | min-zoom : 13 708 | line-color : #c2efff 709 | line-width : 13:1;15:2 710 | draw : line 711 | 712 | //***********************ICONS*************************** 713 | 714 | 715 | target: mini roundabout 716 | define 717 | icon-image : icons/SJJB/png/transport_roundabout_anticlockwise.p.32.png 718 | min-zoom : 16 719 | icon-width : 9 720 | draw : icon 721 | 722 | target: church 723 | define 724 | icon-image : icons/SJJB/png/place_of_worship_christian3.glow.32blue.png 725 | min-zoom : 13 726 | icon-width : 16 727 | text-offset-vertical : 1.2 728 | fill-color : #ffd9bf 729 | line-style : none 730 | draw : text 731 | draw : icon 732 | draw : fill 733 | 734 | target : tourism* 735 | define 736 | min-zoom : 17 737 | text-color : #2B80FE 738 | draw : text 739 | 740 | //hotel and Museum not used here 741 | if : *hotel 742 | define 743 | icon-image : icons/SJJB/png/accommodation_hotel2.n.32.png 744 | min-zoom : 16 745 | icon-width : 16 746 | 747 | elseif : *viewpoint 748 | define 749 | icon-image : icons/SJJB/png/tourist_view_point.p.32.png 750 | min-zoom : 13 751 | icon-width : 16 752 | 753 | elseif : *museum 754 | define 755 | icon-image : icons/SJJB/png/tourist_museum.n.32.png 756 | min-zoom : 16 757 | icon-width : 16 758 | else 759 | stop 760 | draw : icon 761 | 762 | target : amenity* 763 | define 764 | min-zoom : 17 765 | text-color : #856951 766 | draw : text 767 | 768 | define 769 | min-zoom : 16 770 | icon-width : 16 771 | if : *pub 772 | define 773 | icon-image : icons/SJJB/png/food_pub.n.32.png 774 | elseif : *fast_food 775 | define 776 | icon-image : icons/SJJB/png/food_fastfood2.n.32.png 777 | else 778 | stop 779 | draw : icon 780 | 781 | //**********************CONTOURS**COASTLINE************* 782 | 783 | target: contour* 784 | define 785 | line-color : #7f3300 786 | line-opacity : 0.35 787 | curved : true 788 | if : *major 789 | define 790 | min-zoom : 9 791 | line-width : 11:0.1;11.9:1;12:2 792 | else 793 | define 794 | min-zoom : 12 795 | line-width : 1 796 | draw : contour 797 | 798 | target: coastline 799 | define 800 | line-color : #B5D0D0 801 | line-width : 2 802 | draw : line -------------------------------------------------------------------------------- /UserRules/black_and_white.mrules: -------------------------------------------------------------------------------- 1 | // origin: https://wiki.openstreetmap.org/wiki/User:Rotbarsch/Maperitive_rules/black_and_white 2 | 3 | // Author: Rotbarsch 4 | // 5 | // Goals: 1) A good background for maps with coloured data 6 | // 2) A black and white printer friendly design 7 | // 8 | // Modification history: 9 | // date author summary 10 | // 20.05.2010 rotbarsch Intitial version derived from Maperitive default rules delivered with Mapritive 861 11 | // 12 | // Licence (just my changes!): Public Domain 13 | // 14 | // Source: http://wiki.openstreetmap.org/wiki/User:Rotbarsch/Maperitive_rules/black_and_white 15 | // Feedback wanted at: http://wiki.openstreetmap.org/wiki/User_talk:Rotbarsch/Maperitive_rules/black_and_white 16 | 17 | // Original Authors and copyrights comments of default rules delivered with Mapritive 861: 18 | // 19 | // Copied from Steve's (Seventy7) rules. 20 | // Modified with some custom stuff. 21 | // The original copyright is below: 22 | // 23 | // Clone of Mapnik colours with a couple of extra POIs 24 | // User: Seventy7 27 April 2010 25 | 26 | 27 | features 28 | // parking : amenity=parking 29 | // postbox : amenity=post_box 30 | // postoffice : amenity=post_office 31 | // telephone : amenity=telephone 32 | // fire station : amenity=fire_station 33 | // police station : amenity=police 34 | // recycling : amenity=recycling 35 | church : amenity=place_of_worship AND religion=christian 36 | // drinking water : amenity=drinking_water 37 | // bank : amenity=bank 38 | // atm : amenity=atm 39 | // toilets : amenity=toilets 40 | // library : amenity=library 41 | tree : natural=tree 42 | // school : node[amenity=school] area[amenity=school] 43 | // bus stop : highway=bus_stop 44 | mini roundabout : highway=mini_roundabout 45 | gate : barrier=gate 46 | tourism viewpoint : tourism=viewpoint 47 | // tourism hotel : node[tourism=hotel] area[tourism=hotel] 48 | // tourism museum : node[tourism=museum] area[tourism=museum] 49 | // amenity pub : amenity=pub 50 | // amenity fast_food : amenity=fast_food 51 | 52 | // These are not shown on Mapnik 53 | // puffin : crossing_ref=puffin 54 | // memorial : historic=memorial 55 | 56 | areas 57 | building : building=yes 58 | water : natural=water OR waterway=riverbank OR landuse=reservoir 59 | pitch : leisure=pitch 60 | village green : landuse=village_green 61 | forest : landuse=forest OR natural=wood 62 | farm : landuse=farm 63 | grass : landuse=grass 64 | fell : natural=fell 65 | national park : boundary=national_park 66 | allotments : landuse=allotments 67 | academic : node[amenity=university OR amenity=college OR amenity=school] area[amenity=university OR amenity=college OR amenity=school] 68 | meadow : natural=meadow OR landuse=meadow 69 | nature reserve : leisure=nature_reserve 70 | playground : leisure=playground 71 | car park: amenity=parking 72 | track : leisure=track 73 | graveyard : amenity=grave_yard OR landuse=cemetery 74 | military barracks : landuse=military AND military=barracks 75 | park : leisure=park 76 | leisure garden : leisure=garden 77 | landuse retail : landuse=retail 78 | landuse industrial : landuse=industrial 79 | commercial area : landuse=commercial 80 | residential area : landuse=residential 81 | 82 | lines 83 | oneway : oneway=yes OR oneway=true OR oneway=-1 84 | coastline : natural=coastline 85 | river : waterway=river 86 | stream : waterway=stream 87 | railway : railway=rail 88 | line barrier : barrier=wall OR barrier=fence 89 | highway motorway : highway=motorway 90 | highway motorway link : highway=motorway_link 91 | highway trunk : highway=trunk 92 | highway trunk link: highway=trunk_link 93 | highway primary link : highway=primary_link 94 | highway primary : highway=primary 95 | highway secondary : highway=secondary 96 | highway tertiary : highway=tertiary 97 | highway unclassified : highway=unclassified 98 | highway residential : highway=residential 99 | highway service : highway=service 100 | highway living street : highway=living_street 101 | highway pedestrian : highway=pedestrian 102 | highway track : highway=track 103 | highway footway : highway=footway 104 | highway cycleway : highway=cycleway 105 | highway path : highway=path 106 | highway private : access=private AND highway 107 | highway steps : highway=steps 108 | bridge foot : bridge=yes AND (foot=yes OR highway=footway) 109 | historic citywalls : historic=citywalls OR historic=city_wall 110 | 111 | boundary country : boundary=administrative AND (admin_level=2 OR admin_level=4) 112 | boundary province : boundary=administrative AND admin_level=6 113 | boundary municipal : boundary=administrative AND admin_level=8 114 | 115 | contours major : contour[elevation_multiplier=50] 116 | contours minor : contour[elevation_multiplier=10 and not elevation_multiplier=50] 117 | 118 | // Routes 119 | // route ncn : relation[type=route AND route=bicycle AND network=ncn] 120 | // route byway : relation[type=route AND route=bicycle AND network="National Byway"] 121 | // route foot : relation[type=route AND route=foot] 122 | 123 | points 124 | place city : place=city 125 | place town : place=town 126 | place village : place=village 127 | place hamlet : place=hamlet 128 | hospital : amenity=hospital 129 | // diy : shop=doityourself 130 | // hair dresser : shop=hairdresser 131 | // supermarket : shop=supermarket 132 | // convenience : shop=convenience 133 | // bakery : shop=bakery 134 | // restaurant : amenity=restaurant 135 | // cafe : amenity=cafe 136 | // pharmacy : amenity=pharmacy 137 | 138 | properties 139 | map-background-color : #F1EEE8 140 | map-background-opacity : 1 141 | map-sea-color : #B5B5B5 142 | font-weight : bold 143 | font-family : Verdana Bold 144 | text-halo-width : 25% 145 | text-halo-opacity : 0.75 146 | 147 | 148 | rules 149 | target : highway private 150 | define 151 | line-width : 4 152 | line-style : dash 153 | line-color : #F7F7F7 154 | draw : line 155 | 156 | target : highway* 157 | for : oneway=yes OR oneway=true 158 | define 159 | min-zoom : 15 160 | shape : custom 161 | shape-def : 60,0;20,-40;20,-15;-60,-15;-60,15;20,15;20,40;60,0 162 | shape-size : 12 163 | shape-aspect : 0.5 164 | shape-spacing : 6 165 | fill-color : #6C6C6C 166 | for : oneway=-1 167 | define 168 | angle : 180 169 | draw : shape 170 | 171 | define 172 | line-join : round 173 | line-start-cap : round 174 | line-end-cap : round 175 | curved : true 176 | 177 | if : *motorway* 178 | if : *link 179 | define 180 | line-width : 7:1;12:3;13:4;16:5;18:6 181 | else 182 | define 183 | line-width : 7:1;9:2;12:3;13:7;16:10;18:12 184 | define 185 | min-zoom : 12 186 | line-color : #848484 187 | border-style : solid 188 | border-color : #848484 black 20% 189 | border-width : 15% 190 | draw : line 191 | define 192 | min-zoom : 7 193 | max-zoom : 12 194 | border-style : none 195 | draw : line 196 | elseif : *trunk* 197 | define 198 | min-zoom : 12 199 | line-color : #969696 200 | line-width : 11:1;13:2;15:10;18:12 201 | border-style : solid 202 | border-color : #969696 black 20% 203 | border-width : 15% 204 | draw : line 205 | define 206 | min-zoom : 7 207 | max-zoom : 12 208 | border-style : none 209 | draw : line 210 | elseif : *primary* 211 | define 212 | min-zoom : 11 213 | line-color : #ECECEC 214 | line-width : 11:1;12:2;15:13;18:15 215 | border-style : solid 216 | border-color : #ECECEC black 20% 217 | border-width : 15% 218 | draw : line 219 | define 220 | min-zoom : 7 221 | max-zoom : 11 222 | border-style : none 223 | draw : line 224 | elseif : *secondary 225 | define 226 | min-zoom : 12 227 | line-color : #FDFDFD 228 | line-width : 11:1;13:2;15:12;18:14 229 | border-style : solid 230 | border-color : #CACACA 231 | border-width : 15% 232 | draw : line 233 | define 234 | min-zoom : 8.5 235 | max-zoom : 12 236 | border-style : none 237 | draw : line 238 | elseif : *tertiary 239 | define 240 | min-zoom : 10 241 | line-color : #FEFEFE 242 | line-width : 11:1;13:2;15:10;18:12 243 | border-style : solid 244 | border-color : #FEFEFE black 20% 245 | border-width : 15% 246 | draw : line 247 | draw : text 248 | elseif : *service 249 | define 250 | min-zoom : 13 251 | line-color : white 252 | line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 253 | border-style : solid 254 | border-color : #FEFEFE black 20% 255 | border-width : 15% 256 | draw : line 257 | elseif : *pedestrian 258 | define 259 | min-zoom : 13 260 | line-color : #EDEDED 261 | line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 262 | border-style : solid 263 | border-color : #B1B1B1 black 20% 264 | border-width : 15% 265 | draw : line 266 | elseif : *living street 267 | define 268 | min-zoom : 13 269 | line-color : #EDEDED 270 | line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 271 | border-style : solid 272 | border-color : #B1B1B1 black 20% 273 | border-width : 15% 274 | draw : line 275 | draw : text 276 | 277 | elseif : $regex("(.*residential)|(.*unclassified)") 278 | define 279 | min-zoom : 13 280 | line-color : white 281 | line-width : 12:1;13:1.5;15:10;18:12 282 | border-style : solid 283 | border-color : white black 50% 284 | border-width : 20% 285 | draw : line 286 | define 287 | min-zoom : 10 288 | max-zoom : 13 289 | border-style : none 290 | line-color : white black 25% 291 | draw : line 292 | define 293 | min-zoom : 15 294 | max-zoom : 20 295 | font-size : 15:7;18:10 296 | draw : text 297 | elseif : *track 298 | define 299 | min-zoom : 12.5 300 | line-color : #555555 301 | line-width : 1.5 302 | line-style : dash 303 | border-style : solid 304 | border-color : white 305 | border-width : 100% 306 | border-opacity : 0.3 307 | draw : line 308 | elseif : *footway 309 | define 310 | min-zoom : 13 311 | line-color : #555555 312 | line-width : 1.5 313 | line-style : dot 314 | border-style : solid 315 | border-color : white 316 | border-width : 100% 317 | border-opacity : 0.3 318 | // curved : false 319 | draw : line 320 | draw : text 321 | elseif : *cycleway 322 | define 323 | min-zoom : 13 324 | line-color : #333333 325 | line-width : 1.5 326 | line-style : dot 327 | border-style : solid 328 | border-color : white 329 | border-width : 100% 330 | border-opacity : 0.3 331 | // curved : false 332 | draw : line 333 | elseif : *path 334 | define 335 | min-zoom : 13 336 | line-color : #6E6E6E 337 | line-width : 1.5 338 | line-style : dash 339 | border-style : solid 340 | border-color : white 341 | border-width : 100% 342 | border-opacity : 0.3 343 | // curved : false 344 | draw : line 345 | else 346 | stop 347 | 348 | target : highway steps 349 | define 350 | min-zoom : 16 351 | shape : custom 352 | shape-def : -1,1;-1,-1;1,-1;1,1;-1,1 353 | shape-spacing : 2 354 | shape-size : 16:1;20:3 355 | shape-aspect : 3 356 | fill-color : #555555 357 | line-style : none 358 | draw : shape 359 | 360 | target : playground 361 | define 362 | min-zoom : 12 363 | fill-color : #EEEEEE 364 | line-style : none 365 | draw : fill 366 | define 367 | line-color : #ADADAD 368 | line-width : 1 369 | draw : line 370 | draw : text 371 | 372 | target : $featuretype(area) 373 | define 374 | line-style : none 375 | line-width : 1 376 | if : forest 377 | define 378 | min-zoom : 9 379 | fill-color : #8D8D8D 380 | elseif : farm 381 | define 382 | min-zoom : 9 383 | fill-color : #E9E9E9 384 | elseif : fell 385 | define 386 | fill-color : #C5C5C5 black 10% 387 | elseif : water 388 | define 389 | fill-color : #B5B5B5 390 | elseif : residential area 391 | define 392 | fill-color : #DCDCDC 393 | elseif : grass 394 | define 395 | fill-color : #CFCFCF 396 | elseif : allotments 397 | define 398 | fill-color : #666666 399 | elseif : meadow 400 | define 401 | fill-color : #CFCFCF 402 | elseif : nature reserve 403 | define 404 | fill-color : #ABABAB 405 | elseif : car park 406 | define 407 | fill-color : #F6F6F6 408 | elseif : park 409 | define 410 | fill-color : #BBBBBB 411 | elseif : leisure garden 412 | define 413 | fill-color : #CFCFCF 414 | elseif : graveyard 415 | define 416 | fill-color : #A9A9A9 417 | elseif : building 418 | define 419 | fill-color : #BCBCBC 420 | elseif : pitch 421 | define 422 | fill-color : #BBBBBB 423 | elseif : track 424 | define 425 | fill-color : #747474 426 | elseif : village green 427 | define 428 | fill-color : #CFCFCF 429 | elseif : landuse retail 430 | define 431 | fill-color : #F0F0F0 432 | line-color : #F4F4F4 433 | draw : line 434 | elseif : landuse industrial 435 | define 436 | fill-color : #DFDFDF 437 | elseif : commercial area 438 | define 439 | fill-color : #EFEFEF 440 | elseif : military barracks 441 | define 442 | fill-color : #FEFEFE 443 | else 444 | stop 445 | draw : fill 446 | define 447 | min-zoom : 17 448 | draw : text 449 | 450 | 451 | target : academic 452 | define 453 | fill-color : #F0F0F0 454 | line-style : none 455 | draw : fill 456 | define 457 | line-color : #E5E5E5 458 | line-width : 1 459 | draw : line 460 | // draw : text 461 | 462 | target : boundary* 463 | define 464 | line-color : #9E9E9E 465 | line-opacity : 0.5 466 | if : boundary country 467 | define 468 | line-width : 6:1;9:3;10:6 469 | elseif : boundary province 470 | define 471 | min-zoom : 4 472 | line-width : 4:1;11:3 473 | line-style : dash 474 | elseif : boundary municipal 475 | define 476 | min-zoom : 12 477 | line-width : 12:1;14:2 478 | line-style : dash 479 | draw : line 480 | 481 | target : national park 482 | define 483 | fill-color : #8D8D8D 484 | fill-opacity : 0.2 485 | line-style : none 486 | draw : fill 487 | define 488 | line-color : #8D8D8D black 20% 489 | line-opacity : 0.5 490 | line-width : 3 491 | line-style : dash 492 | font-size : 3:3;12:12 493 | text-color : green 494 | draw : line 495 | draw : text 496 | 497 | target : railway 498 | define 499 | min-zoom : 13 500 | line-color : #222222 501 | line-width : 2 502 | curved : false 503 | draw : line 504 | define 505 | min-zoom : 13 506 | line-style : dashlong 507 | line-color : white 508 | line-width : 2 509 | border-style : solid 510 | border-color : #222222 511 | border-width : 25% 512 | curved : false 513 | draw : line 514 | define 515 | min-zoom : 6 516 | max-zoom : 13 517 | line-style : none 518 | line-color : white black 30% 519 | line-width : 6:1;8:1;12:1.5 520 | curved : true 521 | draw : line 522 | 523 | target : line barrier 524 | define 525 | min-zoom : 13 526 | line-color : black 527 | line-width : 1 528 | draw : line 529 | 530 | target : bridge foot 531 | define 532 | min-zoom : 13 533 | line-color : #555555 534 | line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 535 | line-style : dot 536 | border-style : solid 537 | border-color : #FEFEFE black 20% 538 | border-width : 15% 539 | draw : line 540 | draw : text 541 | 542 | target : historic citywalls 543 | define 544 | min-zoom : 13 545 | line-color : #8D8D8D 546 | line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:10 547 | draw : line 548 | draw : text 549 | 550 | define 551 | 552 | 553 | // Routes 554 | target : route* 555 | define 556 | line-width : 11:1.1;13:2.2;15:20;18:15 557 | line-opacity : 0.75 558 | curved : true 559 | if : *ncn 560 | define 561 | line-color : red 562 | text : ref 563 | draw : line 564 | draw : text 565 | elseif : *byway 566 | define 567 | line-color : brown 568 | line-style : dash 569 | text : name 570 | draw : line 571 | draw : text 572 | elseif : *foot 573 | define 574 | line-color : purple 575 | line-style : dash 576 | draw : line 577 | else 578 | stop 579 | 580 | 581 | 582 | 583 | target : river 584 | define 585 | line-color : #B5B5B5 586 | line-width : 7:1;8:5 587 | draw : line 588 | 589 | target : stream 590 | define 591 | min-zoom : 13 592 | line-color : #B5B5B5 593 | line-width : 13:1;15:2 594 | draw : line 595 | 596 | target: parking 597 | define 598 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/parking.p.16.png 599 | min-zoom : 15 600 | icon-width : 16 601 | draw : icon 602 | target: bus stop 603 | define 604 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/bus_stop.p.12.png 605 | min-zoom : 15 606 | icon-width : 16 607 | draw : icon 608 | target: postbox 609 | define 610 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/post_box.p.16.png 611 | min-zoom : 16 612 | icon-width : 16 613 | draw : icon 614 | define 615 | min-zoom : 17 616 | text : collection_times 617 | draw : text 618 | 619 | target: postoffice 620 | define 621 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/post_office.p.16.png 622 | min-zoom : 16 623 | icon-width : 16 624 | draw : icon 625 | target: telephone 626 | define 627 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/telephone.p.16.png 628 | min-zoom : 16 629 | icon-width : 16 630 | draw : icon 631 | 632 | target: fire station 633 | define 634 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/firestation.p.16.png 635 | min-zoom : 16 636 | icon-width : 16 637 | draw : icon 638 | target: hospital 639 | define 640 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/hospital.p.16.png 641 | min-zoom : 16 642 | icon-width : 16 643 | draw : icon 644 | target: police station 645 | define 646 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/police.p.16.png 647 | min-zoom : 16 648 | icon-width : 16 649 | draw : icon 650 | target: cafe 651 | define 652 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/cafe.p.16.png 653 | min-zoom : 16 654 | icon-width : 16 655 | draw : icon 656 | target: recycling 657 | define 658 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/recycling.p.16.png 659 | min-zoom : 16 660 | icon-width : 16 661 | draw : icon 662 | target: supermarket 663 | define 664 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/shop_supermarket.p.16.png 665 | min-zoom : 16 666 | icon-width : 16 667 | draw : icon 668 | target: diy 669 | define 670 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/shop_diy.p.16.png 671 | min-zoom : 16 672 | icon-width : 16 673 | draw : icon 674 | target: convenience 675 | define 676 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/shop_convenience.p.16.png 677 | min-zoom : 16 678 | icon-width : 16 679 | draw : icon 680 | 681 | target: mini roundabout 682 | define 683 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/mini_round.png 684 | min-zoom : 16 685 | icon-width : 9 686 | draw : icon 687 | target: church 688 | define 689 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/christian3.p.14.png 690 | min-zoom : 16 691 | icon-width : 16 692 | draw : text 693 | draw : icon 694 | target: drinking water 695 | define 696 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/food_drinkingtap.p.20.png 697 | min-zoom : 16 698 | icon-width : 16 699 | draw : icon 700 | target: bank 701 | define 702 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/bank2.p.16.png 703 | min-zoom : 16 704 | icon-width : 16 705 | draw : icon 706 | target: atm 707 | define 708 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/atm2.p.16.png 709 | min-zoom : 16 710 | icon-width : 16 711 | draw : icon 712 | target: restaurant 713 | define 714 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/restaurant.p.16.png 715 | min-zoom : 16 716 | icon-width : 16 717 | draw : icon 718 | target: hair dresser 719 | define 720 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/shop_hairdresser.p.16.png 721 | min-zoom : 16 722 | icon-width : 16 723 | draw : icon 724 | 725 | target: toilets 726 | define 727 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/toilets.p.20.png 728 | min-zoom : 16 729 | icon-width : 16 730 | draw : icon 731 | target: pharmacy 732 | define 733 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/pharmacy.p.16.png 734 | min-zoom : 16 735 | icon-width : 16 736 | draw : icon 737 | target: library 738 | define 739 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/library.p.20.png 740 | min-zoom : 16 741 | icon-width : 16 742 | draw : icon 743 | target: bakery 744 | define 745 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/shop_bakery.p.16.png 746 | min-zoom : 16 747 | icon-width : 16 748 | draw : icon 749 | target: tree 750 | define 751 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/tree2.png 752 | min-zoom : 16 753 | icon-width : 6 754 | draw : icon 755 | target: memorial 756 | define 757 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/memorial.png 758 | min-zoom : 16 759 | icon-width : 16 760 | draw : icon 761 | target: school 762 | define 763 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/school.png 764 | min-zoom : 16 765 | icon-width : 16 766 | draw : icon 767 | draw : text 768 | target : puffin 769 | define 770 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/traffic_light.png 771 | min-zoom : 16 772 | icon-width : 16 773 | draw : icon 774 | target : mini roundabout 775 | define 776 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/mini_round.png 777 | min-zoom : 16 778 | icon-width : 9 779 | draw : icon 780 | 781 | target : gate 782 | define 783 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/gate2.png 784 | min-zoom : 16 785 | icon-width : 7 786 | draw : icon 787 | 788 | target : tourism* 789 | define 790 | min-zoom : 17 791 | text-color : #2B2B2B 792 | draw : text 793 | if : *hotel 794 | define 795 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/hotel2.p.20.png 796 | min-zoom : 16 797 | icon-width : 16 798 | 799 | elseif : *viewpoint 800 | define 801 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/view_point.p.16.png 802 | min-zoom : 16 803 | icon-width : 16 804 | 805 | elseif : *museum 806 | define 807 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/museum.p.16.png 808 | min-zoom : 16 809 | icon-width : 16 810 | else 811 | stop 812 | draw : icon 813 | 814 | target : amenity* 815 | define 816 | min-zoom : 17 817 | text-color : #858585 818 | draw : text 819 | 820 | define 821 | min-zoom : 16 822 | icon-width : 16 823 | if : *pub 824 | define 825 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/pub.p.16.png 826 | elseif : *fast_food 827 | define 828 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/fast_food.png 829 | else 830 | stop 831 | draw : icon 832 | 833 | 834 | target: contour* 835 | define 836 | line-color : #7f7f7f 837 | line-opacity : 0.5 838 | curved : true 839 | if : *major 840 | define 841 | min-zoom : 9 842 | line-width : 9:1;10.9:1;11:2 843 | else 844 | define 845 | min-zoom : 11 846 | line-width : 1 847 | draw : contour 848 | 849 | target: coastline 850 | define 851 | line-color : #B5B5B5 852 | line-width : 2 853 | draw : line 854 | 855 | 856 | target : $featuretype(point) 857 | if : place* 858 | define 859 | font-weight : bold 860 | 861 | if : *city 862 | define 863 | font-size : 6:8;14:20 864 | min-zoom : 6 865 | max-zoom : 14 866 | elseif : *town 867 | define 868 | font-size : 9:8;12:10;20:20 869 | min-zoom : 9 870 | elseif : *village 871 | define 872 | font-size : 12:10;20:20 873 | min-zoom : 12 874 | elseif : *hamlet 875 | define 876 | font-size : 14:8;20:16 877 | min-zoom : 14 878 | draw : text 879 | else 880 | define 881 | text : name 882 | min-zoom : 17 883 | draw : text -------------------------------------------------------------------------------- /Rules/Default.mrules: -------------------------------------------------------------------------------- 1 | // Default rendering rules for Maperitive resembling that of OSM Mapnik 2 | // http://maperitive.net 3 | 4 | // Created by Igor Brejc 5 | // Released under the Creative Commons Attribution-ShareAlike 3.0 License (http://creativecommons.org/licenses/by-sa/3.0/) 6 | // Updates by Michael 7 | // Icons used: Map icons CC-0 from SJJB Management (http://www.sjjb.co.uk/mapicons) 8 | 9 | features 10 | points, areas 11 | parking : amenity=parking 12 | postbox : amenity=post_box 13 | postoffice : amenity=post_office 14 | telephone : amenity=telephone 15 | fire station : amenity=fire_station 16 | police station : amenity=police 17 | hospital : amenity=hospital 18 | recycling : amenity=recycling 19 | church : amenity=place_of_worship AND religion=christian 20 | drinking water : amenity=drinking_water 21 | bank : amenity=bank 22 | atm : amenity=atm 23 | toilets : amenity=toilets 24 | library : amenity=library 25 | tree : natural=tree 26 | // school : amenity=school 27 | bus stop : highway=bus_stop 28 | railway station : railway=station 29 | mini roundabout : highway=mini_roundabout 30 | gate : barrier=gate 31 | tourism viewpoint : tourism=viewpoint 32 | tourism hotel : tourism=hotel 33 | tourism museum : tourism=museum 34 | amenity pub : amenity=pub 35 | amenity fast_food : amenity=fast_food 36 | aerodrome : aeroway=aerodrome 37 | housenumber : [addr:housenumber] 38 | // These are not shown on Mapnik 39 | puffin : crossing_ref=puffin 40 | memorial : historic=memorial 41 | 42 | 43 | areas 44 | beach : natural=beach 45 | building : building=yes 46 | water : natural=water OR waterway=riverbank OR landuse=reservoir OR landuse=basin 47 | village green : landuse=village_green 48 | forest : landuse=forest OR natural=wood 49 | farm : landuse=farm 50 | farmyard:landuse=farmyard 51 | grass : landuse=grass 52 | fell : natural=fell 53 | glacier : natural=glacier 54 | national park : boundary=national_park 55 | allotments : landuse=allotments 56 | academic : node[@isOneOf(amenity, university, college, school)] area[@isOneOf(amenity, university, college, school)] 57 | meadow : natural=meadow OR landuse=meadow 58 | nature reserve : leisure=nature_reserve 59 | playground : leisure=playground 60 | car park: amenity=parking 61 | track : leisure=track 62 | graveyard : amenity=grave_yard OR landuse=cemetery 63 | military : landuse=military OR military=barracks 64 | park : leisure=park 65 | leisure garden : leisure=garden 66 | leisure pitch : leisure=pitch 67 | leisure stadium : leisure=stadium 68 | landuse retail : landuse=retail 69 | landuse industrial : landuse=industrial 70 | commercial area : landuse=commercial 71 | residential area : landuse=residential 72 | aeroway apron : aeroway=apron 73 | aeroway terminal : aeroway=terminal 74 | highway pedestrian : highway=pedestrian 75 | orchard : landuse=orchard 76 | farmland : landuse=farmland 77 | quarry : landuse=quarry 78 | 79 | lines 80 | oneway : oneway=yes OR oneway=true OR oneway=-1 81 | coastline : natural=coastline 82 | river : waterway=river 83 | stream : waterway=stream 84 | canal : waterway=canal 85 | drain : waterway=drain 86 | railway rail : railway=rail 87 | railway lightrail : railway=light_rail 88 | platform : railway=platform OR public_transport=platform 89 | line barrier : barrier=wall OR barrier=fence 90 | highway motorway : highway=motorway OR (highway=construction AND construction=motorway) 91 | highway motorway link : highway=motorway_link OR (highway=construction AND construction=motorway_link) 92 | highway trunk : highway=trunk OR (highway=construction AND construction=trunk) 93 | highway trunk link: highway=trunk_link OR (highway=construction AND construction=trunk_link) 94 | highway primary link : highway=primary_link OR (highway=construction AND construction=primary_link) 95 | highway primary : highway=primary OR (highway=construction AND construction=primary) 96 | highway secondary : highway=secondary OR (highway=construction AND construction=secondary) 97 | highway tertiary : highway=tertiary OR (highway=construction AND construction=tertiary) 98 | highway unclassified : highway=unclassified OR (highway=construction AND construction=unclassified) 99 | highway residential : highway=residential OR (highway=construction AND construction=residential) 100 | highway living_street : highway=living_street OR (highway=construction AND construction=living_street) 101 | highway construction : highway=construction 102 | highway service : highway=service 103 | highway pedestrian : highway=pedestrian 104 | highway track : highway=track 105 | highway footway : highway=footway 106 | highway cycleway : highway=cycleway 107 | highway path : highway=path 108 | highway access private : access=private AND highway 109 | highway access destination : access=destination AND highway 110 | highway steps : highway=steps 111 | pier : man_made=pier 112 | bridge foot : bridge=yes AND (foot=yes OR highway=footway) 113 | historic citywalls : historic=citywalls OR historic=city_wall 114 | power_line : power=line OR power=minor_line 115 | aerialway closed: @isOneOf(aerialway,cable_car,gondola,mixed_lift) 116 | aerialway open: @isOneOf(aerialway,chair_lift,drag_lift) 117 | 118 | aeroway runway : aeroway=runway 119 | aeroway taxiway : aeroway=taxiway 120 | 121 | boundary country : boundary=administrative AND (admin_level=2 OR admin_level=4) AND NOT natural=coastline 122 | boundary province : boundary=administrative AND admin_level=6 123 | boundary municipal : boundary=administrative AND admin_level=8 124 | 125 | contour major : contour[@isMulti(elevation, 100)] 126 | contour minor : contour[@isMulti(elevation, 20) and not @isMulti(elevation, 100)] 127 | 128 | gps tracks : gpstrack[] 129 | gps routes : gpsroute[] 130 | 131 | // Routes 132 | // route ncn : relation[type=route AND route=bicycle AND network=ncn] 133 | route byway : relation[type=route AND route=bicycle AND network="National Byway"] 134 | route foot : relation[type=route AND route=foot] 135 | 136 | points 137 | place city : place=city 138 | place town : place=town 139 | place village : place=village 140 | place hamlet : place=hamlet 141 | place locality: place=locality 142 | place isolated_dwelling : place=isolated_dwelling 143 | place suburb : place=suburb 144 | diy : shop=doityourself 145 | hair dresser : shop=hairdresser 146 | supermarket : shop=supermarket 147 | convenience : shop=convenience 148 | bakery : shop=bakery 149 | restaurant : amenity=restaurant 150 | cafe : amenity=cafe 151 | pharmacy : amenity=pharmacy 152 | peak : natural=peak 153 | powertower : power=tower OR power=pole 154 | info : information=guidepost 155 | bollard : barrier=bollard 156 | lift_gate : barrier=lift_gate 157 | aerialway station : aerialway=station 158 | motorway_junction : highway=motorway_junction 159 | 160 | gps waypoints : gpswaypoint[] 161 | gps trackpoints: gpstrack[].gpspoint[] 162 | gps routepoints: gpsroute[].gpspoint[] 163 | 164 | properties 165 | map-background-color : #F1EEE8 166 | map-background-opacity : 1 167 | map-sea-color : #B5D0D0 168 | font-weight : bold 169 | font-family : Verdana 170 | text-max-width : 7 171 | text-halo-width : 25% 172 | text-halo-opacity : 0.75 173 | text-align-horizontal : center 174 | text-align-vertical : center 175 | font-stretch : 0.9 176 | map.rendering.lflp.min-buffer-space : 5 177 | map.rendering.lflp.max-allowed-corner-angle : 40 178 | 179 | rules 180 | target: gps tracks 181 | define 182 | line-color : red 183 | line-opacity : 0.75 184 | min-zoom : 5 185 | line-width : 5 186 | draw : line 187 | 188 | target: gps routes 189 | define 190 | line-color : blue 191 | line-opacity : 0.75 192 | line-style : dash 193 | min-zoom : 5 194 | line-width : 5 195 | draw : line 196 | 197 | target : gps waypoints 198 | define 199 | shape : circle 200 | shape-size : 8 201 | line-color : green 202 | fill-opacity : 0 203 | draw : shape 204 | 205 | target : gps trackpoints 206 | define 207 | min-zoom : 17 208 | shape : square 209 | shape-size : 10 210 | line-color : green 211 | line-width : 1 212 | fill-opacity : 0 213 | draw : shape 214 | 215 | 216 | target : gps routepoints 217 | define 218 | min-zoom : 12 219 | shape : diamond 220 | shape-size : 10 221 | line-color : green 222 | line-width : 1 223 | fill-opacity : 0 224 | draw : shape 225 | 226 | target : $featuretype(point) 227 | if : place* 228 | define 229 | font-weight : bold 230 | 231 | if : *city 232 | define 233 | font-size : 6:8;14:20 234 | min-zoom : 6 235 | max-zoom : 14 236 | elseif : *town 237 | define 238 | font-size : 9:8;12:10;20:20 239 | min-zoom : 9 240 | elseif : *village 241 | define 242 | font-size : 12:10;20:20 243 | min-zoom : 12 244 | elseif : *hamlet 245 | define 246 | font-size : 14:8;20:16 247 | min-zoom : 14 248 | elseif : *locality 249 | define 250 | font-size : 14:8;20:16 251 | min-zoom : 14 252 | elseif : *isolated_dwelling 253 | define 254 | font-size : 15:8;20:14 255 | min-zoom : 15 256 | elseif : *suburb 257 | define 258 | font-size : 13:10;20:20 259 | min-zoom : 13 260 | text-color : white black 50% 261 | draw : text 262 | if : aerialway station 263 | define 264 | min-zoom:12 265 | shape:square 266 | shape-size:12:3;16:8 267 | fill-color:#7981B0 268 | line-style:none 269 | text-offset-vertical:120% 270 | text-color:#8888FF 271 | draw:shape 272 | draw:text 273 | 274 | 275 | target : housenumber 276 | define 277 | min-zoom : 17 278 | text : [[addr:housenumber]] 279 | text-halo-width : 0 280 | font-size : 8 281 | draw : text 282 | target : playground 283 | define 284 | fill-color : #CCFEF0 285 | line-style : none 286 | draw : fill 287 | define 288 | line-color : #ADCCB5 289 | line-width : 1 290 | draw : line 291 | define 292 | min-zoom : 17 293 | draw : text 294 | 295 | target : $featuretype(area) 296 | define 297 | line-style : none 298 | line-width : 1 299 | if : forest 300 | define 301 | min-zoom : 9 302 | fill-color : #8DC56C 303 | elseif : beach 304 | define 305 | min-zoom : 10 306 | fill-color : #FEFEC0 307 | elseif : farm 308 | define 309 | min-zoom : 9 310 | fill-color : #E9D8BD 311 | elseif : farmyard 312 | define 313 | min-zoom : 9 314 | fill-color : #DCBE91 315 | elseif : fell 316 | define 317 | fill-color : #C5FF5B black 10% 318 | elseif : water 319 | define 320 | fill-color : #B5D0D0 321 | elseif:academic 322 | define 323 | fill-color : #F0F0D8 324 | line-color : #E5D2CC 325 | line-style : solid 326 | elseif : residential area 327 | define 328 | fill-color : #DCDCDC 329 | elseif : grass 330 | define 331 | fill-color : #CFECA8 332 | elseif : allotments 333 | define 334 | fill-color : #C8B084 335 | elseif : meadow 336 | define 337 | fill-color : #CFECA8 338 | elseif : nature reserve 339 | define 340 | fill-color : #ABDE96 341 | elseif : car park 342 | define 343 | fill-color : #F6EEB7 344 | elseif : park 345 | define 346 | fill-color : #C0F6B0 347 | elseif : leisure garden 348 | define 349 | fill-color : #CFECA8 350 | elseif : graveyard 351 | define 352 | fill-color : #A9CAAE 353 | elseif : building 354 | define 355 | fill-color : #BCA9A9 356 | elseif : leisure pitch 357 | define 358 | fill-color : #89D2AE 359 | elseif : leisure stadium 360 | define 361 | fill-color : #33CC99 362 | elseif : track 363 | define 364 | fill-color : #74DCBA 365 | elseif : village green 366 | define 367 | fill-color : #CFECA8 368 | elseif : landuse retail 369 | define 370 | fill-color : #F0D9D9 371 | line-color : #F4A19E 372 | draw : line 373 | elseif : landuse industrial 374 | define 375 | fill-color : #DFD1D6 376 | elseif : commercial area 377 | define 378 | fill-color : #EFC8C8 379 | elseif : military 380 | define 381 | fill-color : #FE9898 382 | elseif : aeroway* 383 | define 384 | fill-color : #E9D1FE 385 | elseif : orchard 386 | define 387 | fill-color : #9fd790 388 | elseif : farmland 389 | define 390 | fill-color : #e9d8be 391 | elseif : aerodrome 392 | define 393 | fill-color : #e9e8e3 394 | line-style : solid 395 | line-color : #b3b3b0 black 10% 396 | elseif : quarry 397 | define 398 | fill-color : white 399 | line-style : solid 400 | line-color : #b3b3b0 black 10% 401 | fill-hatch : diagonalcross 402 | fill-hatch-color : #cccccc 403 | elseif : glacier 404 | define 405 | fill-color : #DDECEC 406 | line-style : dash 407 | line-color : #DDECEC black 10% 408 | elseif : *pedestrian 409 | for : area 410 | define 411 | min-zoom : 14 412 | fill-color : #EDEDED 413 | line-color : #B1B1B1 black 20% 414 | line-style : solid 415 | else 416 | stop 417 | draw : fill 418 | if : building 419 | define 420 | min-zoom : 15 421 | line-style : solid 422 | line-width : 1 423 | line-color : #666 424 | draw : line 425 | for : amenity=hospital 426 | stop 427 | define 428 | min-zoom : 17 429 | if:academic 430 | define 431 | min-zoom:16 432 | draw : text 433 | 434 | // aeroway taxiway : aeroway=taxiway 435 | // aeroway apron : aeroway=apron 436 | // aeroway terminal : aeroway=terminal 437 | 438 | target : aeroway runway 439 | define 440 | min-zoom : 11 441 | line-color : #BBBBCC 442 | line-width : 11:2;15:20 443 | draw : line 444 | 445 | target : aeroway taxiway 446 | define 447 | min-zoom : 11 448 | line-color : #BBBBCC 449 | line-width : 11:1;15:6 450 | draw : line 451 | 452 | target : glacier 453 | define 454 | min-zoom : 10 455 | text-color : #A3A3FE 456 | draw : text 457 | 458 | target : boundary* 459 | define 460 | line-color : #9E1A99 461 | line-opacity : 0.5 462 | if : boundary country 463 | define 464 | line-width : 6:1;9:3;10:6 465 | elseif : boundary province 466 | define 467 | min-zoom : 4 468 | line-width : 4:1;11:3 469 | line-style : dash 470 | elseif : boundary municipal 471 | define 472 | min-zoom : 12 473 | line-width : 12:1;14:2 474 | line-style : dash 475 | draw : line 476 | 477 | target : national park 478 | define 479 | fill-color : #8DC56C 480 | fill-opacity : 0.2 481 | line-style : none 482 | draw : fill 483 | define 484 | line-color : #8DC56C black 20% 485 | line-opacity : 0.5 486 | line-width : 3 487 | line-style : dash 488 | font-size : 3:3;12:12 489 | text-color : green 490 | font-weight : normal 491 | draw : line 492 | draw : text 493 | 494 | target : peak 495 | define 496 | shape : triangle 497 | shape-size : 12 498 | fill-color : #D08F55 499 | line-style : none 500 | min-zoom : 11 501 | draw : shape 502 | define 503 | text : @if(name, name @if(ele, "\n(" ele ")"), ele) 504 | text-color : #ae4242 505 | min-zoom : 13 506 | font-size : 10 507 | text-max-width : 10 508 | text-offset-vertical : 100% 509 | text-align-vertical : near 510 | draw : text 511 | 512 | target : info 513 | define 514 | min-zoom : 16 515 | text : "i" 516 | text-color : #734A08 517 | font-size : 20 518 | font-family : Times New Roman 519 | text-halo-width : 0 520 | draw : text 521 | target : lift_gate 522 | define 523 | min-zoom : 16 524 | shape : custom 525 | shape-def : f:#3E3E3E;p:#3E3E3E;-1,1;-1,-3;-3,-3;-3,3;-1,3;-1,2;4,2;4,1;Z 526 | shape-size : 14:7;20:12 527 | line-width : 1 528 | draw : shape 529 | target : bollard 530 | define 531 | min-zoom : 16 532 | fill-color : #7D7D7D 533 | line-style : none 534 | shape-size : 16:1;18:2 535 | draw : shape 536 | target : powertower 537 | define 538 | min-zoom: 14 539 | shape : custom 540 | shape-def : m:-1,1;l:1,1,1,-1,-1,-1,-1,1,1,-1;m:-1,-1;l:1,1 541 | shape-size : 14:2;20:9 542 | line-width : 1 543 | draw : shape 544 | 545 | target : power_line 546 | define 547 | min-zoom: 16 548 | line-width: 1 549 | line-color : #5c5c5c white 50% 550 | for : power=line 551 | define 552 | line-color : #5c5c5c 553 | min-zoom : 14 554 | line-width: 1 555 | draw : line 556 | 557 | target:aerialway * 558 | define 559 | min-zoom:12 560 | line-width:1 561 | line-style:solid 562 | line-color:#999 563 | draw:line 564 | draw:text 565 | target:aerialway closed 566 | define 567 | min-zoom:12 568 | shape:circle 569 | shape-size:1 570 | shape-spacing:20 571 | draw:shape 572 | target:aerialway open 573 | define 574 | min-zoom:12 575 | shape:custom 576 | shape-def:l:0,1,0,-1 577 | shape-spacing:5 578 | shape-size:3 579 | line-width:1 580 | draw:shape 581 | target : platform 582 | define 583 | min-zoom : 13 584 | line-color : gray 585 | line-width : 3 586 | draw : line 587 | target : railway rail 588 | define 589 | min-zoom : 13 590 | line-style : dashlong 591 | line-color : white 592 | line-width : 2 593 | border-style : solid 594 | border-color : gray 595 | border-width : 25% 596 | draw : line 597 | define 598 | min-zoom : 6 599 | max-zoom : 13 600 | line-style : none 601 | line-color : white black 30% 602 | line-width : 6:1;8:1;12:1.5 603 | draw : line 604 | target : railway* 605 | define 606 | min-zoom : 13 607 | line-color : gray 608 | line-width : 2 609 | draw : line 610 | define 611 | min-zoom : 15 612 | text-align-horizontal : center 613 | text-align-vertical : center 614 | draw:text 615 | 616 | target : highway access* 617 | define 618 | min-zoom : 13 619 | line-width : 13:1;15:2;18:4 620 | line-style : dash 621 | line-color : #F7D4D4 622 | for : access=destination 623 | define 624 | line-color : lightblue white 50% 625 | draw : line 626 | 627 | target : highway construction 628 | define 629 | min-zoom : 13 630 | line-width : 13:2;15:4;18:10 631 | line-style : dot 632 | line-color : yellow 633 | for : construction=tertiary OR construction=secondary OR construction=primary 634 | define 635 | line-color : white 636 | draw : line 637 | 638 | target : motorway_junction 639 | define 640 | font-size : 11 641 | min-zoom : 13 642 | text-color : #849BBD 643 | text-halo-width : 25% 644 | text-offset-vertical : 150% 645 | draw: text 646 | 647 | target : highway* 648 | define 649 | font-size : 15:7;18:10 650 | font-weight : bold 651 | 652 | for : oneway=yes OR oneway=true 653 | define 654 | min-zoom : 15 655 | shape : custom 656 | shape-def : 60,0,20,-40,20,-15,-60,-15,-60,15,20,15,20,40;Z 657 | shape-size : 12 658 | shape-aspect : 0.75 659 | shape-spacing : 6 660 | fill-color : #6C70D4 661 | line-style : none 662 | for : oneway=-1 663 | define 664 | angle : 180 665 | draw : shape 666 | 667 | define 668 | line-style : solid 669 | line-join : round 670 | line-start-cap : round 671 | line-end-cap : round 672 | 673 | if : *motorway* 674 | if : *link 675 | define 676 | line-width : 7:1;12:3;13:4;16:5;18:6 677 | else 678 | define 679 | line-width : 7:1;9:2;12:3;13:7;16:10;18:12 680 | define 681 | min-zoom : 12 682 | line-color : #849BBD 683 | border-style : solid 684 | border-color : #849BBD black 20% 685 | border-width : 15% 686 | draw : line 687 | define 688 | min-zoom : 7 689 | max-zoom : 12 690 | border-style : none 691 | draw : line 692 | define 693 | min-zoom : 10 694 | max-zoom : 20 695 | font-family : Tahoma 696 | text-align-horizontal : center 697 | text-align-vertical : center 698 | text : ref 699 | font-size : 12 700 | text-color : #fcfcfb 701 | text-halo-width : 0 702 | shape : custom 703 | shape-def : p:#809bc0;pw:5;f:#809bc0;m:-10,-10;l:10,-10;a:10,10,10,10;l:-10,10;a:10,10,-10,-10;z;p:#fcfcfb;pw:2;m:-10,-10;l:10,-10;a:10,10,10,10;l:-10,10;a:10,10,-10,-10;z 704 | shield-padding-left : 5 705 | shield-padding-right : 5 706 | shield-padding-top : 7 707 | shield-padding-bottom : 7 708 | shield-resize-mode : free 709 | draw : shield 710 | elseif : *trunk* 711 | define 712 | min-zoom : 12 713 | line-color : #96D296 714 | line-width : 11:1;13:2;15:10;18:12 715 | border-style : solid 716 | border-color : #96D296 black 20% 717 | border-width : 15% 718 | for : tunnel=yes 719 | define 720 | border-style : dot 721 | draw : line 722 | define 723 | min-zoom : 7 724 | max-zoom : 12 725 | border-style : none 726 | draw : line 727 | elseif : *primary* 728 | define 729 | min-zoom : 11 730 | line-color : #ECA2A3 731 | line-width : 11:2;12:2;15:10;18:12 732 | border-style : solid 733 | border-color : #ECA2A3 black 20% 734 | border-width : 15% 735 | for : tunnel=yes 736 | define 737 | border-style : dot 738 | draw : line 739 | define 740 | min-zoom : 7 741 | max-zoom : 11 742 | border-style : none 743 | draw : line 744 | define 745 | min-zoom : 13 746 | max-zoom : 20 747 | draw : text 748 | elseif : *secondary 749 | define 750 | min-zoom : 12 751 | line-color : #FDD6A4 752 | line-width : 10:1;11:2;13:2;15:10;18:12 753 | border-style : solid 754 | border-color : #CAA36F 755 | border-width : 5% 756 | for : tunnel=yes 757 | define 758 | border-style : dot 759 | for : bridge=yes 760 | define 761 | border-color : #000 762 | border-width : 8% 763 | draw : line 764 | define 765 | min-zoom : 8.5 766 | max-zoom : 12 767 | border-style : none 768 | draw : line 769 | define 770 | min-zoom : 13 771 | max-zoom : 20 772 | draw : text 773 | elseif : *tertiary 774 | define 775 | min-zoom : 13 776 | line-color : #FEFEB2 777 | line-width : 10:1;13:2;15:10;18:12 778 | border-style : solid 779 | border-color : #FEFEB2 black 20% 780 | border-width : 15% 781 | for : tunnel=yes 782 | define 783 | border-style : dot 784 | for : bridge=yes 785 | define 786 | border-color : #000 787 | draw : line 788 | define 789 | min-zoom : 10 790 | max-zoom : 13 791 | line-color : white black 25% 792 | border-style : none 793 | draw : line 794 | define 795 | min-zoom : 15 796 | max-zoom : 20 797 | draw : text 798 | elseif : *service 799 | define 800 | min-zoom : 13 801 | line-color : white 802 | line-width : 12:0.5;13:1;15:3;18:5 803 | border-style : solid 804 | border-color : #FEFEB2 black 20% 805 | border-width : 15% 806 | for : tunnel=yes 807 | define 808 | border-style : dot 809 | for : bridge=yes 810 | define 811 | border-color : #000 812 | draw : line 813 | draw : text 814 | elseif : *pedestrian 815 | for : not area 816 | define 817 | min-zoom : 13 818 | line-color : #EDEDED 819 | line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 820 | border-style : solid 821 | border-color : #B1B1B1 black 20% 822 | border-width : 15% 823 | for : tunnel=yes 824 | define 825 | border-style : dot 826 | for : bridge=yes 827 | define 828 | border-color : #000 829 | draw : line 830 | draw : text 831 | 832 | elseif : $regex("(.*residential)|(.*unclassified)") 833 | define 834 | min-zoom : 13 835 | line-color : white 836 | line-width : 12:1;13:1.5;15:6;18:15 837 | border-style : solid 838 | border-color : white black 25% 839 | border-width : 15% 840 | for : tunnel=yes 841 | define 842 | border-style : dot 843 | for : bridge=yes 844 | define 845 | border-color : #000 846 | draw : line 847 | define 848 | min-zoom : 10 849 | max-zoom : 13 850 | border-style : none 851 | line-color : white black 25% 852 | draw : line 853 | define 854 | min-zoom : 15 855 | max-zoom : 20 856 | draw : text 857 | elseif : *living_street 858 | define 859 | min-zoom : 13 860 | line-color : white black 25% 861 | line-width : 12:1;13:1.5;15:6;18:15 862 | border-style : none 863 | for : tunnel=yes 864 | define 865 | border-style : dot 866 | for : bridge=yes 867 | define 868 | border-color : #000 869 | draw : line 870 | define 871 | min-zoom : 15 872 | max-zoom : 20 873 | draw : text 874 | elseif : *track 875 | define 876 | min-zoom : 12.5 877 | line-color : #9D7517 878 | line-width : 12.5:0.3;13:0.5;15:1;18:1.5 879 | line-style : dash 880 | border-style : solid 881 | border-color : white 882 | border-width : 100% 883 | border-opacity : 0.3 884 | for : tracktype=grade1 885 | define 886 | line-style : solid 887 | line-width : 12.5:0.5;13:1;15:1.5;18:2 888 | for : tracktype=grade2 889 | define 890 | line-style: dashlong 891 | for : tracktype=grade3 892 | define 893 | line-style: dash 894 | for : tracktype=grade4 895 | define 896 | line-style: dashdot 897 | for : tracktype=grade5 898 | define 899 | line-style: dashdotdot 900 | for : tunnel=yes 901 | define 902 | border-style : dot 903 | for : bridge=yes 904 | define 905 | border-color : #000 906 | draw : line 907 | draw : text 908 | elseif : *footway 909 | define 910 | min-zoom : 13 911 | line-color : #F68474 912 | line-width : 13:0.5;15:1;18:1.5 913 | line-style : dot 914 | border-style : solid 915 | border-color : white 916 | border-width : 100% 917 | border-opacity : 0.3 918 | for : tunnel=yes 919 | define 920 | border-style : dot 921 | for : bridge=yes 922 | define 923 | border-color : #000 924 | draw : line 925 | draw : text 926 | elseif : *cycleway 927 | define 928 | min-zoom : 13 929 | line-color : blue 930 | line-width : 13:0.5;15:1;18:1.5 931 | line-style : dot 932 | border-style : solid 933 | border-color : white 934 | border-width : 100% 935 | border-opacity : 0.3 936 | for : tunnel=yes 937 | define 938 | border-style : dot 939 | for : bridge=yes 940 | define 941 | border-color : #000 942 | border-opacity : 1 943 | draw : line 944 | draw : text 945 | elseif : *path 946 | define 947 | min-zoom : 13 948 | line-color : #6E7C6D 949 | line-width : 13:0.5;15:1;18:1.5 950 | line-style : dash 951 | border-style : solid 952 | border-color : white 953 | border-width : 100% 954 | border-opacity : 0.3 955 | for : tunnel=yes 956 | define 957 | border-style : dot 958 | for : bridge=yes 959 | define 960 | border-color : #000 961 | draw : line 962 | draw : text 963 | else 964 | stop 965 | 966 | target : highway steps 967 | define 968 | min-zoom : 16 969 | shape : custom 970 | shape-def : -1,1, -1,-1, 1,-1, 1,1;Z 971 | shape-spacing : 2 972 | shape-size : 16:1;20:3 973 | shape-aspect : 3 974 | fill-color : #F98072 975 | line-style : none 976 | draw : shape 977 | target : pier 978 | define 979 | line-color : #F1EEE8 980 | line-width : 1:1;20:8 981 | draw : line 982 | 983 | target : line barrier 984 | define 985 | min-zoom : 13 986 | line-color : black 987 | line-width : 1 988 | for:barrier=fence 989 | define 990 | min-zoom:16 991 | line-color:#777 992 | draw : line 993 | 994 | target : bridge foot 995 | define 996 | min-zoom : 13 997 | line-color : white 998 | line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 999 | border-style : solid 1000 | border-color : #FEFEB2 black 20% 1001 | border-width : 15% 1002 | draw : line 1003 | draw : text 1004 | 1005 | target : historic citywalls 1006 | define 1007 | min-zoom : 13 1008 | line-color : #8D968D 1009 | line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:10 1010 | draw : line 1011 | draw : text 1012 | 1013 | define 1014 | 1015 | target : river 1016 | define 1017 | line-color : #B5D0D0 1018 | line-width : 7:1;12:2;14:5 1019 | draw : line 1020 | define 1021 | min-zoom:13 1022 | font-size:13:8;16:12 1023 | text-color:#B5D0D0 1024 | font-weight:normal 1025 | draw:text 1026 | target : stream 1027 | define 1028 | line-color : #B5D0D0 1029 | line-width : 13:1;15:2 1030 | draw : line 1031 | define 1032 | min-zoom:13 1033 | font-size:13:8;16:12 1034 | text-color:#B5D0D0 1035 | font-weight:normal 1036 | draw:text 1037 | 1038 | target : canal 1039 | define 1040 | min-zoom : 12 1041 | line-color : #B5D0D0 1042 | line-width : 12:1;17:8 1043 | draw : line 1044 | define 1045 | min-zoom:13 1046 | font-size:13:8;16:12 1047 | text-color:#B5D0D0 1048 | font-weight:normal 1049 | draw:text 1050 | 1051 | target : drain 1052 | define 1053 | min-zoom : 13 1054 | line-color : #B5D0D0 1055 | line-width : 1 1056 | draw : line 1057 | 1058 | target: parking 1059 | define 1060 | icon-image : icons/SJJB/png/transport_parking.p.32.png 1061 | min-zoom : 15 1062 | icon-width : 16 1063 | draw : icon 1064 | target: bus stop 1065 | define 1066 | icon-image : icons/SJJB/png/transport_bus_stop.p.32.png 1067 | min-zoom : 15 1068 | icon-width : 15:10;18:16 1069 | draw : icon 1070 | target: railway station 1071 | define 1072 | min-zoom : 12 1073 | shape : square 1074 | line-color : #7981B0 1075 | fill-color : #7981B0 1076 | shape-size : 12:5;18:8 1077 | draw : shape 1078 | define 1079 | min-zoom : 14 1080 | font-size : 12 1081 | text-color : #7981B0 1082 | text-offset-vertical : -150% 1083 | draw : text 1084 | target: postbox 1085 | define 1086 | icon-image : icons/SJJB/png/amenity_post_box.p.32.png 1087 | min-zoom : 16 1088 | icon-width : 16 1089 | draw : icon 1090 | target: postoffice 1091 | define 1092 | icon-image : icons/SJJB/png/amenity_post_office.p.32.png 1093 | min-zoom : 16 1094 | icon-width : 16 1095 | draw : icon 1096 | target: telephone 1097 | define 1098 | icon-image : icons/SJJB/png/amenity_telephone.p.32.png 1099 | min-zoom : 16 1100 | icon-width : 16 1101 | draw : icon 1102 | 1103 | target: fire station 1104 | define 1105 | icon-image : icons/SJJB/png/amenity_firestation.p.32.png 1106 | min-zoom : 16 1107 | icon-width : 16 1108 | draw : icon 1109 | target: hospital 1110 | define 1111 | icon-image : icons/SJJB/png/health_hospital.p.32.png 1112 | min-zoom : 15 1113 | icon-width : 16 1114 | draw : icon 1115 | define 1116 | min-zoom : 16 1117 | text-offset-vertical : 150% 1118 | text-color : #DA0092 1119 | draw : text 1120 | target: police station 1121 | define 1122 | icon-image : icons/SJJB/png/amenity_police.p.32.png 1123 | min-zoom : 16 1124 | icon-width : 16 1125 | draw : icon 1126 | target: cafe 1127 | define 1128 | icon-image : icons/SJJB/png/food_cafe.p.32.png 1129 | min-zoom : 16 1130 | icon-width : 16 1131 | draw : icon 1132 | target: recycling 1133 | define 1134 | icon-image : icons/SJJB/png/amenity_recycling.p.32.png 1135 | min-zoom : 16 1136 | icon-width : 16 1137 | draw : icon 1138 | target: supermarket 1139 | define 1140 | icon-image : icons/SJJB/png/shopping_supermarket.p.32.png 1141 | min-zoom : 16 1142 | icon-width : 16 1143 | draw : icon 1144 | target: diy 1145 | define 1146 | icon-image : icons/SJJB/png/shopping_diy.p.32.png 1147 | min-zoom : 16 1148 | icon-width : 16 1149 | draw : icon 1150 | target: convenience 1151 | define 1152 | icon-image : icons/SJJB/png/shopping_convenience.p.32.png 1153 | min-zoom : 16 1154 | icon-width : 16 1155 | draw : icon 1156 | 1157 | target: mini roundabout 1158 | define 1159 | icon-image : icons/SJJB/png/transport_roundabout_anticlockwise.p.32.png 1160 | min-zoom : 16 1161 | icon-width : 9 1162 | draw : icon 1163 | target: church 1164 | define 1165 | icon-image : icons/SJJB/png/place_of_worship_christian3.p.32.png 1166 | min-zoom : 16 1167 | icon-width : 16 1168 | define 1169 | text-offset-vertical : 150% 1170 | draw : text 1171 | draw : icon 1172 | target: drinking water 1173 | define 1174 | icon-image : icons/SJJB/png/food_drinkingtap.p.32.png 1175 | min-zoom : 16 1176 | icon-width : 16 1177 | draw : icon 1178 | target: bank 1179 | define 1180 | min-zoom : 17 1181 | text-color : #000000 1182 | text-offset-vertical : 150% 1183 | draw : text 1184 | define 1185 | icon-image : icons/SJJB/png/money_bank2.p.32.png 1186 | min-zoom : 16 1187 | icon-width : 16 1188 | draw : icon 1189 | target: atm 1190 | define 1191 | min-zoom : 17 1192 | text-color : #000000 1193 | text-offset-vertical : 150% 1194 | draw : text 1195 | define 1196 | icon-image : icons/SJJB/png/money_atm2.p.32.png 1197 | min-zoom : 16 1198 | icon-width : 16 1199 | draw : icon 1200 | target: restaurant 1201 | define 1202 | min-zoom : 17 1203 | text-color : #734a08 1204 | text-offset-vertical : 150% 1205 | font-size : 10 1206 | draw : text 1207 | define 1208 | icon-image : icons/SJJB/png/food_restaurant.p.32.png 1209 | min-zoom : 16 1210 | icon-width : 16 1211 | draw : icon 1212 | target: hair dresser 1213 | define 1214 | icon-image : icons/SJJB/png/shopping_hairdresser.p.32.png 1215 | min-zoom : 16 1216 | icon-width : 16 1217 | draw : icon 1218 | 1219 | target: toilets 1220 | define 1221 | icon-image : icons/SJJB/png/amenity_toilets.p.32.png 1222 | min-zoom : 16 1223 | icon-width : 16 1224 | draw : icon 1225 | target: pharmacy 1226 | define 1227 | icon-image : icons/SJJB/png/health_pharmacy.p.32.png 1228 | min-zoom : 16 1229 | icon-width : 16 1230 | draw : icon 1231 | target: library 1232 | define 1233 | icon-image : icons/SJJB/png/amenity_library.p.32.png 1234 | min-zoom : 16 1235 | icon-width : 16 1236 | draw : icon 1237 | target: bakery 1238 | define 1239 | min-zoom : 17 1240 | text-color : #2B80FE 1241 | text-offset-vertical : 150% 1242 | draw : text 1243 | define 1244 | icon-image : icons/SJJB/png/shopping_bakery.p.32.png 1245 | min-zoom : 16 1246 | icon-width : 16 1247 | draw : icon 1248 | define 1249 | min-zoom : 17 1250 | text-color : #AA33AA 1251 | text-offset-vertical : 150% 1252 | font-size : 10 1253 | draw : text 1254 | target: tree 1255 | define 1256 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/tree2.png 1257 | min-zoom : 16 1258 | icon-width : 6 1259 | draw : icon 1260 | target: memorial 1261 | define 1262 | icon-image : icons/SJJB/png/tourist_memorial.p.32.png 1263 | min-zoom : 16 1264 | icon-width : 16 1265 | draw : icon 1266 | target: school 1267 | define 1268 | icon-image : icons/SJJB/png/education_school.p.32.png 1269 | min-zoom : 16 1270 | icon-width : 16 1271 | draw : icon 1272 | define 1273 | text-offset-vertical : 150% 1274 | draw : text 1275 | target : puffin 1276 | define 1277 | icon-image : icons/SJJB/png/transport_traffic_lights.p.32.png 1278 | min-zoom : 16 1279 | icon-width : 16 1280 | draw : icon 1281 | 1282 | target : gate 1283 | define 1284 | icon-image : icons/SJJB/png/barrier_gate.p.32.png 1285 | min-zoom : 16 1286 | icon-width : 7 1287 | draw : icon 1288 | 1289 | target : tourism* 1290 | define 1291 | min-zoom : 17 1292 | text-color : #2B80FE 1293 | text-offset-vertical : 150% 1294 | draw : text 1295 | if : *hotel 1296 | define 1297 | icon-image : icons/SJJB/png/accommodation_hotel2.p.32.png 1298 | min-zoom : 16 1299 | icon-width : 16 1300 | 1301 | elseif : *viewpoint 1302 | define 1303 | icon-image : icons/SJJB/png/tourist_view_point.p.32.png 1304 | min-zoom : 16 1305 | icon-width : 16 1306 | 1307 | elseif : *museum 1308 | define 1309 | icon-image : icons/SJJB/png/tourist_museum.p.32.png 1310 | min-zoom : 16 1311 | icon-width : 16 1312 | else 1313 | stop 1314 | draw : icon 1315 | 1316 | target : amenity* 1317 | define 1318 | min-zoom : 17 1319 | text-color : #856951 1320 | text-offset-vertical : 150% 1321 | draw : text 1322 | 1323 | define 1324 | min-zoom : 16 1325 | icon-width : 16 1326 | if : *pub 1327 | define 1328 | icon-image : icons/SJJB/png/food_pub.p.32.png 1329 | elseif : *fast_food 1330 | define 1331 | icon-image : icons/SJJB/png/food_fastfood2.p.32.png 1332 | else 1333 | stop 1334 | draw : icon 1335 | 1336 | 1337 | target: contour* 1338 | define 1339 | line-color : #7f3300 1340 | line-opacity : 0.35 1341 | curved : true 1342 | if : *major 1343 | define 1344 | map.rendering.contour.label : true 1345 | min-zoom : 9 1346 | line-width : 11:0.1;11.9:1;12:2 1347 | font-size : 10 1348 | font-style : italic 1349 | font-weight : normal 1350 | text-halo-width : 35% 1351 | text-halo-opacity : 1 1352 | text-halo-color : #F1EEE8 1353 | else 1354 | define 1355 | min-zoom : 12 1356 | line-width : 1 1357 | draw : contour 1358 | 1359 | target: coastline 1360 | define 1361 | line-color : #B5D0D0 1362 | line-width : 2 1363 | draw : line 1364 | -------------------------------------------------------------------------------- /UserRules/hc.mrules: -------------------------------------------------------------------------------- 1 | // origin: https://wiki.openstreetmap.org/wiki/User:Z13/hc.mrules_Version_2011-03-06 2 | 3 | // Copied from Maperitive default rules. 4 | // Modified for higher contrast for use PDA outdoor 5 | // Some stuff added. 6 | // User: z13 14 October 2010 7 | 8 | 9 | features 10 | points, areas 11 | 12 | 13 | tree : natural=tree 14 | bus stop : highway=bus_stop OR amenity=bus_station 15 | // z13 16 | railway tram_stop : railway=tram_stop 17 | railway station : railway=station OR railway=halt 18 | railway level_crossing : railway=level_crossing 19 | mini roundabout : highway=mini_roundabout 20 | turning circle : highway=turning_circle 21 | 22 | barrier gate : node[barrier=gate] 23 | barrier lift_gate : node[barrier=lift_gate] 24 | barrier bollard : node[barrier=bollard] 25 | barrier all : node[barrier] 26 | 27 | // z13 28 | traffic signals : highway=traffic_signals 29 | 30 | // tourism 31 | 32 | tourism viewpoint : tourism=viewpoint 33 | tourism hotel : node[tourism=hotel] area[tourism=hotel] 34 | tourism museum : node[tourism=museum] area[tourism=museum] 35 | tourism information office : tourism=information AND information=office 36 | tourism information : tourism=information AND NOT information=office 37 | tourism picnic_site : tourism=picnic_site 38 | 39 | 40 | memorial : historic=memorial 41 | 42 | // amenity 43 | amenity parking : amenity=parking 44 | // 2011-03-06 45 | amenity fuel : amenity=fuel 46 | amenity postbox : amenity=post_box 47 | amenity postoffice : amenity=post_office 48 | amenity telephone : amenity=telephone 49 | amenity fire station : amenity=fire_station 50 | amenity police station : amenity=police 51 | amenity recycling : amenity=recycling 52 | amenity place_of_worship_christian : amenity=place_of_worship AND religion=christian 53 | amenity place_of_worship_other : amenity=place_of_worship AND NOT religion=christian 54 | amenity drinking water : amenity=drinking_water 55 | amenity bank : amenity=bank 56 | amenity atm : amenity=atm 57 | amenity toilets : amenity=toilets 58 | amenity library : amenity=library 59 | amenity pub : amenity=pub 60 | amenity fast_food : amenity=fast_food 61 | amenity restaurant : amenity=restaurant 62 | amenity cafe : amenity=cafe 63 | 64 | amenity courthouse : amenity=courthouse 65 | amenity prison : amenity=prison 66 | 67 | 68 | amenity school : [amenity=school OR amenity=university OR amenity=college] area[amenity=school OR amenity=university OR amenity=college] 69 | amenity kindergarten : amenity=kindergarten 70 | 71 | amenity doctors : amenity=doctors 72 | amenity dentist : amenity=dentist 73 | amenity veterinary : amenity=veterinary 74 | 75 | amenity bench : amenity=bench 76 | amenity shelter : amenity=shelter 77 | 78 | amenity townhall : amenity=townhall 79 | amenity theater : amenity=theatre 80 | 81 | amenity hospital : amenity=hospital 82 | amenity pharmacy : amenity=pharmacy 83 | 84 | amenity all : [amenity] 85 | 86 | // shop 87 | 88 | shop alcohol : shop=alcohol 89 | shop anime : shop=anime 90 | shop art : shop=art 91 | shop bakery : shop=bakery 92 | shop bathroom_furnishing : shop=bathroom_furnishing 93 | shop beauty : shop=beauty 94 | shop bed : shop=bed 95 | shop beverages : shop=beverages 96 | shop bicycle : shop=bicycle 97 | shop books : shop=books 98 | shop boutique : shop=boutique 99 | shop butcher : shop=butcher 100 | shop car : shop=car 101 | shop car_repair : shop=car_repair 102 | shop charity : shop=charity 103 | shop chemist : shop=chemist 104 | shop clothes : shop=clothes 105 | shop computer : shop=computer 106 | shop confectionery : shop=confectionery 107 | shop convenience : shop=convenience 108 | shop copyshop : shop=copyshop 109 | shop curtain : shop=curtain 110 | shop deli : shop=deli 111 | shop department_store : shop=department_store 112 | shop dive : shop=dive 113 | shop doityourself : shop=doityourself 114 | shop drugstore : shop=drugstore 115 | shop dry_cleaning : shop=dry_cleaning 116 | shop electronics : shop=electronics 117 | shop erotic : shop=erotic 118 | shop fabric : shop=fabric 119 | shop farm : shop=farm 120 | shop florist : shop=florist 121 | shop frame : shop=frame 122 | shop funeral_directors : shop=funeral_directors 123 | shop furnace : shop=furnace 124 | shop furniture : shop=furniture 125 | shop garden_centre : shop=garden_centre 126 | shop general : shop=general 127 | shop gift : shop=gift 128 | shop glaziery : shop=glaziery 129 | shop greengrocer : shop=greengrocer 130 | shop hair dresser : shop=hairdresser 131 | shop hardware : shop=hardware 132 | shop hearing_aids : shop=hearing_aids 133 | shop hifi : shop=hifi 134 | shop hunting : shop=hunting 135 | shop interior_decoration : shop=interior_decoration 136 | shop jewelry : shop=jewelry 137 | shop kiosk : shop=kiosk 138 | shop kitchen : shop=kitchen 139 | shop laundry : shop=laundry 140 | shop mall : shop=mall 141 | shop massage : shop=massage 142 | shop mobile_phone : shop=mobile_phone 143 | shop money_lender : shop=money_lender 144 | shop motorcycle : shop=motorcycle 145 | shop musical_instrument : shop=musical_instrument 146 | shop newsagent : shop=newsagent 147 | shop optician : shop=optician 148 | shop organic : shop=organic 149 | shop outdoor : shop=outdoor 150 | shop paint : shop=paint 151 | shop pawnbroker : shop=pawnbroker 152 | shop pet : shop=pet 153 | shop radiotechnics : shop=radiotechnics 154 | shop seafood : shop=seafood 155 | shop second_hand : shop=second_hand 156 | shop shoes : shop=shoes 157 | shop sports : shop=sports 158 | shop stationery : shop=stationery 159 | shop supermarket : shop=supermarket 160 | shop tattoo : shop=tattoo 161 | shop tobacco : shop=tobacco 162 | shop toys : shop=toys 163 | shop trade : shop=trade 164 | shop vacant : shop=vacant 165 | shop vacuum_cleaner : shop=vacuum_cleaner 166 | shop variety_store : shop=variety_store 167 | shop video : shop=video 168 | 169 | // other 170 | shop all : node[shop] area[shop] 171 | 172 | // 2011-03-05 173 | craft all : node[craft] area[craft] 174 | 175 | // 2011-03-05 176 | addr housenumber : node[addr:housenumber] area[addr:housenumber] 177 | 178 | // 2011-03-05 Powerlines 179 | power generator : power=generator 180 | power station : power=station 181 | power substation : power=sub_station 182 | 183 | power pole : power=pole 184 | power tower : power=tower 185 | 186 | 187 | 188 | areas 189 | building : building=yes 190 | water : natural=water OR waterway=riverbank OR landuse=reservoir OR landuse=basin 191 | 192 | forest : landuse=forest OR natural=wood 193 | 194 | fell : natural=fell 195 | glacier : natural=glacier 196 | 197 | national park : boundary=national_park 198 | 199 | meadow : natural=meadow OR landuse=meadow 200 | nature reserve : leisure=nature_reserve 201 | playground : leisure=playground 202 | track : leisure=track 203 | 204 | military : landuse=military OR military=barracks 205 | leisure park : leisure=park 206 | leisure garden : leisure=garden 207 | leisure pitch : leisure=pitch 208 | leisure stadium : leisure=stadium 209 | 210 | graveyard : amenity=grave_yard OR landuse=cemetery 211 | village green : landuse=village_green 212 | landuse farmland : landuse=farm OR landuse=farmland 213 | landuse grass : landuse=grass 214 | landuse allotments : landuse=allotments 215 | landuse retail : landuse=retail 216 | landuse industrial : landuse=industrial 217 | landuse commercial : landuse=commercial 218 | landuse residential : landuse=residential 219 | 220 | aeroway apron : aeroway=apron 221 | aeroway terminal : aeroway=terminal 222 | 223 | lines 224 | coastline : natural=coastline 225 | 226 | river : waterway=river 227 | stream : waterway=stream 228 | canal : waterway=canal 229 | drain : waterway=drain 230 | 231 | railway : railway=rail 232 | 233 | // z13 234 | tram : railway=tram 235 | 236 | line barrier : barrier=wall OR barrier=fence 237 | 238 | highway motorway : highway=motorway 239 | highway motorway link : highway=motorway_link 240 | highway trunk : highway=trunk 241 | highway trunk link: highway=trunk_link 242 | highway primary link : highway=primary_link 243 | highway primary : highway=primary 244 | highway secondary : highway=secondary 245 | highway tertiary : highway=tertiary 246 | highway unclassified : highway=unclassified 247 | highway residential : highway=residential 248 | highway service : highway=service 249 | highway pedestrian : highway=pedestrian 250 | highway track : highway=track 251 | highway footway : highway=footway 252 | highway cycleway : highway=cycleway 253 | highway path : highway=path 254 | highway private : access=private AND highway 255 | highway steps : highway=steps 256 | // z13 13-10-2010 257 | highway livingstreet : highway=living_street 258 | // z13 14-10-2010 259 | highway road : highway=road 260 | 261 | // z13 09-10-2010 262 | construction motorway : highway=construction AND construction=motorway 263 | construction motorway link : highway=construction AND construction=motorway_link 264 | construction trunk : highway=construction AND construction=trunk 265 | construction trunk link: highway=construction AND construction=trunk_link 266 | construction primary link : highway=construction AND construction=primary_link 267 | construction primary : highway=construction AND construction=primary 268 | construction secondary : highway=construction AND construction=secondary 269 | construction tertiary : highway=construction AND construction=tertiary 270 | construction unclassified : highway=construction AND construction=unclassified 271 | construction residential : highway=construction AND construction=residential 272 | construction service : highway=construction AND construction=service 273 | construction pedestrian : highway=construction AND construction=pedestrian 274 | construction track : highway=construction AND construction=track 275 | construction footway : highway=construction AND construction=footway 276 | construction cycleway : highway=construction AND construction=cycleway 277 | construction path : highway=construction AND construction=path 278 | construction steps : highway=construction AND construction=steps 279 | construction livingstreet : highway=construction AND construction=living_street 280 | // z13 14-10-2010 281 | construction road : highway=road AND construction=road 282 | 283 | 284 | 285 | // bridge foot : bridge=yes AND (foot=yes OR highway=footway) 286 | historic citywalls : historic=citywalls OR historic=city_wall 287 | 288 | aeroway runway : aeroway=runway 289 | aeroway taxiway : aeroway=taxiway 290 | 291 | boundary country : boundary=administrative AND (admin_level=2 OR admin_level=4) 292 | boundary province : boundary=administrative AND admin_level=6 293 | boundary municipal : boundary=administrative AND admin_level=8 294 | 295 | contours major : contour[elevation_multiplier=50] 296 | contours minor : contour[elevation_multiplier=10 and not elevation_multiplier=50] 297 | 298 | gps tracks : gpstrack[] 299 | gps routes : gpsroute[] 300 | 301 | oneway1 : oneway=yes OR oneway=true OR oneway=-1 302 | 303 | // 2011-03-05 Powerlines 304 | power line : power=line 305 | power minor line : power=minor_line 306 | 307 | 308 | // Routes 309 | // route ncn : relation[type=route AND route=bicycle AND network=ncn] 310 | // route byway : relation[type=route AND route=bicycle AND network="National Byway"] 311 | // route foot : relation[type=route AND route=foot] 312 | 313 | points 314 | place city : place=city 315 | place town : place=town 316 | place village : place=village 317 | place hamlet : place=hamlet 318 | place suburb : place=suburb 319 | peak : natural=peak 320 | 321 | gps waypoints : gpswaypoint[] 322 | gps trackpoints: gpstrack[].gpspoint[] 323 | gps routepoints: gpsroute[].gpspoint[] 324 | 325 | // z13 326 | 327 | properties 328 | map-background-color : #F1EEE8 329 | map-background-opacity : 1 330 | map-sea-color : #B5D0D0 331 | font-weight : bold 332 | font-family : Verdana 333 | text-max-width : 7 334 | text-halo-width : 25% 335 | text-halo-opacity : 0.75 336 | text-align-horizontal : center 337 | text-align-vertical : near 338 | text-offset-vertical : 0 339 | font-stretch : 0.9 340 | 341 | rules 342 | 343 | // z13 2.10.2010 344 | target: oneway1 345 | define 346 | min-zoom : 15 347 | shape : custom 348 | shape-def : 60,0,20,-40,20,-15,-60,-15,-60,15,20,15,20,40;Z 349 | shape-size : 12 350 | shape-aspect : 0.75 351 | shape-spacing : 6 352 | fill-color : #6C70D4 353 | line-style : none 354 | for : oneway=-1 355 | define 356 | angle : 180 357 | draw : shape 358 | 359 | target: gps tracks 360 | define 361 | line-color : red 362 | line-opacity : 0.75 363 | min-zoom : 5 364 | line-width : 5 365 | draw : line 366 | 367 | target: gps routes 368 | define 369 | line-color : blue 370 | line-opacity : 0.75 371 | line-style : dash 372 | min-zoom : 5 373 | line-width : 5 374 | draw : line 375 | 376 | target : gps waypoints 377 | define 378 | shape : circle 379 | shape-size : 8 380 | line-color : green 381 | fill-opacity : 0 382 | draw : shape 383 | 384 | target : gps trackpoints 385 | define 386 | min-zoom : 17 387 | shape : square 388 | shape-size : 10 389 | line-color : green 390 | line-width : 1 391 | fill-opacity : 0 392 | draw : shape 393 | 394 | 395 | target : gps routepoints 396 | define 397 | min-zoom : 12 398 | shape : diamond 399 | shape-size : 10 400 | line-color : green 401 | line-width : 1 402 | fill-opacity : 0 403 | draw : shape 404 | 405 | target : $featuretype(point) 406 | if : place* 407 | define 408 | font-weight : bold 409 | 410 | if : *city 411 | define 412 | font-size : 6:8;14:20 413 | min-zoom : 6 414 | max-zoom : 14 415 | elseif : *town 416 | define 417 | font-size : 9:8;12:10;20:20 418 | min-zoom : 9 419 | elseif : *village 420 | define 421 | font-size : 12:10;20:20 422 | min-zoom : 12 423 | elseif : *hamlet 424 | define 425 | font-size : 14:8;20:16 426 | min-zoom : 14 427 | elseif : *suburb 428 | define 429 | font-size : 13:10;20:20 430 | min-zoom : 13 431 | text-color : white black 50% 432 | draw : text 433 | 434 | target : playground 435 | define 436 | fill-color : #CCFEF0 437 | line-style : none 438 | draw : fill 439 | define 440 | line-color : #ADCCB5 441 | line-width : 1 442 | draw : line 443 | define 444 | min-zoom : 17 445 | draw : text 446 | 447 | target : $featuretype(area) 448 | define 449 | line-style : none 450 | line-width : 1 451 | if : forest 452 | define 453 | min-zoom : 9 454 | fill-color : #8DC56C 455 | elseif : landuse farmland 456 | define 457 | min-zoom : 9 458 | fill-color : #E9D8BD 459 | elseif : fell 460 | define 461 | fill-color : #C5FF5B black 10% 462 | elseif : water 463 | define 464 | // z13 #B5D0D0 -> blue 465 | fill-color : #5555ff 466 | elseif : landuse residential 467 | define 468 | fill-color : #DCDCDC 469 | elseif : landuse grass 470 | define 471 | fill-color : #CFECA8 472 | elseif : landuse allotments 473 | define 474 | fill-color : #C8B084 475 | elseif : meadow 476 | define 477 | fill-color : #CFECA8 478 | elseif : nature reserve 479 | define 480 | fill-color : #ABDE96 481 | elseif : amenity parking 482 | define 483 | fill-color : #F6EEB7 484 | elseif : leisure park 485 | define 486 | fill-color : #C0F6B0 487 | elseif : leisure garden 488 | define 489 | fill-color : #CFECA8 490 | elseif : graveyard 491 | define 492 | fill-color : #A9CAAE 493 | elseif : building 494 | define 495 | fill-color : #BCA9A9 496 | elseif : leisure pitch 497 | define 498 | fill-color : #89D2AE 499 | elseif : leisure stadium 500 | define 501 | fill-color : #33CC99 502 | elseif : track 503 | define 504 | fill-color : #74DCBA 505 | elseif : village green 506 | define 507 | fill-color : #CFECA8 508 | elseif : landuse retail 509 | define 510 | fill-color : #F0D9D9 511 | line-color : #F4A19E 512 | draw : line 513 | elseif : landuse industrial 514 | define 515 | fill-color : #DFD1D6 516 | elseif : landuse commercial 517 | define 518 | fill-color : #EFC8C8 519 | elseif : military 520 | define 521 | fill-color : #FE9898 522 | elseif : aeroway* 523 | define 524 | fill-color : #E9D1FE 525 | elseif : glacier 526 | define 527 | fill-color : #DDECEC 528 | line-style : dash 529 | line-color : #DDECEC black 10% 530 | else 531 | stop 532 | draw : fill 533 | define 534 | min-zoom : 17 535 | draw : text 536 | 537 | // aeroway taxiway : aeroway=taxiway 538 | // aeroway apron : aeroway=apron 539 | // aeroway terminal : aeroway=terminal 540 | 541 | target : aeroway runway 542 | define 543 | min-zoom : 11 544 | line-color : #BBBBCC 545 | line-width : 11:2;15:20 546 | draw : line 547 | 548 | target : aeroway taxiway 549 | define 550 | min-zoom : 11 551 | line-color : #BBBBCC 552 | line-width : 11:1;15:6 553 | draw : line 554 | 555 | target : glacier 556 | define 557 | min-zoom : 10 558 | text-color : #A3A3FE 559 | draw : text 560 | 561 | // target : academic 562 | target : amenity school 563 | define 564 | min-zoom : 15 565 | icon-image : icons/SJJB/png/education_school.n.32.png 566 | icon-width : 16 567 | draw : icon 568 | define 569 | min-zoom : 17 570 | draw : text 571 | define 572 | fill-color : #F0F0D8 573 | line-style : none 574 | draw : fill 575 | define 576 | line-color : #E5D2CC 577 | line-width : 1 578 | draw : line 579 | 580 | target: amenity kindergarten 581 | define 582 | icon-image : icons/SJJB/png/education_school.p.32.png 583 | min-zoom : 15 584 | icon-width : 16 585 | draw : icon 586 | define 587 | min-zoom : 17 588 | text-color : green black 50% 589 | draw : text 590 | 591 | 592 | 593 | // z13 entfernt 594 | target : route* 595 | define 596 | line-width : 11:1.1;13:2.2;15:20;18:15 597 | line-opacity : 0.5 598 | if : *ncn 599 | define 600 | line-color : red 601 | text : ref 602 | draw : line 603 | draw : text 604 | elseif : *byway 605 | define 606 | line-color : brown 607 | line-style : dash 608 | text : name 609 | draw : line 610 | draw : text 611 | elseif : *foot 612 | define 613 | line-width : 13:4 614 | line-offset : 12.9:0;13:2 615 | line-offset-sides : right 616 | line-color : red 617 | line-opacity : 1 618 | line-style : dot 619 | draw : line 620 | else 621 | stop 622 | 623 | target : boundary* 624 | define 625 | line-color : #9E1A99 626 | // z13 0.5 -> 0.1 627 | line-opacity : 0.1 628 | if : boundary country 629 | define 630 | line-width : 6:1;9:3;10:6 631 | elseif : boundary province 632 | define 633 | min-zoom : 4 634 | line-width : 4:1;11:3 635 | line-style : dash 636 | elseif : boundary municipal 637 | define 638 | min-zoom : 12 639 | line-width : 12:1;14:2 640 | line-style : dash 641 | draw : line 642 | 643 | target : national park 644 | define 645 | fill-color : #8DC56C 646 | fill-opacity : 0.2 647 | line-style : none 648 | draw : fill 649 | define 650 | line-color : #8DC56C black 20% 651 | line-opacity : 0.5 652 | line-width : 3 653 | line-style : dash 654 | font-size : 3:3;12:12 655 | text-color : green 656 | font-weight : normal 657 | draw : line 658 | draw : text 659 | 660 | target : peak 661 | define 662 | shape : triangle 663 | shape-size : 7 664 | fill-color : #D08F55 665 | line-style : none 666 | min-zoom : 11 667 | draw : shape 668 | define 669 | text-color : #ae4242 670 | min-zoom : 13 671 | font-size : 10 672 | text-max-width : 10 673 | text-offset-vertical : 1 674 | text-align-vertical : far 675 | draw : text 676 | 677 | target : railway 678 | define 679 | min-zoom : 13 680 | line-style : solid 681 | line-color : gray 682 | line-width : 3 683 | border-style : solid 684 | border-color : gray 685 | border-width : 1 686 | for : bridge=yes 687 | define 688 | line-color : white gray 50% 689 | border-color : black 690 | border-width : 2 691 | draw : line 692 | define 693 | min-zoom : 13 694 | line-style : dashlong 695 | line-color : white 696 | line-width : 3 697 | border-style : none 698 | draw : line 699 | draw : text 700 | define 701 | min-zoom : 6 702 | max-zoom : 13 703 | line-style : none 704 | line-color : white black 30% 705 | line-width : 6:1;8:1;12:1.5 706 | draw : line 707 | // z13 16-10-2010 708 | target : tram 709 | define 710 | min-zoom : 10 711 | line-style : solid 712 | line-color : black 713 | line-width : 10:0.5;12:0.8;16:2.5;17:3 714 | draw : line 715 | 716 | target : highway private 717 | define 718 | line-width : 4 719 | line-style : dash 720 | line-color : #F7D4D4 721 | draw : line 722 | 723 | // z13 09-10-2010 724 | target : construction* 725 | define 726 | font-size : 15:7;18:10 727 | font-weight : bold 728 | 729 | 730 | define 731 | line-join : round 732 | line-start-cap : round 733 | line-end-cap : round 734 | border-style : solid 735 | if : *motorway* 736 | if : *link 737 | define 738 | line-width : 7:1;12:3;13:4;16:5;18:6 739 | else 740 | define 741 | line-width : 7:1;9:2;12:3;13:7;16:10;18:12 742 | 743 | // schwarzer Rand 744 | define 745 | min-zoom : 12 746 | line-color : white 747 | border-color : black 748 | border-width : 15% 749 | line-style : solid 750 | for : bridge=yes 751 | define 752 | border-width : 35% 753 | draw : line 754 | 755 | define 756 | min-zoom : 12 757 | line-color : blue white 50% 758 | line-style : dot 759 | draw : line 760 | 761 | define 762 | min-zoom : 7 763 | max-zoom : 12 764 | line-color : blue white 50% 765 | line-style : dot 766 | border-style : none 767 | draw : line 768 | 769 | elseif : *trunk* 770 | define 771 | line-width : 7:1;9:2;12:3;13:7;16:10;18:12 772 | // schwarzer Rand 773 | define 774 | min-zoom : 12 775 | line-color : white 776 | border-color : black 777 | border-width : 15% 778 | line-style : solid 779 | for : bridge=yes 780 | define 781 | border-width : 35% 782 | draw : line 783 | define 784 | min-zoom : 12 785 | line-style : dot 786 | line-color : green 787 | border-style : none 788 | draw : line 789 | draw : text 790 | define 791 | min-zoom : 7 792 | max-zoom : 12 793 | line-color : green 794 | line-style : dot 795 | border-style : none 796 | draw : line 797 | elseif : *primary* 798 | define 799 | line-width : 7:1;9:2;12:3;13:7;16:10;18:12 800 | // schwarzer Rand 801 | define 802 | min-zoom : 12 803 | line-color : white 804 | border-color : black 805 | border-width : 15% 806 | line-style : solid 807 | for : bridge=yes 808 | define 809 | border-width : 35% 810 | draw : line 811 | define 812 | min-zoom : 12 813 | line-style : dot 814 | line-color : #ECA2A3 815 | border-style : none 816 | draw : line 817 | draw : text 818 | define 819 | min-zoom : 7 820 | max-zoom : 12 821 | line-color : #ECA2A3 822 | line-style : dot 823 | border-style : none 824 | draw : line 825 | 826 | elseif : *secondary 827 | define 828 | line-width : 11:1;13:2;15:10;18:12 829 | // schwarzer Rand 830 | define 831 | min-zoom : 12 832 | line-color : #FDD6A4 833 | border-color : black 834 | border-width : 15% 835 | line-style : solid 836 | for : bridge=yes 837 | define 838 | border-width : 35% 839 | draw : line 840 | define 841 | min-zoom : 12 842 | line-style : dot 843 | line-color : #FDD6A4 black 35% 844 | border-style : none 845 | draw : line 846 | draw : text 847 | define 848 | min-zoom : 7 849 | max-zoom : 12 850 | line-color : #FDD6A4 black 35% 851 | line-style : dot 852 | border-style : none 853 | draw : line 854 | elseif : *tertiary 855 | define 856 | line-width : 11:1;13:2;15:10;18:12 857 | // schwarzer Rand 858 | define 859 | min-zoom : 12 860 | line-color : #FEFEB2 861 | border-color : black 862 | border-width : 15% 863 | line-style : solid 864 | for : bridge=yes 865 | define 866 | border-width : 35% 867 | draw : line 868 | define 869 | min-zoom : 12 870 | line-style : dot 871 | line-color : #FEFEB2 black 35% 872 | border-style : none 873 | draw : line 874 | draw : text 875 | define 876 | min-zoom : 7 877 | max-zoom : 12 878 | line-color : #FEFEB2 black 25% 879 | line-style : dot 880 | border-style : none 881 | draw : line 882 | elseif : *service 883 | define 884 | line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 885 | // schwarzer Rand 886 | define 887 | min-zoom : 13 888 | line-color : white 889 | border-color : black 890 | border-width : 25% 891 | line-style : solid 892 | for : bridge=yes 893 | define 894 | border-width : 35% 895 | draw : line 896 | define 897 | min-zoom : 13 898 | line-style : dot 899 | line-color : white black 15% 900 | border-style : none 901 | draw : line 902 | draw : text 903 | 904 | elseif : *pedestrian 905 | define 906 | min-zoom : 13 907 | line-color : white black 25% 908 | line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 909 | border-style : dot 910 | // z13 20 -> 100% 911 | border-color : black 912 | border-width : 15% 913 | for : bridge=yes 914 | define 915 | border-width : 30% 916 | draw : line 917 | 918 | elseif : $regex("(.*residential)|(.*unclassified)") 919 | define 920 | line-width : 12:1;13:1.5;15:6;16:8;18:12 921 | // schwarzer Rand 922 | define 923 | min-zoom : 13 924 | line-color : white 925 | border-color : black 926 | border-width : 25% 927 | line-style : solid 928 | for : bridge=yes 929 | define 930 | border-width : 35% 931 | draw : line 932 | define 933 | min-zoom : 13 934 | line-style : dot 935 | line-color : white black 15% 936 | border-style : none 937 | draw : line 938 | draw : text 939 | 940 | elseif : *track 941 | define 942 | min-zoom : 12.5 943 | // z13 #9D7517 -> black 944 | line-color : black 945 | line-width : 1.5 946 | line-style : dash 947 | border-color : white 948 | border-width : 100% 949 | border-opacity : 0.3 950 | for : bridge=yes 951 | define 952 | line-style : solid 953 | line-color : white black 20% 954 | line-width : 1.5 955 | border-color : black 956 | border-width : 120% 957 | border-opacity : 1 958 | draw : line 959 | elseif : *footway 960 | define 961 | min-zoom : 13 962 | // z13 #F68474 -> black 963 | line-color : black 964 | line-width : 1.5 965 | line-style : dot 966 | border-color : white 967 | border-width : 100% 968 | border-opacity : 0.3 969 | for : bridge=yes 970 | define 971 | line-style : dot 972 | line-color : white 973 | line-width : 1.5 974 | border-color : white black 75% 975 | border-width : 120% 976 | border-opacity : 1 977 | draw : line 978 | draw : text 979 | elseif : *cycleway 980 | define 981 | min-zoom : 13 982 | line-color : blue 983 | line-width : 1.5 984 | line-style : dot 985 | border-color : white 986 | border-width : 100% 987 | border-opacity : 0.3 988 | for : bridge=yes 989 | define 990 | line-style : dot 991 | line-color : white 992 | line-width : 1.5 993 | border-color : blue black 25% 994 | border-width : 120% 995 | border-opacity : 1 996 | draw : line 997 | elseif : *path 998 | define 999 | min-zoom : 13 1000 | line-color : #6E7C6D 1001 | line-width : 1.5 1002 | line-style : dash 1003 | border-color : white 1004 | border-width : 100% 1005 | border-opacity : 0.3 1006 | for : bridge=yes 1007 | define 1008 | line-style : dash 1009 | line-color : white 1010 | line-width : 1.5 1011 | border-color : #6E7C6D black 50% 1012 | border-width : 80% 1013 | border-opacity : 1 1014 | draw : line 1015 | 1016 | //z13 13-10-2010 1017 | elseif : *livingstreet 1018 | define 1019 | line-width : 12:1;13:1.5;15:6;16:8;18:12 1020 | // schwarzer Rand 1021 | define 1022 | min-zoom : 13 1023 | line-color : white 1024 | border-color : black 1025 | border-width : 25% 1026 | line-style : solid 1027 | for : bridge=yes 1028 | define 1029 | border-width : 35% 1030 | draw : line 1031 | define 1032 | min-zoom : 13 1033 | line-style : dot 1034 | line-color : #AAAAAA 1035 | border-style : none 1036 | draw : line 1037 | draw : text 1038 | 1039 | //z13 14-10-2010 1040 | elseif : *road 1041 | define 1042 | line-width : 12:1;13:1.5;15:6;16:8;18:12 1043 | // schwarzer Rand 1044 | define 1045 | min-zoom : 13 1046 | line-color : white 1047 | border-color : black 1048 | border-width : 25% 1049 | line-style : solid 1050 | for : bridge=yes 1051 | define 1052 | border-width : 35% 1053 | draw : line 1054 | define 1055 | min-zoom : 13 1056 | line-style : dot 1057 | line-color : #AAAAAA 1058 | border-style : none 1059 | draw : line 1060 | draw : text 1061 | 1062 | else 1063 | stop 1064 | 1065 | target : highway* 1066 | define 1067 | font-size : 15:7;18:10 1068 | font-weight : bold 1069 | define 1070 | line-join : round 1071 | line-start-cap : round 1072 | line-end-cap : round 1073 | border-style : solid 1074 | 1075 | for : tunnel=yes 1076 | define 1077 | border-style : dot 1078 | 1079 | if : *motorway* 1080 | if : *link 1081 | define 1082 | line-width : 7:1;12:3;13:4;16:5;18:6 1083 | else 1084 | define 1085 | line-width : 7:1;9:2;12:3;13:7;16:10;18:12 1086 | define 1087 | min-zoom : 12 1088 | line-color : #849BBD 1089 | // z13 20 -> 100 1090 | border-color : #849BBD black 100% 1091 | border-width : 15% 1092 | for : bridge=yes 1093 | define 1094 | border-width : 35% 1095 | draw : line 1096 | define 1097 | min-zoom : 7 1098 | max-zoom : 12 1099 | border-style : none 1100 | draw : line 1101 | elseif : *trunk* 1102 | define 1103 | min-zoom : 12 1104 | line-color : #96D296 1105 | line-width : 11:1;13:2;15:10;18:12 1106 | // z13 20 -> 100 1107 | border-color : #96D296 black 100% 1108 | border-width : 15% 1109 | for : bridge=yes 1110 | define 1111 | border-width : 35% 1112 | draw : line 1113 | define 1114 | min-zoom : 7 1115 | max-zoom : 12 1116 | border-style : none 1117 | draw : line 1118 | elseif : *primary* 1119 | define 1120 | min-zoom : 11 1121 | line-color : #ECA2A3 1122 | line-width : 11:1.5;12:2;15:10;18:12 1123 | // z13 20 -> 100 1124 | border-color : #ECA2A3 black 100% 1125 | border-width : 15% 1126 | for : bridge=yes 1127 | define 1128 | border-width : 35% 1129 | draw : line 1130 | define 1131 | min-zoom : 7 1132 | max-zoom : 11 1133 | border-style : none 1134 | draw : line 1135 | elseif : *secondary 1136 | define 1137 | min-zoom : 12 1138 | line-color : #FDD6A4 1139 | line-width : 11:1;13:2;15:10;18:12 1140 | // #CAA36F -> black 1141 | border-color : black 1142 | // z13 5 -> 15 1143 | border-width : 15% 1144 | for : bridge=yes 1145 | define 1146 | border-width : 35% 1147 | draw : line 1148 | define 1149 | min-zoom : 8.5 1150 | max-zoom : 12 1151 | border-style : none 1152 | draw : line 1153 | elseif : *tertiary 1154 | define 1155 | min-zoom : 10 1156 | line-color : #FEFEB2 1157 | line-width : 11:1;13:2;15:10;18:12 1158 | // z13 20 -> 100 1159 | border-color : #FEFEB2 black 100% 1160 | border-width : 15% 1161 | for : bridge=yes 1162 | define 1163 | border-width : 35% 1164 | draw : line 1165 | draw : text 1166 | elseif : *service 1167 | define 1168 | min-zoom : 13 1169 | line-color : white 1170 | line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 1171 | // z13 schwarzer Rand 100% 1172 | border-color : #FEFEB2 black 100% 1173 | // z13 Rand 15 -> 25% 1174 | border-width : 25% 1175 | for : bridge=yes 1176 | define 1177 | border-width : 50% 1178 | draw : line 1179 | elseif : *pedestrian 1180 | define 1181 | min-zoom : 13 1182 | line-color : white black 25% 1183 | line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 1184 | // z13 20 -> 100% 1185 | border-color : black 1186 | border-width : 15% 1187 | for : bridge=yes 1188 | define 1189 | border-width : 35% 1190 | draw : line 1191 | elseif : $regex("(.*residential)|(.*unclassified)") 1192 | define 1193 | min-zoom : 13 1194 | line-color : white 1195 | // z13 12:1;13:1.5;15:10;18:12 -> 1196 | line-width : 12:1;13:1.5;15:6;16:8;18:12 1197 | // z13 Rand black 100% 1198 | border-color : white black 100% 1199 | border-width : 20% 1200 | for : bridge=yes 1201 | define 1202 | border-width : 35% 1203 | draw : line 1204 | define 1205 | min-zoom : 10 1206 | max-zoom : 13 1207 | border-style : none 1208 | // z13 25 -> 100 1209 | line-color : white black 100% 1210 | draw : line 1211 | define 1212 | min-zoom : 15 1213 | max-zoom : 20 1214 | draw : text 1215 | elseif : *track 1216 | define 1217 | min-zoom : 12.5 1218 | // z13 #9D7517 -> black 1219 | line-color : black 1220 | line-width : 1.5 1221 | line-style : dash 1222 | border-color : white 1223 | border-width : 100% 1224 | border-opacity : 0.3 1225 | for : bridge=yes 1226 | define 1227 | line-style : solid 1228 | line-color : white black 20% 1229 | line-width : 1.5 1230 | border-color : black 1231 | border-width : 120% 1232 | border-opacity : 1 1233 | draw : line 1234 | elseif : *footway 1235 | define 1236 | min-zoom : 13 1237 | // z13 #F68474 -> black 1238 | line-color : black 1239 | line-width : 1.5 1240 | line-style : dot 1241 | border-color : white 1242 | border-width : 100% 1243 | border-opacity : 0.3 1244 | for : bridge=yes 1245 | define 1246 | line-style : dot 1247 | line-color : white 1248 | line-width : 1.5 1249 | border-color : white black 75% 1250 | border-width : 120% 1251 | border-opacity : 1 1252 | draw : line 1253 | draw : text 1254 | elseif : *cycleway 1255 | define 1256 | min-zoom : 13 1257 | line-color : blue 1258 | line-width : 1.5 1259 | line-style : dot 1260 | border-color : white 1261 | border-width : 100% 1262 | border-opacity : 0.3 1263 | for : bridge=yes 1264 | define 1265 | line-style : dot 1266 | line-color : white 1267 | line-width : 1.5 1268 | border-color : blue black 25% 1269 | border-width : 120% 1270 | border-opacity : 1 1271 | draw : line 1272 | elseif : *path 1273 | define 1274 | min-zoom : 13 1275 | line-color : #6E7C6D 1276 | line-width : 1.5 1277 | line-style : dash 1278 | border-color : white 1279 | border-width : 100% 1280 | border-opacity : 0.3 1281 | for : bridge=yes 1282 | define 1283 | line-style : dash 1284 | line-color : white 1285 | line-width : 1.5 1286 | border-color : #6E7C6D black 50% 1287 | border-width : 80% 1288 | border-opacity : 1 1289 | draw : line 1290 | //z13 13-10-2010 1291 | elseif : *livingstreet 1292 | define 1293 | min-zoom : 13 1294 | line-color : #AAAAAA 1295 | // z13 12:1;13:1.5;15:10;18:12 -> 1296 | line-width : 12:1;13:1.5;15:6;16:8;18:12 1297 | // z13 Rand black 100% 1298 | border-color : white black 100% 1299 | border-width : 20% 1300 | for : bridge=yes 1301 | define 1302 | border-width : 35% 1303 | draw : line 1304 | define 1305 | min-zoom : 10 1306 | max-zoom : 13 1307 | line-style : solid 1308 | border-style : none 1309 | line-color : white black 100% 1310 | draw : line 1311 | define 1312 | min-zoom : 15 1313 | max-zoom : 20 1314 | draw : text 1315 | elseif : *road 1316 | define 1317 | min-zoom : 13 1318 | line-color : #eeeeee 1319 | // z13 12:1;13:1.5;15:10;18:12 -> 1320 | line-width : 12:1;13:1.5;15:6;16:8;18:12 1321 | // z13 Rand black 100% 1322 | border-color : white black 100% 1323 | border-width : 20% 1324 | for : bridge=yes 1325 | define 1326 | border-width : 35% 1327 | draw : line 1328 | define 1329 | min-zoom : 10 1330 | max-zoom : 13 1331 | line-style : solid 1332 | border-style : none 1333 | line-color : white black 100% 1334 | draw : line 1335 | define 1336 | min-zoom : 15 1337 | max-zoom : 20 1338 | draw : text 1339 | else 1340 | stop 1341 | 1342 | 1343 | 1344 | 1345 | target : highway steps 1346 | define 1347 | min-zoom : 16 1348 | shape : custom 1349 | // shape-def : -1,1;-1,-1;1,-1;1,1;-1,1 1350 | shape-def : -1,1;-1,-1;1,-1;1,1;-1,1;Z 1351 | shape-spacing : 16:1;17:3;18:2 1352 | shape-size : 16:1.5;17:1;18:2 1353 | shape-aspect : 1.5 1354 | fill-color : black 1355 | line-style : none 1356 | draw : shape 1357 | define 1358 | min-zoom : 13 1359 | max-zoom : 15.9 1360 | // z13 #F68474 -> black 1361 | line-color : black 1362 | line-width : 1.5 1363 | line-style : dot 1364 | border-style : solid 1365 | border-color : white 1366 | border-width : 100% 1367 | border-opacity : 0.3 1368 | draw : line 1369 | 1370 | 1371 | target : line barrier 1372 | define 1373 | min-zoom : 13 1374 | line-color : black 1375 | line-width : 1 1376 | draw : line 1377 | 1378 | target : historic citywalls 1379 | define 1380 | min-zoom : 13 1381 | line-color : #8D968D 1382 | line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:10 1383 | draw : line 1384 | define 1385 | min-zoom : 17 1386 | draw : text 1387 | 1388 | target : river 1389 | define 1390 | // z13 #B5D0D0 -> blue 1391 | line-color : blue 1392 | line-width : 7:1;12:2;14:5 1393 | draw : line 1394 | define 1395 | font-size : 14 1396 | min-zoom : 16 1397 | draw : text 1398 | 1399 | target : canal 1400 | define 1401 | min-zoom : 12 1402 | // z13 #B5D0D0 -> blue 1403 | line-color : blue 1404 | line-width : 12:1;17:8 1405 | draw : line 1406 | define 1407 | min-zoom : 17 1408 | draw : text 1409 | 1410 | target : drain 1411 | define 1412 | min-zoom : 13 1413 | // z13 #B5D0D0 -> blue 1414 | line-color : blue 1415 | line-width : 1 1416 | draw : line 1417 | define 1418 | min-zoom : 17 1419 | draw : text 1420 | 1421 | target : stream 1422 | define 1423 | min-zoom : 13 1424 | // z13 #B5D0D0 -> blue 1425 | line-color : blue 1426 | line-width : 13:1;15:2 1427 | draw : line 1428 | define 1429 | min-zoom : 16 1430 | draw : text 1431 | 1432 | target: amenity parking 1433 | define 1434 | icon-image : icons/SJJB/png/transport_parking.n.32.png 1435 | min-zoom : 15 1436 | icon-width : 16 1437 | draw : icon 1438 | target: amenity fuel 1439 | define 1440 | icon-image : icons/SJJB/png/transport_fuel.p.32.png 1441 | min-zoom : 15 1442 | icon-width : 20 1443 | draw : icon 1444 | define 1445 | min-zoom : 17 1446 | text : name brand 1447 | text-color : blue black 50% 1448 | draw : text 1449 | 1450 | target: bus stop 1451 | define 1452 | icon-image : icons/SJJB/png/transport_bus_stop.n.32.png 1453 | min-zoom : 15 1454 | icon-width : 16 1455 | draw : icon 1456 | define 1457 | text-color : blue 1458 | min-zoom : 16 1459 | draw : text 1460 | 1461 | // z13 1462 | target: railway tram_stop 1463 | define 1464 | icon-image : icons/SJJB/png/transport_tram_stop.n.32.png 1465 | min-zoom : 15 1466 | icon-width : 16 1467 | draw : icon 1468 | define 1469 | text-color : blue 1470 | min-zoom : 16 1471 | draw : text 1472 | target: railway station 1473 | define 1474 | icon-image : icons/SJJB/png/transport_train_station.n.32.png 1475 | min-zoom : 15 1476 | icon-width : 16 1477 | draw : icon 1478 | define 1479 | text-color : blue 1480 | min-zoom : 16 1481 | draw : text 1482 | 1483 | target: railway level_crossing 1484 | define 1485 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/level_crossing.png 1486 | min-zoom : 15 1487 | icon-width : 7 1488 | draw : icon 1489 | 1490 | target: amenity postbox 1491 | define 1492 | icon-image : icons/SJJB/png/amenity_post_box.n.32.png 1493 | min-zoom : 16 1494 | icon-width : 16 1495 | draw : icon 1496 | define 1497 | min-zoom : 17 1498 | text : collection_times 1499 | draw : text 1500 | 1501 | target: amenity postoffice 1502 | define 1503 | icon-image : icons/SJJB/png/amenity_post_office.p.32.png 1504 | min-zoom : 15 1505 | icon-width : 16 1506 | draw : icon 1507 | target: amenity telephone 1508 | define 1509 | icon-image : icons/SJJB/png/amenity_telephone.n.32.png 1510 | min-zoom : 16 1511 | icon-width : 16 1512 | draw : icon 1513 | 1514 | target: amenity fire station 1515 | define 1516 | icon-image : icons/SJJB/png/amenity_firestation.n.32.png 1517 | min-zoom : 15 1518 | icon-width : 16 1519 | draw : icon 1520 | define 1521 | min-zoom : 17 1522 | text-color : red black 50% 1523 | draw : text 1524 | target: amenity hospital 1525 | define 1526 | icon-image : icons/SJJB/png/health_hospital.n.32.png 1527 | min-zoom : 15 1528 | icon-width : 16 1529 | draw : icon 1530 | define 1531 | min-zoom : 15 1532 | text-color : magenta black 25% 1533 | draw : text 1534 | 1535 | target: amenity doctors 1536 | define 1537 | icon-image : icons/SJJB/png/health_doctors.n.32.png 1538 | min-zoom : 15 1539 | icon-width : 16 1540 | draw : icon 1541 | define 1542 | min-zoom : 17 1543 | text-color : magenta black 25% 1544 | draw : text 1545 | 1546 | target: amenity dentist 1547 | define 1548 | icon-image : icons/SJJB/png/health_dentist.n.32.png 1549 | min-zoom : 15 1550 | icon-width : 16 1551 | draw : icon 1552 | define 1553 | min-zoom : 17 1554 | text-color : magenta black 25% 1555 | draw : text 1556 | 1557 | target: amenity veterinary 1558 | define 1559 | icon-image : icons/SJJB/png/health_veterinary.n.32.png 1560 | min-zoom : 15 1561 | icon-width : 16 1562 | draw : icon 1563 | define 1564 | min-zoom : 17 1565 | text-color : magenta black 25% 1566 | draw : text 1567 | 1568 | target: amenity police station 1569 | define 1570 | icon-image : icons/SJJB/png/amenity_police.n.32.png 1571 | min-zoom : 15 1572 | icon-width : 16 1573 | draw : icon 1574 | define 1575 | min-zoom : 17 1576 | text-color : green black 25% 1577 | draw : text 1578 | target: amenity cafe 1579 | define 1580 | icon-image : icons/SJJB/png/food_cafe.n.32.png 1581 | min-zoom : 15 1582 | icon-width : 16 1583 | draw : icon 1584 | define 1585 | min-zoom : 17 1586 | text-color : red black 50% 1587 | draw : text 1588 | target: amenity recycling 1589 | define 1590 | icon-image : icons/SJJB/png/amenity_recycling.n.32.png 1591 | min-zoom : 16 1592 | icon-width : 16 1593 | draw : icon 1594 | 1595 | 1596 | 1597 | 1598 | target: mini roundabout 1599 | define 1600 | icon-image : icons/SJJB/png/transport_roundabout_anticlockwise.p.32.png 1601 | min-zoom : 16 1602 | icon-width : 9 1603 | draw : icon 1604 | 1605 | // z13 2011-02-17 1606 | target : turning circle 1607 | 1608 | 1609 | // äußerer Ring in zwei Linienstärken 1610 | define 1611 | min-zoom : 16 1612 | shape-size : 14:15;15:20;16:30;18:50 1613 | shape-aspect : 1 1614 | shape: custom 1615 | shape-def : p:black;pw:2;f:white;m:0,-10;a:10,10,0,10;;a:10,10,0,-10;z 1616 | draw : shape 1617 | // innerer Ring 1618 | define 1619 | min-zoom : 16 1620 | shape-size : 14:3;15:5;16:7;18:12 1621 | shape-aspect : 1 1622 | shape: custom 1623 | shape-def : p:black;pw:2;f:white;m:0,-10;a:10,10,0,10;;a:10,10,0,-10;z 1624 | draw : shape 1625 | 1626 | 1627 | define 1628 | min-zoom : 14 1629 | max-zoom : 16 1630 | shape-size : 14:15;15:20;16:30;18:50 1631 | shape-aspect : 1 1632 | shape : custom 1633 | shape-def : p:black;pw:1;f:white;m:0,-10;a:10,10,0,10;;a:10,10,0,-10;z 1634 | draw : shape 1635 | 1636 | target: amenity place_of_worship_christian 1637 | define 1638 | icon-image : icons/SJJB/png/place_of_worship_christian3.glow.32.png 1639 | min-zoom : 16 1640 | icon-width : 16 1641 | draw : icon 1642 | define 1643 | min-zoom : 17 1644 | text-color : black 1645 | draw : text 1646 | target: amenity place_of_worship_other 1647 | define 1648 | icon-image : icons/SJJB/png/place_of_worship_unknown3.glow.32.png 1649 | min-zoom : 16 1650 | icon-width : 16 1651 | draw : icon 1652 | define 1653 | min-zoom : 17 1654 | text-color : black 1655 | draw : text 1656 | target: amenity drinking water 1657 | define 1658 | icon-image : icons/SJJB/png/food_drinkingtap.n.32.png 1659 | min-zoom : 16 1660 | icon-width : 16 1661 | draw : icon 1662 | define 1663 | min-zoom : 17 1664 | text-color : red black 50% 1665 | draw : text 1666 | target: amenity bank 1667 | define 1668 | icon-image : icons/SJJB/png/money_bank2.n.32.png 1669 | min-zoom : 16 1670 | icon-width : 16 1671 | draw : icon 1672 | define 1673 | min-zoom : 17 1674 | text-color : black 1675 | draw : text 1676 | target: amenity atm 1677 | define 1678 | icon-image : icons/SJJB/png/money_atm2.n.32.png 1679 | min-zoom : 16 1680 | icon-width : 16 1681 | draw : icon 1682 | define 1683 | min-zoom : 17 1684 | text-color : black 1685 | draw : text 1686 | target: amenity restaurant 1687 | define 1688 | icon-image : icons/SJJB/png/food_restaurant.n.32.png 1689 | min-zoom : 16 1690 | icon-width : 16 1691 | draw : icon 1692 | define 1693 | min-zoom : 17 1694 | text-color : red black 50% 1695 | draw : text 1696 | target: amenity toilets 1697 | define 1698 | icon-image : icons/SJJB/png/amenity_toilets.n.32.png 1699 | min-zoom : 16 1700 | icon-width : 16 1701 | draw : icon 1702 | target: amenity pharmacy 1703 | define 1704 | icon-image : icons/SJJB/png/health_pharmacy.p.32.png 1705 | min-zoom : 15 1706 | icon-width : 16 1707 | draw : icon 1708 | define 1709 | min-zoom : 17 1710 | text-color : magenta black 25% 1711 | draw : text 1712 | target: amenity library 1713 | define 1714 | icon-image : icons/SJJB/png/amenity_library.n.32.png 1715 | min-zoom : 16 1716 | icon-width : 16 1717 | draw : icon 1718 | define 1719 | min-zoom : 17 1720 | text-color : red black 50% 1721 | draw : text 1722 | target: tree 1723 | define 1724 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/tree2.png 1725 | min-zoom : 16 1726 | icon-width : 6 1727 | draw : icon 1728 | define 1729 | min-zoom : 17 1730 | text-color : green black 50% 1731 | draw : text 1732 | target: memorial 1733 | define 1734 | icon-image : icons/SJJB/png/tourist_memorial.n.32.png 1735 | min-zoom : 16 1736 | icon-width : 16 1737 | draw : icon 1738 | define 1739 | min-zoom : 17 1740 | text-color : red black 50% 1741 | draw : text 1742 | 1743 | target: amenity bench 1744 | define 1745 | icon-image : icons/SJJB/png/amenity_bench.n.32.png 1746 | min-zoom : 17 1747 | icon-width : 12 1748 | draw : icon 1749 | 1750 | target: tourism picnic_site 1751 | define 1752 | icon-image : icons/SJJB/png/tourist_picnic.n.32.png 1753 | min-zoom : 16 1754 | icon-width : 16 1755 | draw : icon 1756 | define 1757 | min-zoom : 17 1758 | text-color : red black 50% 1759 | draw : text 1760 | 1761 | target: amenity shelter 1762 | define 1763 | icon-image : icons/SJJB/png/accommodation_shelter.n.32.png 1764 | min-zoom : 15 1765 | icon-width : 16 1766 | draw : icon 1767 | define 1768 | min-zoom : 17 1769 | text-color : blue black 50% 1770 | draw : text 1771 | 1772 | target : traffic signals 1773 | define 1774 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/traffic_light.png 1775 | min-zoom : 16 1776 | icon-width : 16 1777 | draw : icon 1778 | 1779 | target: amenity courthouse 1780 | define 1781 | icon-image : icons/SJJB/png/amenity_court.n.32.png 1782 | min-zoom : 16 1783 | icon-width : 16 1784 | draw : icon 1785 | define 1786 | min-zoom : 17 1787 | text-color : red black 50% 1788 | draw : text 1789 | 1790 | target : amenity prison 1791 | define 1792 | icon-image : icons/SJJB/png/amenity_prison.n.32.png 1793 | min-zoom : 16 1794 | icon-width : 16 1795 | draw : icon 1796 | define 1797 | min-zoom : 17 1798 | text-color : red black 50% 1799 | draw : text 1800 | 1801 | target : tourism information office 1802 | define 1803 | icon-image : icons/SJJB/png/amenity_information.n.32.png 1804 | min-zoom : 16 1805 | icon-width : 16 1806 | draw : icon 1807 | define 1808 | min-zoom : 17 1809 | text-color : red black 50% 1810 | draw : text 1811 | 1812 | target : tourism information 1813 | define 1814 | icon-image : icons/SJJB/png/amenity_information.p.32.png 1815 | min-zoom : 16 1816 | icon-width : 16 1817 | draw : icon 1818 | define 1819 | min-zoom : 17 1820 | text-color : red black 50% 1821 | draw : text 1822 | 1823 | target: amenity townhall 1824 | define 1825 | icon-image : http://josm.openstreetmap.de/svn/trunk/images/presets/townhall.png 1826 | min-zoom : 16 1827 | icon-width : 16 1828 | draw : icon 1829 | define 1830 | min-zoom : 17 1831 | text-color : red black 50% 1832 | draw : text 1833 | 1834 | target: amenity theater 1835 | define 1836 | icon-image : icons/SJJB/png/tourist_theatre.p.32.png 1837 | min-zoom : 16 1838 | icon-width : 16 1839 | draw : icon 1840 | define 1841 | min-zoom : 17 1842 | text-color : red black 50% 1843 | draw : text 1844 | 1845 | target : barrier* 1846 | define 1847 | min-zoom : 16 1848 | icon-width : 4 1849 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/bollard.png 1850 | if : barrier gate 1851 | define 1852 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/gate2.png 1853 | min-zoom : 16 1854 | icon-width : 10 1855 | if : barrier lift_gate 1856 | define 1857 | icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/liftgate.png 1858 | min-zoom : 16 1859 | icon-width : 10 1860 | draw : icon 1861 | 1862 | target : tourism* 1863 | define 1864 | min-zoom : 17 1865 | text-color : #2B80FE 1866 | draw : text 1867 | if : *hotel 1868 | define 1869 | icon-image : icons/SJJB/png/accommodation_hotel2.n.32.png 1870 | min-zoom : 16 1871 | icon-width : 16 1872 | 1873 | elseif : *viewpoint 1874 | define 1875 | icon-image : icons/SJJB/png/tourist_view_point.p.32.png 1876 | min-zoom : 16 1877 | icon-width : 16 1878 | 1879 | elseif : *museum 1880 | define 1881 | icon-image : icons/SJJB/png/tourist_museum.n.32.png 1882 | min-zoom : 16 1883 | icon-width : 16 1884 | else 1885 | stop 1886 | draw : icon 1887 | define 1888 | min-zoom : 17 1889 | text-color : blue white 50% 1890 | draw : text 1891 | target : amenity* 1892 | define 1893 | min-zoom : 17 1894 | text-color : #856951 1895 | draw : text 1896 | 1897 | define 1898 | min-zoom : 16 1899 | icon-width : 16 1900 | if : *pub 1901 | define 1902 | icon-image : icons/SJJB/png/food_pub.n.32.png 1903 | elseif : *fast_food 1904 | define 1905 | icon-image : icons/SJJB/png/food_fastfood2.n.32.png 1906 | else 1907 | stop 1908 | draw : icon 1909 | 1910 | 1911 | target: contour* 1912 | define 1913 | line-color : #7f3300 1914 | line-opacity : 0.2 1915 | curved : true 1916 | if : *major 1917 | define 1918 | min-zoom : 9 1919 | line-width : 11:0.1;11.9:1;12:2 1920 | else 1921 | define 1922 | min-zoom : 12 1923 | line-width : 1 1924 | draw : contour 1925 | 1926 | target: coastline 1927 | define 1928 | line-color : #B5D0D0 1929 | line-width : 2 1930 | draw : line 1931 | 1932 | // 2011-02-19 1933 | target: shop* 1934 | // Wegen Tankstellen mit shop=... 1935 | for : amenity 1936 | stop 1937 | else 1938 | define 1939 | 1940 | min-zoom : 17 1941 | text-color : magenta black 25% 1942 | text : name " (" shop ")" 1943 | draw : text 1944 | 1945 | define 1946 | min-zoom : 16 1947 | icon-width : 16 1948 | 1949 | if : *alcohol 1950 | define 1951 | icon-image : icons/SJJB/png/shopping_alcohol.n.32.png 1952 | elseif : *anime 1953 | elseif : *art 1954 | elseif : *bakery 1955 | define 1956 | icon-image : icons/SJJB/png/shopping_bakery.n.32.png 1957 | elseif : *bathroom_furnishing 1958 | elseif : *beauty 1959 | elseif : *bed 1960 | elseif : *beverages 1961 | elseif : *bicycle 1962 | define 1963 | icon-image : icons/SJJB/png/shopping_bicycle.n.32.png 1964 | elseif : *books 1965 | define 1966 | icon-image : icons/SJJB/png/shopping_book.n.32.png 1967 | elseif : *boutique 1968 | elseif : *butcher 1969 | define 1970 | icon-image : icons/SJJB/png/shopping_butcher.n.32.png 1971 | elseif : *car 1972 | define 1973 | icon-image : icons/SJJB/png/shopping_car.n.32.png 1974 | elseif : *car_repair 1975 | define 1976 | icon-image : icons/SJJB/png/shopping_car_repair.n.32.png 1977 | elseif : *charity 1978 | elseif : *chemist 1979 | elseif : *clothes 1980 | define 1981 | icon-image : icons/SJJB/png/shopping_clothes.n.32.png 1982 | elseif : *computer 1983 | elseif : *confectionery 1984 | define 1985 | icon-image : icons/SJJB/png/shopping_confectionery.n.32.png 1986 | elseif : *convenience 1987 | define 1988 | icon-image : icons/SJJB/png/shopping_convenience.n.32.png 1989 | elseif : *copyshop 1990 | elseif : *curtain 1991 | elseif : *deli 1992 | elseif : *department_store 1993 | elseif : *dive 1994 | elseif : *doityourself 1995 | define 1996 | icon-image : icons/SJJB/png/shopping_diy.n.32.png 1997 | elseif : *drugstore 1998 | elseif : *dry_cleaning 1999 | elseif : *electronics 2000 | elseif : *erotic 2001 | elseif : *fabric 2002 | elseif : *farm 2003 | elseif : *florist 2004 | define 2005 | icon-image : icons/SJJB/png/shopping_garden_centre.n.32.png 2006 | elseif : *frame 2007 | elseif : *funeral_directors 2008 | elseif : *furnace 2009 | elseif : *furniture 2010 | elseif : *garden_centre 2011 | define 2012 | icon-image : icons/SJJB/png/shopping_garden_centre.n.32.png 2013 | elseif : *general 2014 | elseif : *gift 2015 | define 2016 | icon-image : icons/SJJB/png/shopping_gift.n.32.png 2017 | elseif : *glaziery 2018 | elseif : *greengrocer 2019 | define 2020 | icon-image : icons/SJJB/png/shopping_greengrocer.n.32.png 2021 | elseif : *hair dresser 2022 | define 2023 | icon-image : icons/SJJB/png/shopping_hairdresser.n.32.png 2024 | elseif : *hardware 2025 | elseif : *hearing_aids 2026 | elseif : *hifi 2027 | define 2028 | icon-image : icons/SJJB/png/shopping_hifi.n.32.png 2029 | elseif : *hunting 2030 | elseif : *interior_decoration 2031 | elseif : *jewelry 2032 | define 2033 | icon-image : icons/SJJB/png/shopping_jewelry.n.32.png 2034 | elseif : *kiosk 2035 | elseif : *kitchen 2036 | elseif : *laundry 2037 | define 2038 | icon-image : icons/SJJB/png/shopping_laundrette.n.32.png 2039 | elseif : *mall 2040 | elseif : *massage 2041 | elseif : *mobile_phone 2042 | define 2043 | icon-image : icons/SJJB/png/shopping_mobile_phone.n.32.png 2044 | elseif : *money_lender 2045 | elseif : *motorcycle 2046 | define 2047 | icon-image : icons/SJJB/png/shopping_motorcycle.n.32.png 2048 | elseif : *musical_instrument 2049 | define 2050 | icon-image : icons/SJJB/png/shopping_music.n.32.png 2051 | elseif : *newsagent 2052 | elseif : *optician 2053 | elseif : *organic 2054 | elseif : *outdoor 2055 | elseif : *paint 2056 | elseif : *pawnbroker 2057 | elseif : *pet 2058 | define 2059 | icon-image : icons/SJJB/png/shopping_pet.n.32.png 2060 | elseif : *radiotechnics 2061 | elseif : *seafood 2062 | elseif : *second_hand 2063 | elseif : *shoes 2064 | elseif : *sports 2065 | elseif : *stationery 2066 | elseif : *supermarket 2067 | elseif : *tattoo 2068 | elseif : *tobacco 2069 | elseif : *toys 2070 | elseif : *trade 2071 | elseif : *vacant 2072 | elseif : *vacuum_cleaner 2073 | elseif : *variety_store 2074 | elseif : *video 2075 | define 2076 | icon-image : icons/SJJB/png/shopping_video_rental.n.32.png 2077 | 2078 | else 2079 | define 2080 | icon-image : icons/SJJB/png/shopping_supermarket.n.32.png 2081 | draw : icon 2082 | 2083 | 2084 | // 2011-03-05 2085 | target: craft* 2086 | define 2087 | min-zoom : 17 2088 | text-color : magenta black 25% 2089 | text : name " (" craft ")" 2090 | 2091 | draw : text 2092 | 2093 | define 2094 | min-zoom : 16 2095 | shape : square 2096 | shape-size : 12 2097 | line-width : 0 2098 | line-opacity : 0 2099 | fill-color : magenta black 25% 2100 | draw : shape 2101 | 2102 | target : addr housenumber 2103 | define 2104 | min-zoom : 17 2105 | text-color : black 2106 | text : [[addr:housenumber]] 2107 | 2108 | draw : text 2109 | 2110 | // 2011-03-05 Powerlines 2111 | 2112 | 2113 | target : power generator 2114 | define 2115 | fill-color : lightgray 2116 | draw : fill 2117 | 2118 | define 2119 | line-color : darkgray 2120 | draw : line 2121 | 2122 | define 2123 | shape : triangle 2124 | shape-size : 15 2125 | fill-color : lightgray 2126 | line-color : black 2127 | line-width : 1 2128 | min-zoom : 14 2129 | draw : shape 2130 | 2131 | draw : text 2132 | 2133 | target : power station 2134 | define 2135 | fill-color : lightgray 2136 | draw : fill 2137 | 2138 | define 2139 | line-color : darkgray 2140 | draw : line 2141 | 2142 | define 2143 | shape : triangle 2144 | shape-size : 10 2145 | fill-color : lightgray 2146 | line-color : black 2147 | line-width : 1 2148 | min-zoom : 14 2149 | draw : shape 2150 | 2151 | draw : text 2152 | 2153 | target : power substation 2154 | define 2155 | fill-color : lightgray 2156 | draw : fill 2157 | 2158 | define 2159 | line-color : darkgray 2160 | draw : line 2161 | 2162 | define 2163 | shape : triangle 2164 | shape-size : 10 2165 | fill-color : lightgray 2166 | line-color : black 2167 | line-width : 1 2168 | min-zoom : 14 2169 | draw : shape 2170 | 2171 | draw : text 2172 | 2173 | target : power tower 2174 | define 2175 | shape : diamond 2176 | shape-size : 5 2177 | line-width : 0 2178 | min-zoom : 14 2179 | fill-color : white 2180 | draw : shape 2181 | 2182 | target : power pole 2183 | define 2184 | shape : diamond 2185 | shape-size : 5 2186 | line-width : 0 2187 | min-zoom : 14 2188 | fill-color : white 2189 | draw : shape 2190 | 2191 | target : power line 2192 | define 2193 | line-color : gray 2194 | line-width : 1 2195 | line-style : solid 2196 | min-zoom : 14 2197 | draw : line 2198 | 2199 | draw : text 2200 | 2201 | target : power minor line 2202 | define 2203 | line-color : gray 2204 | line-width : 1 2205 | line-style : solid 2206 | min-zoom : 14 2207 | draw : line 2208 | 2209 | draw : text 2210 | --------------------------------------------------------------------------------