Wanderkarte Steyregg/MaperitiveRule
Jump to navigation
Jump to search
DefaultSteyregg.mrules
DefaultSteyregg.mrules ist eine Erweiterung der Standardregeln Default.mrules:
- Wanderwege und GPS Tracks werden mit Referenzen und Symbolen dargestellt
- Die OSM Keys amenity, highway, historic, leisure, natural, railway, shop, sport, tourism, etc. werden mit Referenzen und Symbolen dargestellt
- Die OSM Keys forest, scrub, quarry, rocks, graveyard werden mit Texturen (Grafiken) dargestellt
- Gebäude werden leicht transparent dargestellt um die darunterliegende landuse (Landwirtschaft, Gewerbegebiet, Wohngebiet, etc.) darzustellen
Alles, was im folgenden Rahmen steht, muss in eine Textdatei mit dem Namen DefaultSteyregg.mrules im Maperitive-Unterverzeichnis /rules gespeichert werden und kann dann in Maperitive mit den Befehlen use-ruleset
und apply-ruleset
angewendet werden.
// // Steyregg rules - version 1.0 01.06.2017 based on Default rules created by Igor Brejc // // Modified by by steyregg <steyregg_at_gmx.at> // Released under the Creative Commons Attribution-ShareAlike 3.0 License (http://creativecommons.org/licenses/by-sa/3.0/) // // Changes: // - Hiking and cycle routes with symbols and refs // - GPS tracks with different colors and symbols // - Aeroway, amenity, highway, historic, leisure, natural, railway, shop, sport, tourism, etc. with icons // - Forest, scrub, quarry, rocks, graveyard with textures // - Buildings with opacity for indicating the landuse // - Many features added // Icons used: // Map icons CC-0 from SJJB Management (http://www.sjjb.co.uk/mapicons) // Map icons CC-0 from National Park Service (https://www.nps.gov/hfc/carto/map-symbols.cfm) // Map icons CC-0 from OSM-icons.org (http://osm-icons.org) // ---------- original text from Default rules ------------------------------------ // Default rendering rules for Maperitive resembling that of OSM Mapnik // http://maperitive.net // Created by Igor Brejc // Released under the Creative Commons Attribution-ShareAlike 3.0 License (http://creativecommons.org/licenses/by-sa/3.0/) // Updates by Michael <quelbs_at_gmail.com> // -------------------------------------------------------------------------------- // Slightly modyfied cycle.py for writing hiking and cycle routes refs import-script:../Samples/CyclePython/cycle.py features points place city : place=city place town : place=town place village : place=village place hamlet : place=hamlet place locality : place=locality place isolated_dwelling : place=isolated_dwelling place suburb : place=suburb // Sonderfälle wegen innerstädtische Dichte erst ab Zoom 17 darstellen charging station17 sticon1720 : amenity=charging_station AND note=inner_city_render_17 atm sticon1616 : amenity=atm bakery sticon1616 sttext1712 : shop=bakery OR shop=pastry clothes sticon1616 sttext1712 : shop=clothes computer sticon1616 sttext1611 : shop=computer convenience sticon1616 sttext1611 : shop=convenience doityourself sticon1616 sttext1611 : shop=doityourself drinking water sticon1616 sttext1712 : amenity=drinking_water electronics sticon1616 sttext1712 : shop=electronics furniture sticon1616 sttext1712 : shop=furniture garden centre sticon1616 sttext1712 : shop=garden_centre hair dresser sticon1616 sttext1611 : shop=hairdresser interior decoration sticon1616 sttext1712 : shop=interior_decoration optician sticon1616 sttext1712 : shop=optician pet shop sticon1616 sttext1611 : shop=pet photographer sticon1616 sttext1611 : craft=photographer telephone sticon1616 : amenity=telephone tobacco sticon1616 sttext1712 : shop=tobacco tyres sticon1616 sttext1611 : shop=tyres archery sticon1512 sttext1508 : sport=archery bird hide sticon1512 sttext1508 : leisure=bird_hide cave entry sticon1512 sttext1508 : natural=cave_entrance OR natural=cave_entry charging station sticon1512 : amenity=charging_station AND NOT note=inner_city_render_17 climbing sticon1512 sttext1508 : sport=climbing community centre sticon1512 sttext1508 : amenity=community_centre dentist sticon1512 sttext1508 : amenity=dentist doctor sticon1512 sttext1508 : amenity=doctors fountain sticon1512 sttext1611 : amenity=fountain fuel station sticon1512 sttext1712 : amenity=fuel horse riding sticon1512 sttext1508 : leisure=horse_riding mall sticon1512 sttext1508 : shop=mall marina sticon1512 sttext1508 : leisure=marina naturfreunde sticon1512 sttext1508 : club=tourism AND name=Naturfreunde pharmacy sticon1512 sttext1712 : amenity=pharmacy railway miniature sticon1512 sttext1508 : railway=miniature shower sticon1512 : amenity=shower swimming sticon1512 sttext1712 : sport=swimming table tennis sticon1512 sttext1712 : sport=table_tennis tourism information sticon1512 sttext1508 : tourism=information AND (information=map OR information=board) veterinary sticon1512 sttext1508 : amenity=veterinary bench sticon1510 : amenity=bench chapel sticon1510 : building=chapel gate sticon1510 : barrier=gate AND NOT note=inner_city_do_not_render lift gate sticon1510 : barrier=lift_gate memorial sticon1510 : historic=memorial tree shrine sticon1510 : (natural=tree AND historic=wayside_shrine) OR historic=tree_shrine wayside chapel sticon1510 : historic=wayside_chapel OR building=wayside_chapel wayside cross sticon1510 : historic=wayside_cross AND NOT natural=tree wayside shrine sticon1510 : historic=wayside_shrine AND NOT natural=tree bollard sticon1608: barrier=bollard puffin sticon1608 : crossing_ref=puffin tree broadleaved sticon1608 : natural=tree AND (leaf_type=broadleaved OR NOT leaf_type) AND NOT historic=wayside_shrine tree needleleaved sticon1608 : natural=tree AND leaf_type=needleleaved AND NOT historic=wayside_shrine peak sticon1105 sttext1309peak : natural=peak // powertower : power=tower OR power=pole info : information=guidepost aerialway station : aerialway=station motorway_junction : highway=motorway_junction stwetland : natural=wetland AND name // Anpassung Steyregg, keine GPS Punkte // gps waypoints : gpswaypoint[] // gps trackpoints : gpstrack[].gpspoint[] // gps routepoints : gpsroute[].gpspoint[] // Anpassung Steyregg, ENDE // Anpassung Steyregg, Legende und Gitter strouteleg infosym : highway=stroute-leg-infosym strouteleg bikesym : highway=stroute-leg-bikesym strouteleg rwrsym : highway=stroute-leg-rwrsym strouteleg dstsym : highway=stroute-leg-dstsym // strouteleg bwgsym : highway=stroute-leg-bwgsym strouteleg gwbsym : highway=stroute-leg-gwbsym strouteleg jaksym : highway=stroute-leg-jaksym strouteleg stysym : highway=stroute-leg-stysym strouteleg nosym : highway=stroute-leg-nosym grid text W : gridW grid text E : gridE grid text N : gridN grid text S : gridS // Anpassung Steyregg, ENDE areas, points // Die Reihenfolge soll die Darstellung priorisieren, funktioniert aber nicht... townhall sticon1512 sttext1712 : amenity=townhall // Sonderfälle wegen innerstädtische Dichte erst ab Zoom 17 darstellen parking sticon1712 : amenity=parking AND note=inner_city_render_17 // Sonderfälle Text wegen innerstädtische Dichte erst ab Zoom 17 darstellen hotel sticon1512 sttext1712 : tourism=hotel AND name="Gästehaus Würzburger" butcher sticon1616 sttext1611 : shop=butcher car repair sticon1616 sttext1611 : shop=car_repair car shop sticon1616 sttext1611 : shop=car car wash sticon1616 sttext1712 : amenity=car_wash cosmetics sticon1616 sttext1712 : shop=cosmetics library sticon1616 sttext1712 : amenity=library OR amenity=public_bookcase postbox sticon1616 : amenity=post_box aerodrome sticon1512 sttext1712 : aeroway=aerodrome bank sticon1512 sttext1712 : amenity=bank beachvolleyball sticon1512 sttext1712 : sport=beachvolleyball bmx sticon1512 sttext1508 : sport=bmx cafe sticon1512 sttext1712 : amenity=pub camp site sticon1512 sttext1712 : tourism=camp_site church sticon1512 sttext1712 : building=church OR amenity=monastery OR historic=monastery fast food fish sticon1512 sttext1508 : amenity=fast_food AND cuisine=fish_and_chips fast food sticon1512 sttext1508 : amenity=fast_food fire station sticon1512 sttext1712 : amenity=fire_station golf course sticon1512 sttext1508 : leisure=golf_course hospital sticon1512 sttext1508 : amenity=hospital hotel sticon1512 sttext1508 : tourism=hotel AND NOT name="Gästehaus Würzburger" ice skating sticon1512 sttext1712 : sport=ice_skating ice stock sticon1512 sttext1712 : sport=ice_stock kindergarten sticon1512 sttext1508 : amenity=kindergarten landuse allotments sticon1512 sttext1508 : landuse=allotments OR leisure=park museum sticon1512 sttext1512 : tourism=museum // Naturdenkmal, etwas kompliziert natural monument station sticon1512 sttext1508 : (leisure=nature_reserve) OR (protected=yes AND (natural=stone OR natural=tree OR natural=cave_entrance)) OR ((denotation=natural_monument OR monument=yes) AND (natural=tree OR natural=cave_entrance)) OR (boundary=protected_area AND protect_class=3) petting zoo sticon1512 sttext1508 : zoo=petting_zoo photovoltaic sticon1512 sttext1508 : generator:method=photovoltaic playground station sticon1512 sttext1508 : leisure=playground police station sticon1512 sttext1611 : amenity=police postoffice sticon1512 sttext1611 : amenity=post_office pub sticon1512 sttext1611 : amenity=pub recycling sticon1512 sttext1611 : amenity=recycling rc car sticon1512 sttext1508 : sport=rc_car restaurant sticon1512 sttext1508 : amenity=restaurant school sticon1512 sttext1508 : amenity=school shooting sticon1512 sttext1611 : sport=shooting soccer sticon1512 sttext1712 : sport=soccer supermarket sticon1616 sttext1611 : shop=supermarket tennis sticon1512 sttext1712 : sport=tennis toilets sticon1512 sttext1712 : amenity=toilets tourism attraction sticon1512 sttext1508 : tourism=attraction wakeboard sticon1512 sttext1508 : sport=wakeboard water works sticon1512 sttext1508 : man_made=water_works viewpoint sticon1512 sttext1508 : tourism=viewpoint OR historic=archaeological_site mini roundabout sticon1508 : highway=mini_roundabout parking sticon1508 : amenity=parking railway station sticon1210: railway=station OR railway=halt bus stop sticon1208 : highway=bus_stop // Anpassung Steyregg, 1 Zeile, Hausnummer nur bei Gebäuden, sonst kriegen die POIs auch eine Hausnummer housenumber : addr:housenumber AND building leisure garden : leisure=garden leisure pitch beachvolleyball : leisure=pitch AND sport=beachvolleyball leisure pitch tennis : leisure=pitch AND sport=tennis leisure pitch : leisure=pitch leisure stadium : leisure=stadium areas bare rock : natural=bare_rock beach : natural=beach // Anpassung Steyregg, 1 Zeile, building : building statt building : building=yes building : building water : natural=water OR waterway=riverbank OR landuse=reservoir OR landuse=basin or waterway=dock riverbank : waterway=riverbank lake : water=lake village green : landuse=village_green forest : landuse=forest OR natural=wood scrub : natural=scrub farm : landuse=farm farmyard : landuse=farmyard grass : landuse=grass OR landuse=recreation_ground OR surface=grass fell : natural=fell greenfield : landuse=greenfield glacier : natural=glacier national park : boundary=national_park allotments : landuse=allotments academic : node[@isOneOf(amenity, university, college, school)] area[@isOneOf(amenity, university, college, school)] meadow : natural=meadow OR landuse=meadow nature reserve : leisure=nature_reserve track : leisure=track graveyard : amenity=grave_yard OR landuse=cemetery military : landuse=military OR military=barracks park : leisure=park parking area : amenity=parking landuse retail : landuse=retail landuse industrial : landuse=industrial commercial area : landuse=commercial residential area : landuse=residential aeroway apron : aeroway=apron aeroway terminal : aeroway=terminal highway pedestrian : highway=pedestrian orchard : landuse=orchard farmland : landuse=farmland quarry : landuse=quarry lines oneway : oneway=yes OR oneway=true OR oneway=-1 coastline : natural=coastline bigriver : waterway=river AND (name=Donau OR name=Traun) river : waterway=river stream : waterway=stream AND NOT width stream 1m : waterway=stream AND width > 0.9 AND width < 1.9 stream 2m : waterway=stream AND width > 1.9 AND width < 3.9 stream 4m : waterway=stream AND width > 3.9 canal : waterway=canal drain : waterway=drain dock : waterway=dock railway rail : railway=rail OR railway=light_rail OR railway=miniature platform : railway=platform OR public_transport=platform line barrier : barrier=wall OR barrier=fence grid line : grid highway motorway : highway=motorway OR (highway=construction AND construction=motorway) highway motorway link : highway=motorway_link OR (highway=construction AND construction=motorway_link) highway trunk : highway=trunk OR (highway=construction AND construction=trunk) highway trunk link : highway=trunk_link OR (highway=construction AND construction=trunk_link) highway primary link : highway=primary_link OR (highway=construction AND construction=primary_link) highway primary : highway=primary OR (highway=construction AND construction=primary) highway secondary : highway=secondary OR (highway=construction AND construction=secondary) highway tertiary : highway=tertiary OR (highway=construction AND construction=tertiary) highway unclassified : highway=unclassified OR (highway=construction AND construction=unclassified) highway residential : highway=residential OR (highway=construction AND construction=residential) highway living_street : highway=living_street OR (highway=construction AND construction=living_street) // highway construction : highway=construction highway service : highway=service highway pedestrian : highway=pedestrian highway track : highway=track highway footway : highway=footway // Anpassung Steyregg, 1 Zeile, Keine normalen Radwege, alles sind Radrouten (nicht sehr elegant, aber sonst werden sie doppelt gezeichnet) // highway cycleway : highway=cycleway highway path : highway=path highway steps : highway=steps pier : man_made=pier bridge foot : bridge=yes AND (foot=yes OR highway=footway) historic citywall : (barrier=city_wall AND historic) OR historic=citywalls OR historic=city_wall // power_line : power=line OR power=minor_line aerialway closed : @isOneOf(aerialway,cable_car,gondola,mixed_lift) aerialway open : @isOneOf(aerialway,chair_lift,drag_lift) aeroway runway : aeroway=runway aeroway taxiway : aeroway=taxiway boundary country : boundary=administrative AND (admin_level=2 OR admin_level=4) AND NOT natural=coastline boundary province : boundary=administrative AND admin_level=6 boundary municipal : boundary=administrative AND admin_level=8 contour major : contour[@isMulti(elevation, 100)] contour minor : contour[@isMulti(elevation, 20) and not @isMulti(elevation, 100)] // Anpassung Steyregg, farbige GPS Tracks stroute rlineL strsym : gpstrack[name="Dörfer Runde"] // stroute glineR2 stgsym : gpstrack[name="Gipfelkreuzweg"] // stroute olineL2 stosym : gpstrack[name="Saxenhoferweg"] stroute mtblineR mtbsym : gpstrack[name="Pfenningberg Mountainbike"] stroute dhlineR dhsym : gpstrack[name="Pfenningberg Downhill"] // gps tracks : gpstrack[] // gps routes : gpsroute[] // Anpassung Steyregg, ENDE // Anpassung Steyregg, Legende strouteleg ref rline : highway=stroute-leg-rline strouteleg ref gline : highway=stroute-leg-gline strouteleg ref bline : highway=stroute-leg-bline strouteleg ref oline : highway=stroute-leg-gps strouteleg ref bikeline : highway=stroute-leg-bikeline highway strouteleg ref primary : highway=stroute-leg-primary highway strouteleg ref secondary : highway=stroute-leg-secondary highway strouteleg ref tertiary : highway=stroute-leg-tertiary highway strouteleg ref residential : highway=stroute-leg-residential highway strouteleg ref track : highway=stroute-leg-track highway strouteleg ref footway : highway=stroute-leg-footway highway strouteleg ref path : highway=stroute-leg-path // Anpassung Steyregg, ENDE // Routes // route byway : relation[type=route AND route=bicycle AND network="National Byway"] route foot : relation[type=route AND route=foot] // Anpassung Steyregg, Wanderrouten und Radrouten stroute nwn : osmnetwork[type=route AND route=hiking AND network=nwn] stroute rwn : osmnetwork[type=route AND route=hiking AND network=rwn] stroute lwn : osmnetwork[type=route AND route=hiking AND network=lwn] stroute ref : osmnetwork[type=route AND (route=hiking OR route=bicycle) AND (network=lwn OR network=rwn OR network=nwn OR network=lcn OR network=ncn) AND NOT ref="" AND NOT ref="R1St" AND NOT ref="R1St1"] stroute rlineL : osmnetwork[type=route AND route=hiking AND (ref="4" OR ref="8")] stroute rlineL rwrsym : osmnetwork[type=route AND route=hiking AND (ref="50" OR ref="51" OR ref="52")] stroute glineL gwbsym : osmnetwork[type=route AND route=hiking AND name="Donau-Höhen-Rundwanderweg"] stroute glineL : osmnetwork[type=route AND route=hiking AND (ref="Kw" OR ref="PSR")] stroute glineR2 stgsym : osmnetwork[type=route AND route=hiking AND name="Pfenningberg-Gipfelwanderweg"] stroute olineL2 stosym : osmnetwork[type=route AND route=hiking AND name="3 Buchen Weg"] stroute blineR dstsym : osmnetwork[type=route AND route=hiking AND (ref="SR" OR name="Linz - Steyregg Donausteig Etappe")] stroute blineR jaksym : osmnetwork[type=route AND route=hiking AND symbol="Jakobsmuschel"] stroute bikeline bikesym : osmnetwork[type=route AND route=bicycle AND ref="R1St1"] stroute bikelineR bikesym : osmnetwork[type=route AND route=bicycle AND (ref="R1" OR ref="R1St" OR ref="PT")] // Anpassung Steyregg, ENDE properties map-background-color : PaleGreen map-background-opacity : 1 map-sea-color : LightSteelBlue font-weight : bold // Anpassung Steyregg, 1 Zeile, Arial statt Verdana font-family : Arial text-max-width : 7 text-halo-width : 25% text-halo-opacity : 0.75 text-align-horizontal : center text-align-vertical : center font-stretch : 0.9 // Anpassung Steyregg, 2 Zeilen, min-buffer-space 3 statt 5 und max-allowed-corner-angle : 30 statt 40 map.rendering.lflp.min-buffer-space : 3 map.rendering.lflp.max-allowed-corner-angle : 30 rules // Anpassung Steyregg, farbige Wege, Info: zuerst verarbeitete (=weiter oben stehende) targets haben Priorität = überdecken spätere targets target : stroute* define min-zoom : 12 line-width : 12:1;15:2;18:4 line-offset : 12:1;15:3;18:4 line-opacity : 1 line-join : round line-offset-miter-limit : 1 // line-start-cap : triangle // line-end-cap : triangle // curved : true border-width : 0 font-size : 12:7;18:18 font-weight : bold shape : custom // shape-size in Pixel ist für die Wanderweg Shapes shape-size : 12:5;18:20 // shape-spacing ist der Abstand zwischen 2 Weg Icons oder Shapes (Abstand ist der Multiplikator von shape-size oder icon-width) shape-spacing : 12:3;18:10 shape-mode : linear shape-orientation : fixed // icon-width in Pixel ist für die Radweg und Jakobsweg Icons, korrespondiert aber nicht ganz mit shape-size, darum 8 statt 5 icon-width : 12:8;18:24 if : *strouteleg infosym define min-zoom : 15 max-zoom : 15.3 text-offset-horizontal : 14:20;15:40;16:60;18:200;19:400 text : text " (Zoom < 15.3)" draw : text define min-zoom : 15.31 max-zoom : 15.4 text : text " (Zoom < 15.4)" draw : text define min-zoom : 15.5 max-zoom : 16 text : text " (Zoom < 16)" draw : text draw : text elseif : *strouteleg *sym define min-zoom : 12 text-color : Black text-align-horizontal : near text-offset-horizontal : 12:10;14:20;15:40;16:60;18:200;19:400 text-align-vertical : near text-offset-vertical : -60% // text-max-width verhindert den Zeilenumbruch in den Wegtexten (Umbruch erst nach 25 x font-size Pixel) text-max-width : 25 draw : text if : *strouteleg ref* define min-zoom : 12 text-align-horizontal : near text-offset-vertical : 0 text : ref line-offset : 0 line-start-cap : none line-end-cap : none draw : text if : stroute* bikeline* define min-zoom : 12 line-color : LimeGreen line-style : dot line-width : 12:2;15:3;18:5 border-style : solid border-color : White border-opacity : 0.7 border-width : 1 text-color : Green if : stroute* bikelineR* define line-offset : 12:2;15:6;18:8 line-offset-sides : right else define line-offset : 0 draw : line elseif : stroute* mtbline* define min-zoom : 12 line-color : Blue line-style : dot line-width : 12:2;15:3;18:5 border-style : solid border-color : White border-opacity : 0.7 border-width : 1 text-color : Blue if : stroute* mtblineR* define line-offset : 12:2;15:6;18:8 line-offset-sides : right else define line-offset : 0 draw : line elseif : stroute* dhline* define min-zoom : 12 line-color : Red line-style : dot line-width : 12:2;15:3;18:5 border-style : solid border-color : White border-opacity : 0.7 border-width : 1 text-color : Red if : stroute* dhlineR* define line-offset : 12:2;15:6;18:8 line-offset-sides : right else define line-offset : 0 draw : line elseif : stroute* rline* define min-zoom : 12 line-color : Red line-offset-sides : left text-color : Red // rlineL2 und rlineR2 mit doppeltem Offset if : stroute* rline*2* define line-offset : 12:2;15:6;18:8 if : stroute* rlineR* define line-offset-sides : right draw : line elseif : stroute* gline* define min-zoom : 12 line-color : Lime line-offset-sides : left text-color : Green // glineL2 und glineR2 mit doppeltem Offset if : stroute* gline*2* define line-offset : 12:2;15:6;18:8 if : stroute* glineR* define line-offset-sides : right draw : line elseif : stroute* bline* define min-zoom : 12 line-color : Blue line-offset-sides : left text-color : Blue // blineL2 und blineR2 mit doppeltem Offset if : stroute* bline*2* define line-offset : 12:2;15:6;18:8 if : stroute* blineR* define line-offset-sides : right draw : line elseif : stroute* oline* define min-zoom : 12 line-color : DarkOrange line-offset : 12:1;15:2;18:4 line-offset-sides : left text-color : DarkOrange // olineL2 und olineR2 mit doppeltem Offset if : stroute* oline*2* define line-offset : 12:2;15:6;18:8 if : stroute* olineR* define line-offset-sides : right draw : line if : stroute ref define min-zoom : 12 text-func : cycleLabel(e) draw : text if : stroute* *sym define min-zoom : 13 if : stroute* *rwrsym define // Das ist ein rt-ws-rt shape-def // shape-def : p:red;pw:0;f:red;m:-6,-5;l:6,-5,6,-2,-6,-2,-6,-5;z;p:white;pw:0;f:white;m:-6,-2;l:6,-2,6,1,-6,1,-6,-2;z;p:red;pw:0;f:red;m:-6,1;l:6,1,6,4,-6,4,-6,1;z // Das ist ein rt-ws-rt shape-def mit 10 offset vertical // shape-def : p:red;pw:0;f:red;m:-6,-15;l:6,-15,6,-12,-6,-12,-6,-15;z;p:white;pw:0;f:white;m:-6,-12;l:6,-12,6,-9,-6,-9,-6,-12;z;p:red;pw:0;f:red;m:-6,-9;l:6,-9,6,-6,-6,-6,-6,-9;z shape-def : p:red;pw:0;f:red;m:-6,-5;l:6,-5,6,-2,-6,-2,-6,-5;z;p:white;pw:0;f:white;m:-6,-2;l:6,-2,6,1,-6,1,-6,-2;z;p:red;pw:0;f:red;m:-6,1;l:6,1,6,4,-6,4,-6,1;z // shape-spacing x shape-size ist der Abstand zwischen 2 Shapes shape-spacing : 12:3;18:15 draw : shape elseif : stroute* *dstsym define icon-image : icons/steyregg/Donausteig.png // shape-spacing wird bei jedem Symbol variiert um übereinanderliegende Symbole zu vermeiden shape-spacing : 12:4;18:17 draw : icon // elseif : stroute* *bwgsym // define // shape-def : p:blue;pw:0;f:blue;m:-6,-5;l:6,-5,6,-2,-6,-2,-6,-5;z;p:white;pw:0;f:white;m:-6,-2;l:6,-2,6,1,-6,1,-6,-2;z;p:green;pw:0;f:green;m:-6,1;l:6,1,6,4,-6,4,-6,1;z // // shape-spacing wird bei jedem Symbol variiert um übereinanderliegende Symbole zu vermeiden // shape-spacing : 12:4;18:17 // draw : shape elseif : stroute* *gwbsym define shape-def : p:green;pw:0;f:green;m:-6,-5;l:6,-5,6,-2,-6,-2,-6,-5;z;p:white;pw:0;f:white;m:-6,-2;l:6,-2,6,1,-6,1,-6,-2;z;p:blue;pw:0;f:blue;m:-6,1;l:6,1,6,4,-6,4,-6,1;z shape-spacing : 12:5;18:19 draw : shape elseif : stroute* *bikesym define icon-image : icons/steyregg/Radweg.png shape-spacing : 12:6;18:21 draw : icon elseif : stroute* *mtbsym define icon-image : icons/steyregg/Mountainbike.png shape-spacing : 12:6;18:21 draw : icon elseif : stroute* *dhsym define icon-image : icons/steyregg/Downhill.png shape-spacing : 12:6;18:21 draw : icon if : stroute* *jaksym define icon-image : icons/steyregg/Jakobsweg.png shape-spacing : 12:7;18:23 draw : icon if : stroute* *strsym define icon-image : icons/steyregg/SteyreggWappenR.png shape-spacing : 12:7;18:23 draw : icon elseif : stroute* *stosym define icon-image : icons/steyregg/SteyreggWappenO.png shape-spacing : 12:5;18:19 draw : icon elseif : stroute* *stgsym define icon-image : icons/steyregg/SteyreggWappenG.png shape-spacing : 12:3;18:15 draw : icon elseif : stroute* *stysym define icon-image : icons/steyregg/Wappen_at_steyregg.png draw : icon target : *gps tracks define min-zoom : 12 line-color : Orange line-width : 12:1;15:2;18:4 line-offset : 12:2;15:6;18:8 line-offset-sides : left line-opacity : 1 // curved : true border-width : 0 draw : line define min-zoom : 12 shape-spacing : 12:4;18:14 shape-mode : linear shape-orientation : fixed icon-width : 12:8;18:20 icon-image : icons/steyregg/Wappen_at_steyregg.png draw : icon target : grid line define min-zoom : 5 line-color : Black line-opacity : 0.75 line-width : 0.5 draw : line target : grid text * define min-zoom : 12 text-orientation : fixed font-size : 12:6;18:28 font-weight : bold text-color : Red shape : circle shape-size : 12:8;18:36 line-style : none fill-color : RoyalBlue text-color : White text-halo-width : 0 shield-resize-mode : fixed for : gridW define text : gridW // text-align-horizontal : near text-offset-horizontal : 12:4;18:24 elsefor : gridE define text : gridE // text-align-horizontal : far text-offset-horizontal : 12:-4;18:-24 elsefor : gridN define text : gridN // text-align-vertical : near text-offset-vertical : 12:4;18:24 elsefor : gridS define text : gridS // text-align-vertical : far text-offset-vertical : 12:-4;18:-24 draw : shield // draw : text // Anpassung Steyregg, ENDE target : gps routes define min-zoom : 5 line-color : Black line-opacity : 0.75 // line-style : dash line-width : 0.5 draw : line target : gps waypoints define shape : circle shape-size : 8 line-color : Green fill-opacity : 0 draw : shape target : gps trackpoints define min-zoom : 17 shape : square shape-size : 10 line-color : Green line-width : 1 fill-opacity : 0 draw : shape target : gps routepoints define min-zoom : 12 shape : diamond shape-size : 10 line-color : Green line-width : 1 fill-opacity : 0 draw : shape target : $featuretype(point) if : place* define font-weight : bold text-max-width : 1000 text-align-horizontal : near if : *city define min-zoom : 6 font-size : 6:8;14:20 max-zoom : 14 placement-value : 1000 elseif : *town define min-zoom : 9 // Anpassung Steyregg, 1 Zeile, Stadtname größer, Original: font-size : 9:8;12:10;20:20 font-size : 9:10;12:12;20:24 placement-value : 20 // Anpassung Steyregg, 2 Zeilen, Stadtname nach rechts unten verschieben text-offset-horizontal : 300% text-offset-vertical : 150% // Anpassung Steyregg, 1 Zeile, Großbuchstaben + Höhe text : @if(name, @up(name) @if(ele, "\n(" ele " m)"), ele) elseif : *village define min-zoom : 12 // Anpassung Steyregg, 2 Zeilen, Dorfname größer + Höhe, Original: font-size : 12:10;20:20 font-size : 12:11;20:22 text : @if(name, name @if(ele, "\n(" ele " m)"), ele) placement-value : 1 elseif : *hamlet define min-zoom : 13 // Anpassung Steyregg, 2 Zeilen, Weilername größer + Höhe, Original: font-size : 14:8;20:16 font-size : 12:10;20:20 text : @if(name, name @if(ele, "\n(" ele " m)"), ele) placement-value : 0.1 elseif : *locality define min-zoom : 14 font-size : 14:8;20:16 placement-value : 0.1 elseif : *isolated_dwelling define min-zoom : 15 font-size : 15:8;20:14 placement-value : 0.1 elseif : *suburb define min-zoom : 13 font-size : 13:10;20:20 text-color : Silver placement-value : 10 draw : text if : aerialway station define min-zoom : 12 shape : square shape-size : 12:3;16:8 fill-color : #7981B0 line-style : none text-offset-vertical : 120% text-color : #8888FF draw : shape draw : text target : housenumber define min-zoom : 17 text : [[addr:housenumber]] text-halo-width : 0 font-size : 8 placement-value : 0.01 draw : text target : playground define fill-color : Aquamarine line-style : none draw : fill define line-color : LightSeaGreen line-width : 1 draw : line define min-zoom : 17 placement-value : 0.05 draw : text target : $featuretype(area) define line-style : none line-width : 1 if : forest define min-zoom : 9 fill-color : MediumSeaGreen fill-texture : Textures/Wald.png // Anpassung Steyregg, Wald mit Namen for : name define min-zoom : 12 font-size : 12:10;18:24 // text-max-width mit kleinem Wert ermöglicht Zeilenumbruch im Waldnamen text-max-width : 5 text-color : Green draw : text // Anpassung Steyregg, ENDE elseif : scrub define min-zoom : 9 fill-texture : Textures/Buschland.png elseif : bare rock define min-zoom : 9 fill-texture : Textures/Felsen.png elseif : lake define min-zoom : 14 line-style : solid line-color : CornflowerBlue line-width : 14:0.5;18:1 draw : line // Anpassung Steyregg, See mit Namen for : name define min-zoom : 14 font-size : 14:10;18:24 // text-max-width mit kleinem Wert ermöglicht Zeilenumbruch im Waldnamen text-max-width : 5 text-color : Blue draw : text // Anpassung Steyregg, ENDE elseif : riverbank define min-zoom : 14 line-style : solid line-color : CornflowerBlue line-width : 14:0.5;18:1 draw : line elseif : beach define min-zoom : 10 fill-color : LemonChiffon elseif : farm define min-zoom : 9 fill-color : #E9D8BD elseif : farmyard define min-zoom : 9 fill-color : #EACCA4 elseif : fell define fill-color : #C5FF5B Black 10% elseif : water define fill-color : LightSteelBlue elseif : academic define fill-color : #F0F0D8 line-color : #E5D2CC line-style : solid elseif : residential area define fill-color : Khaki elseif : greenfield define fill-color : DarkSeaGreen White 50% elseif : grass define fill-color : #CFECA8 line-color : Green line-style : solid elseif : allotments define fill-color : #C8B084 elseif : meadow define fill-color : #CFECA8 elseif : nature reserve define fill-color : #ABDE96 elseif : parking area define fill-color : LightGray elseif : park define fill-color : #C0F6B0 elseif : leisure garden define fill-color : #CFECA8 elseif : graveyard define fill-color : #A9CAAE fill-texture : Textures/Friedhof.png // Anpassung Steyregg, Gasthaus rot // elseif : inn // define // fill-color : Red // Anpassung Steyregg, ENDE elseif : building define // Anpassung Steyregg, 2 Zeilen, orange statt #BCA9A9 (grau) und opacity 0.6 statt 1 für dunklere Gebäude im Gewerbegebiet fill-color : Orange fill-opacity : 0.6 elseif : leisure pitch define fill-color : LimeGreen line-color : Green line-style : solid elseif : leisure pitch beachvolleyball define fill-color : LemonChiffon line-color : Brown line-style : solid elseif : leisure pitch tennis define fill-color : Coral line-color : Red line-style : solid elseif : leisure stadium define fill-color : #33CC99 elseif : track define fill-color : #74DCBA elseif : village green define fill-color : #CFECA8 elseif : landuse retail define fill-color : #F0D9D9 line-color : #F4A19E draw : line elseif : landuse industrial define fill-color : #DFD1D6 elseif : commercial area define fill-color : #EFC8C8 elseif : military define fill-color : #FE9898 elseif : aeroway* define fill-color : #E9D1FE elseif : orchard define fill-color : #9FD790 elseif : farmland define fill-color : #F9F4C5 elseif : aerodrome define fill-color : #E9E8E3 line-style : solid line-color : #B3B3B0 Black 10% elseif : quarry define fill-color : GhostWhite fill-opacity : 0.7 line-style : solid line-color : #B3B3B0 Black 10% // Mit dem ersten "draw : fill" wird der helle Hintergrund ausgegeben // Mit dem zweiten "draw : fill" (am Ende des $featuretype(area) Blocks) wird die transparente Textur darübergelegt draw : fill define fill-texture : Textures/Steinbruch.png define min-zoom : 15 font-size : 12 text-align-vertical : near draw : text elseif : glacier define fill-color : #DDECEC line-style : dash line-color : #DDECEC Black 10% elseif : *pedestrian for : area define min-zoom : 14 fill-color : #EDEDED line-color : #B1B1B1 Black 20% line-style : solid else stop draw : fill if : building define // Anpassung Steyregg, 1 Zeile, Umrandung erst ab min-zoom : 16 statt min-zoom : 15 min-zoom : 16 line-style : solid line-width : 1 line-color : #666 draw : line // Anpassung Steyregg, Feuerwehr Lachstatt Text neben Daxleitner verschieben for : amenity=fire_station AND name="FF Lachstatt" define min-zoom : 15 font-size : 12 text-offset-horizontal : 400% text-offset-vertical : -100% // Anpassung Steyregg, ENDE // Anpassung Steyregg, 2 Zeilen, Kirche ohne Namen elsefor : amenity=place_of_worship stop elsefor : name define min-zoom : 17 font-size : 15:10;18:15 text-align-vertical : near // Anpassung Steyregg, die "wichtigen" Gebäudenamen schon ab Zoom 15 for : building=farm OR amenity=restaurant OR amenity=fast_food OR amenity=townhall OR historic=castle define min-zoom : 15 font-size : 15:10;18:15 text-align-vertical : near // ---------------------------------------------------------------- // Textersetzungen for : name="Schloss Steyregg" define text : "Schloss" elsefor : name="Stadtgemeinde Steyregg" define text : "Stadtgemeinde" // Anpassung Steyregg, ENDE draw : text target : aeroway runway define min-zoom : 11 line-color : #BBBBCC line-width : 11:2;15:20 draw : line target : aeroway taxiway define min-zoom : 11 line-color : #BBBBCC line-width : 11:1;15:6 draw : line target : glacier define min-zoom : 10 text-color : #A3A3FE draw : text target : national park define fill-color : MediumSeaGreen fill-opacity : 0.2 line-style : none draw : fill define line-color : DarkGreen line-opacity : 0.5 line-width : 3 line-style : dash font-size : 3:3;12:12 text-color : Green font-weight : normal draw : line draw : text target : parking define min-zoom : 12 fill-color : WhiteSmoke draw : fill target : stwetland define min-zoom : 12 font-size : 12:10;18:24 // text-max-width mit kleinem Wert ermöglicht Zeilenumbruch im Aunamen text-max-width : 5 text-color : Green draw : text target : info define min-zoom : 16 text : "i" text-color : #734A08 font-size : 20 font-family : Times New Roman text-halo-width : 0 draw : text target : powertower define min-zoom : 14 shape : custom shape-def : m:-1,1;l:1,1,1,-1,-1,-1,-1,1,1,-1;m:-1,-1;l:1,1 shape-size : 14:2;20:9 line-width : 1 draw : shape target : power_line define min-zoom : 16 line-width : 1 line-color : #5C5C5C White 50% for : power=line define min-zoom : 14 line-color : #5C5C5C line-width : 1 draw : line target : aerialway * define min-zoom : 12 line-width : 1 line-style : solid line-color : #999999 draw : line draw : text target : aerialway closed define min-zoom : 12 shape : circle shape-size : 1 shape-spacing : 20 draw : shape target : aerialway open define min-zoom : 12 shape : custom shape-def : l:0,1,0,-1 shape-spacing : 5 shape-size : 3 line-width : 1 draw : shape target : platform define min-zoom : 13 line-color : Gray line-width : 3 draw : line target : railway rail define min-zoom : 13 line-style : dashlong line-color : White line-width : 2 border-style : solid border-color : Gray border-width : 25% draw : line define min-zoom : 6 max-zoom : 13 line-style : none line-color : LightGray line-width : 6:1;8:1;12:1.5 draw : line target : railway* define min-zoom : 13 line-color : Gray line-width : 2 draw : line define min-zoom : 15 text-align-horizontal : center text-align-vertical : center // Anpassung Steyregg, 1 Zeile, Haltestelle, Halteplatz ohne Text // draw : text target : highway construction define min-zoom : 13 line-width : 13:2;15:4;18:10 line-style : dot line-color : Yellow for : construction=tertiary OR construction=secondary OR construction=primary define line-color : White draw : line target : motorway_junction define min-zoom : 13 font-size : 11 text-color : #849BBD text-halo-width : 25% text-offset-vertical : 150% draw : text target : highway* define font-size : 15:7;18:10 font-weight : bold // Anpassung Steyregg, keine Einbahn Pfeile // for : oneway=yes OR oneway=true // define // min-zoom : 15 // shape : custom // shape-def : 60,0,20,-40,20,-15,-60,-15,-60,15,20,15,20,40;Z // shape-size : 12 // shape-aspect : 0.75 // shape-spacing : 6 // fill-color : #6C70D4 // line-style : none // for : oneway=-1 // define // angle : 180 // draw : shape // Anpassung Steyregg, Ende define line-style : solid line-join : round line-start-cap : round line-end-cap : round // Anpassung Steyregg, Legende ohne rundes Linienende if : *strouteleg* define line-start-cap : none line-end-cap : none // Anpassung Steyregg, ENDE if : *motorway* if : *link define line-width : 7:1;12:3;13:4;16:5;18:6 else define line-width : 7:1;9:2;12:3;13:7;16:10;18:12 define min-zoom : 12 line-color : #849BBD border-style : solid border-color : #849BBD Black 20% border-width : 15% draw : line define min-zoom : 7 max-zoom : 12 border-style : none draw : line define min-zoom : 10 max-zoom : 20 shape : square line-style : none fill-color : RoyalBlue font-size : 10:3;18:16 font-weight : normal text-color : White text-halo-width : 0 shield-padding-left : 4 shield-padding-right : 4 shield-padding-top : 1 shield-padding-bottom : 1 shield-resize-mode : free text : ref draw : shield elseif : *trunk* define min-zoom : 12 line-color : #96D296 line-width : 11:1;13:2;15:10;18:12 border-style : solid border-color : #96D296 Black 20% border-width : 15% for : tunnel=yes define border-style : dot draw : line define min-zoom : 7 max-zoom : 12 border-style : none draw : line elseif : *primary* define min-zoom : 11 line-color : #ECA2A3 line-width : 11:2;12:2;15:10;18:12 border-style : solid // Anpassung Steyregg, 1 Zeile, border-color : Gray, Original: border-color : #ECA2A3 Black 20% border-color : Gray border-width : 15% for : tunnel=yes define border-style : dot draw : line define min-zoom : 7 max-zoom : 11 border-style : none draw : line // Anpassung Steyregg, 1 Zeile, Auffahrt ohne Text for : highway=primary_link stop define min-zoom : 13 max-zoom : 20 // Anpassung Steyregg, Bundesstraße Name ausgeblendet, Schild hinzugefügt // draw : text define min-zoom : 12 shape : square line-style : none fill-color : RoyalBlue font-size : 12:4;18:16 font-weight : normal text-color : White text-halo-width : 0 shield-padding-left : 4 shield-padding-right : 4 shield-padding-top : 1 shield-padding-bottom : 1 shield-resize-mode : free text : ref draw : shield // Anpassung Steyregg, Ende elseif : *secondary define min-zoom : 12 line-color : #FDD6A4 line-width : 10:1;11:2;13:2;15:10;18:12 border-style : solid // Anpassung Steyregg, 1 Zeile, border-color : Gray, Original: border-color : #CAA36F border-color : Gray border-width : 5% for : tunnel=yes define border-style : dot for : bridge=yes define border-color : Black border-width : 8% draw : line define min-zoom : 8.5 max-zoom : 12 border-style : none draw : line define min-zoom : 13 max-zoom : 20 draw : text elseif : *tertiary define min-zoom : 13 line-color : #FEFEB2 line-width : 10:1;13:2;15:10;18:12 border-style : solid // Anpassung Steyregg, 1 Zeile, border-color : Gray, Original: border-color : #FEFEB2 Black 20% border-color : Gray border-width : 15% for : tunnel=yes define border-style : dot for : bridge=yes define border-color : Black draw : line define min-zoom : 10 max-zoom : 13 line-color : Gainsboro border-style : none draw : line // Anpassung Steyregg, 1 Zeile, Kreisverkehr ohne Text for : junction=roundabout stop define min-zoom : 15 max-zoom : 20 draw : text elseif : *service define min-zoom : 13 line-color : White line-width : 12:0.5;13:1;15:3;18:5 border-style : solid // Anpassung Steyregg, 1 Zeile, border-color : Gray, Original: border-color : #FEFEB2 Black 20% border-color : Gray border-width : 15% for : (access=private OR access=no) AND (NOT foot=yes) AND (NOT bicycle=yes) define // Anpassung Steyregg, 1 Zeile, line-color : LightPink, Original: line-color : Pink White 40% line-color : LightPink for : tunnel=yes define border-style : dot for : bridge=yes define border-color : Black draw : line draw : text elseif : *pedestrian for : NOT area define min-zoom : 13 line-color : #EDEDED line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 border-style : solid border-color : #B1B1B1 Black 20% border-width : 15% for : tunnel=yes define border-style : dot for : bridge=yes define border-color : Black draw : line draw : text elseif : $regex("(.*residential)|(.*unclassified)") define min-zoom : 13 line-color : White // Anpassung Steyregg, 1 Zeile, Nebenstraßen dünner, Original: line-width : 12:1;13:1.5;15:6;18:15 line-width : 12:1;13:1.5;15:4;18:12 border-style : solid border-color : Gainsboro border-width : 15% for : (access=private OR access=no) AND (NOT foot=yes) AND (NOT bicycle=yes) define // Anpassung Steyregg, 1 Zeile, line-color : LightPink, Original: line-color : Pink White 40% line-color : LightPink for : tunnel=yes define border-style : dot for : bridge=yes define border-color : Black draw : line define min-zoom : 10 max-zoom : 13 border-style : none line-color : Gainsboro draw : line define min-zoom : 15 max-zoom : 20 draw : text elseif : *living_street define min-zoom : 13 line-color : Gainsboro line-width : 12:1;13:1.5;15:6;18:15 border-style : none for : tunnel=yes define border-style : dot for : bridge=yes define border-color : Black draw : line define min-zoom : 15 max-zoom : 20 draw : text // Anpassung Steyregg // grade1-5 line-style : 1-2 solid,3-4 dashlong, Original: 1 solid, 2 dashlong, 3 dah, 4 dashdot, 5 dashdotdot, wegen schlechter Sichtbarkeit von dash und dot im SVG, Original: line-style : dashlong // grade1-5 line-color : 1 #331A00 (dunkelbraun 10%), 2 #663300 (dunkelbraun 20%), 3 #663300 (dunkelbraun 20%), 4 #992600 (braun 30%), 5 #CC3300 (braun 40%), wegen schlechter Sichtbarkeit von dash und dot im SVG, Original_ line-color : line-color : #9D7517 // private line-color : Violet, Original: Nicht vorhanden elseif : *track define min-zoom : 12.5 // Anpassung Steyregg, 1 Zeile, dickere Linien, Original: line-width : 12.5:0.3;13:0.5;15:1;18:1.5 line-width : 12:0.5;13:1;15:1.8;18:2.5 curved : true border-style : solid border-color : White border-width : 50% border-opacity : 0.3 for : tracktype=grade1 define line-style : solid line-color : #331A00 for : (access=private OR access=no) AND (NOT foot=yes) AND (NOT bicycle=yes) define line-color : Violet elsefor : tracktype=grade2 define line-style : solid line-color : #663300 for : (access=private OR access=no) AND (NOT foot=yes) AND (NOT bicycle=yes) define line-color : Violet elsefor : tracktype=grade3 define line-style : dashlong line-color : #663300 for : (access=private OR access=no) AND (NOT foot=yes) AND (NOT bicycle=yes) define line-color : Violet elsefor : tracktype=grade4 define line-style : dashlong line-color : #992600 for : (access=private OR access=no) AND (NOT foot=yes) AND (NOT bicycle=yes) define line-color : Violet elsefor : tracktype=grade5 define line-style : dashlong line-color : #CC3300 for : (access=private OR access=no) AND (NOT foot=yes) AND (NOT bicycle=yes) define line-color : Violet else define line-style : dash line-color : #331A00 for : (access=private OR access=no) AND (NOT foot=yes) AND (NOT bicycle=yes) define line-color : Violet for : tunnel=yes define border-style : dot for : bridge=yes define border-color : Black draw : line draw : text elseif : *footway define min-zoom : 13 line-color : Red line-width : 12.5:0.5;15:1.2;18:1.8 // Anpassung Steyregg, 1 Zeile, solid statt dot, da dot im SVG zu kleine Abstände hat, Original: line-style : dot line-style : solid curved : true border-style : solid border-color : White // Anpassung Steyregg, 1 Zeile, Rand 50%, Original: border-width : 100% border-width : 50% border-opacity : 0.3 for : (access=private OR access=no) AND (NOT foot=yes) AND (NOT bicycle=yes) define // Anpassung Steyregg, 1 Zeile, line-color : Violet, Original: line-color : Pink line-color : Violet for : tunnel=yes define border-style : dot for : bridge=yes define border-color : Black draw : line draw : text elseif : *cycleway define min-zoom : 12 line-style : dot line-color : Green line-width : 12:1;15:3;18:5 border-style : solid border-color : White border-opacity : 0.6 border-width : 1 curved : true text-color : Green for : tunnel=yes define border-style : dot for : bridge=yes define border-color : Gray // border-opacity : 1 // Anpassung Steyregg, 1 Zeile, Radwege nicht zeichnen, da diese als Routen gezeichnet werden, sonst werdeen sie hier nocheinmal gezeichnet // draw : line draw : text elseif : *path define min-zoom : 13 line-color : Red line-width : 13:0.5;15:1;18:1.5 // Anpassung Steyregg, 1 Zeile, dashlong statt dash, da dash im SVG zu kleine Abstände hat, Original: line-style : dot line-style : dashlong curved : true border-style : solid border-color : White // Anpassung Steyregg, 1 Zeile, Rand 50%, Original: border-width : 100% border-width : 50% border-opacity : 0.3 for : (access=private OR access=no) AND (NOT foot=yes) AND (NOT bicycle=yes) define // Anpassung Steyregg, 1 Zeile, line-color : Violet, Original: line-color : Pink line-color : Violet for : tunnel=yes define border-style : dot for : bridge=yes define border-color : Black draw : line draw : text else stop target : highway steps define min-zoom : 16 shape : custom shape-def : -1,1, -1,-1, 1,-1, 1,1;Z shape-spacing : 2 shape-size : 16:1;20:3 shape-aspect : 3 fill-color : #F98072 line-style : none draw : shape target : pier define line-color : #F1EEE8 line-width : 1:1;20:8 draw : line target : line barrier define min-zoom : 13 line-color : Black line-width : 1 for : barrier=fence define min-zoom : 16 line-color : Gray draw : line target : bridge foot define min-zoom : 13 line-color : White line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:5;18:6 border-style : solid border-color : #FEFEB2 Black 20% border-width : 15% draw : line draw : text target : historic citywall define min-zoom : 13 line-color : Gray line-style : dash line-width : 13:1;15:2;18:5 draw : line define line-color : Yellow line-style : solid line-offset : 13:1;15:2;18:5 line-offset-sides : left draw : line draw : text // Anpassung Steyregg, boundary nur Gemeindegrenze mit dicker transparenter Linie // Reihenfolge verschoben vor "target : river" (Original vor "target : national park") // target : boundary* // define // line-color : Orchid // line-opacity : 0.5 // if : boundary country // define // line-width : 6:1;9:3;10:6 // elseif : boundary province // define // min-zoom : 4 // line-width : 4:1;11:3 // line-style : dash // elseif : boundary municipal // define // min-zoom : 12 // line-width : 12:1;14:2 // line-style : dash // draw : line target : boundary* define min-zoom : 12 line-color : Violet line-opacity : 0.5 line-width : 12:4;18:16 draw : line // Anpassung Steyregg, Ende target : bigriver define line-color : LightSteelBlue line-width : 7:1;12:2;14:5 draw : line define min-zoom : 13 font-size : 13:10;16:24 text-color : Blue font-weight : normal draw : text target : river define line-color : LightSteelBlue line-width : 7:1;12:2;14:5 // Anpassung Steyregg, 3 Zeilen, unterirdischer Wasserverlauf strichliert for : tunnel=yes OR tunnel=culvert OR layer<0 define line-style : dash draw : line define min-zoom : 13 font-size : 13:8;16:12 text-color : Blue font-weight : normal draw : text target : stream* define line-color : CornflowerBlue curved : true if : stream 4m define line-width : 13:2;15:4;18:7 elseif : stream 2m define line-width : 13:1.5;15:3;18:5 elseif : stream 1m define line-width : 13:1;15:2;18:3 else define line-width : 13:0.5;15:1.5;18:2 // Anpassung Steyregg, 3 Zeilen, unterirdischer Wasserverlauf strichliert for : tunnel=yes OR tunnel=culvert OR layer<0 define line-style : dash draw : line define min-zoom : 13 font-size : 13:8;16:12 text-color : Blue text-offset-vertical : 13:-6;16:-8 font-weight : normal draw : text target : canal define min-zoom : 12 line-color : LightSteelBlue line-width : 12:1;17:8 draw : line define min-zoom : 13 font-size : 13:8;16:12 text-color : LightSteelBlue font-weight : normal draw : text target : drain define min-zoom : 13 line-color : LightSteelBlue line-width : 1 draw : line // -------------------------------------------------------------------------------- target : *sticon* if : townhall* define icon-image : icons/steyregg/Information.png // Höheres placement-value priorisiert das Text Label, Reihung an den Anfang priorisiert die Anzeige in Maperitive placement-value : 1 elseif : restaurant* define icon-image : icons/steyregg/Restaurant.png // Höheres placement-value priorisiert das Text Label, Reihung an den Anfang priorisiert die Anzeige in Maperitive placement-value : 1 elseif : peak* define icon-image : icons/steyregg/Gipfel.png // Höheres placement-value priorisiert das Text Label, Reihung an den Anfang priorisiert die Anzeige in Maperitive placement-value : 1 elseif : aerodrome* define icon-image : icons/steyregg/Flughafen.png elseif : archery* define icon-image : icons/steyregg/Bogen.png elseif : atm* define icon-image : icons/steyregg/Bankomat.png elseif : bakery* define icon-image : icons/steyregg/Baecker.png elseif : bank* define icon-image : icons/steyregg/Bankomat.png elseif : beachvolleyball* define icon-image : icons/steyregg/Beachvolleyball.png elseif : bench* define icon-image : icons/steyregg/Sitzbank.png // Da eine Bank oft bei einem POI steht, wird sie links unten platziert align-horizontal : far align-vertical : near elseif : bird hide* define icon-image : icons/steyregg/Vogel.png elseif : bmx* define icon-image : icons/steyregg/Bmx.png elseif : bollard* define icon-image : icons/steyregg/Poller.png elseif : bus stop* define icon-image : icons/steyregg/Haltestelle.png elseif : butcher* define icon-image : icons/steyregg/Fleischer.png elseif : cafe* define icon-image : icons/steyregg/Cafe.png elseif : camp site* define icon-image : icons/steyregg/Camping.png elseif : car repair* define icon-image : icons/steyregg/Autoreparatur.png elseif : car shop* define icon-image : icons/steyregg/Autohaendler.png elseif : car wash* define icon-image : icons/steyregg/Autowaesche.png elseif : cave entry* define icon-image : icons/steyregg/Hoehle.png // hier ist auch die wayside chapel enthalten elseif : *chapel* define icon-image : icons/steyregg/Kapelle.png elseif : charging station* define icon-image : icons/steyregg/Ladestation.png elseif : church* define icon-image : icons/steyregg/Kirche.png elseif : climbing* define icon-image : icons/steyregg/Klettern.png elseif : clothes* define icon-image : icons/steyregg/Kleidung.png elseif : computer* define icon-image : icons/steyregg/Computer.png elseif : community centre* define icon-image : icons/steyregg/Gebaeude.png elseif : convenience* define icon-image : icons/steyregg/Lebensmittel.png elseif : cosmetics* define icon-image : icons/steyregg/Drogerie.png elseif : dentist* define icon-image : icons/steyregg/Zahnarzt.png elseif : doctor* define icon-image : icons/steyregg/Arzt.png elseif : doityourself* define icon-image : icons/steyregg/Baumarkt.png elseif : drinking water* define icon-image : icons/steyregg/Trinkwasser.png elseif : electronics* define icon-image : icons/steyregg/Elektronik.png elseif : fast food fish* define icon-image : icons/steyregg/Steckerlfisch.png elseif : fast food* define icon-image : icons/steyregg/Fastfood.png elseif : fire station* define icon-image : icons/steyregg/Feuerwehr.png elseif : fountain* define icon-image : icons/steyregg/Brunnen.png elseif : fuel station* define icon-image : icons/steyregg/Tankstelle.png elseif : furniture* define icon-image : icons/steyregg/Moebel.png elseif : garden centre* define icon-image : icons/steyregg/Garten.png elseif : gate* define icon-image : icons/steyregg/Gatter.png elseif : golf course* define icon-image : icons/steyregg/Golf.png elseif : hair dresser* define icon-image : icons/steyregg/Friseur.png elseif : horse riding* define icon-image : icons/steyregg/Reiten.png elseif : hospital* define icon-image : icons/steyregg/Krankenhaus.png elseif : hotel* define icon-image : icons/steyregg/Hotel.png // Höheres placement-value priorisiert das Text Label placement-value : 0.00001 elseif : ice skating* define icon-image : icons/steyregg/Eislauf.png elseif : ice stock* define icon-image : icons/steyregg/Eisstock.png elseif : interior decoration* define icon-image : icons/steyregg/Shop.png elseif : kindergarten* define icon-image : icons/steyregg/Kindergarten.png elseif : library* define icon-image : icons/steyregg/Buecherei.png elseif : landuse allotments* define icon-image : icons/steyregg/Schrebergarten.png elseif : lift gate* define icon-image : icons/steyregg/Schranken.png elseif : mall* define icon-image : icons/steyregg/Supermarkt.png elseif : marina* define icon-image : icons/steyregg/Hafen.png elseif : memorial* define icon-image : icons/steyregg/Denkmal.png elseif : mini roundabout define icon-image : icons/steyregg/Kreisverkehr.png elseif : museum* define icon-image : icons/steyregg/Museum.png elseif : natural monument* define icon-image : icons/steyregg/Naturschutz.png elseif : naturfreunde* define icon-image : icons/steyregg/Naturfreunde.png elseif : optician* define icon-image : icons/steyregg/Optiker.png elseif : parking* define icon-image : icons/steyregg/Parkplatz.png elseif : pet shop* define icon-image : icons/steyregg/Tiere.png elseif : petting zoo * define icon-image : icons/steyregg/Tiere.png elseif : pharmacy* define icon-image : icons/steyregg/Apotheke.png elseif : photographer* define icon-image : icons/steyregg/Fotograf.png elseif : photovoltaic* define icon-image : icons/steyregg/Photovoltaik.png elseif : playground* define icon-image : icons/steyregg/Spielplatz.png elseif : police station* define icon-image : icons/steyregg/Polizei.png elseif : postbox* define icon-image : icons/steyregg/Briefkasten.png elseif : postoffice* define icon-image : icons/steyregg/Post.png elseif : pub* define icon-image : icons/steyregg/Pub.png elseif : puffin* define icon-image : icons/steyregg/Ampel.png elseif : railway miniature* define icon-image : icons/steyregg/Gartenbahn.png elseif : railway station* define icon-image : icons/steyregg/Bahnhof.png elseif : rc car* define icon-image : icons/steyregg/Modellauto.png elseif : recycling* define icon-image : icons/steyregg/Recycling.png elseif : school* define icon-image : icons/steyregg/Schule.png elseif : shooting* define icon-image : icons/steyregg/Schiessen.png elseif : shower* define icon-image : icons/steyregg/Dusche.png elseif : soccer* define icon-image : icons/steyregg/Fussball.png elseif : supermarket* define icon-image : icons/steyregg/Supermarkt.png elseif : swimming* define icon-image : icons/steyregg/Schwimmen.png elseif : table tennis* define icon-image : icons/steyregg/Tischtennis.png elseif : telephone* define icon-image : icons/steyregg/Telefon.png elseif : tennis* define icon-image : icons/steyregg/Tennis.png elseif : tobacco* define icon-image : icons/steyregg/Trafik.png elseif : toilets* define icon-image : icons/steyregg/Toilette.png elseif : tourism information* define icon-image : icons/steyregg/Informationstafel.png elseif : tourism attraction* define icon-image : icons/steyregg/Aussicht.png elseif : tree broadleaved* define icon-image : icons/steyregg/Laubbaum.png elseif : tree needleleaved* define icon-image : icons/steyregg/Nadelbaum.png elseif : tree shrine* define icon-image : icons/steyregg/Bildbaum.png elseif : tyres* define icon-image : icons/steyregg/Reifen.png elseif : veterinary* define icon-image : icons/steyregg/Tierarzt.png elseif : viewpoint* define icon-image : icons/steyregg/Aussicht.png elseif : wakeboard* define icon-image : icons/steyregg/Wasserski.png elseif : water works* define icon-image : icons/steyregg/Wasserwerk.png elseif : wayside shrine* define icon-image : icons/steyregg/Bildstock.png elseif : wayside cross* define icon-image : icons/steyregg/Wegkreuz.png if : *sticon1720* define min-zoom : 17 icon-width : 17:20;18:24 draw : icon elseif : *sticon1616* define min-zoom : 16 icon-width : 16:16;18:24 draw : icon elseif : *sticon1608* define min-zoom : 16 icon-width : 16:08;18:16 draw : icon if : *sticon1512* define min-zoom : 15 icon-width : 15:12;16:16;18:24 draw : icon elseif : *sticon1510* define min-zoom : 15 icon-width : 15:10;18:16 draw : icon elseif : *sticon1508* define min-zoom : 15 icon-width : 15:8;18:16 draw : icon elseif : *sticon1210* define min-zoom : 12 icon-width : 12:10;15:14;18:32 draw : icon elseif : *sticon1208* define min-zoom : 12 icon-width : 12:8;15:12;18:32 draw : icon elseif : *sticon1105* define min-zoom : 11 icon-width : 11:5;18:15 draw : icon // Kein Text falls das Feature ein Gebäude ist und einen Namen hat for : building AND name stop if : *sttext* define font-size : 15:08;18:14 text-color : Black text-align-vertical : near text-offset-vertical : 60% // -------------------------------------------------------------------- // Textersetzungen for : name="Kleingartenanlage Steyregg" define text : "Kleingartenanlage" elsefor : name="Neue Mittelschule" define text : "NMS" // -------------------------------------------------------------------- // Textverschiebungen for : name="Stadtwirt" define text-offset-horizontal : 15:20;18:40 text-offset-vertical : -80% if : *sttext1712* define min-zoom : 17 draw : text elseif : *sttext1611* define min-zoom : 16 draw : text elseif : *sttext1508* define min-zoom : 15 draw : text elseif : *sttext1309peak* define min-zoom : 13 font-size : 13:9;18:20 text-color : SaddleBrown text-max-width : 10 text-offset-horizontal : 200% text-offset-vertical : -60% text-align-horizontal : center text-align-vertical : center text : @if(name, name @if(ele, "\n(" ele ")"), ele) draw : text stop // -------------------------------------------------------------------------------- target : contour* define line-color : #7F3300 line-opacity : 0.35 curved : true if : *major define min-zoom : 9 map.rendering.contour.label : true line-width : 11:0.1;11.9:1;12:1.5 font-size : 10 font-style : italic font-weight : normal text-halo-width : 35% text-halo-opacity : 1 text-halo-color : #F1EEE8 // Anpassung Steyregg, 1 Zeile, text-color=line-color text-color : #7F3300 else define min-zoom : 12 line-width : 0.5 draw : contour target : coastline define line-color : LightSteelBlue line-width : 2 draw : line