Changes between Initial Version and Version 1 of Nb:Styles/Coloured_buildings


Ignore:
Timestamp:
2025-03-15T21:47:35+01:00 (2 months ago)
Author:
paleid
Comment:

Nb added

Legend:

Unmodified
Added
Removed
Modified
  • Nb:Styles/Coloured_buildings

    v1 v1  
     1[[TranslatedPages(revision=15)]]
     2[[PageOutline(2-10,Innholdsfortegnelse)]]
     3
     4= Fargede Bygninger =
     5
     6== Klassifisering av Bygninger ==
     7[[Image(Styles/Coloured_buildings:Residential.jpg)]][[BR]]
     8Frittstående: building=detached[[BR]]
     9Rekkehus: building=terrace[[BR]]
     10Leiligheter: building=apartments[[BR]]
     11Garasje(r): building=garage(s)[[BR]]
     12
     13[[Image(Styles/Coloured_buildings:House.jpg)]][[BR]]
     14''for generelt, bruk heller verdiene ovenfor''[[BR]]
     15Hus: building=house[[BR]]
     16Bolig: building=residential[[BR]]
     17
     18[[Image(Styles/Coloured_buildings:Commercial.jpg)]][[BR]]
     19Hotell: building=hotel[[BR]]
     20Kirke: building=church, building=cathedral[[BR]]
     21Detaljhandel: building=retail[[BR]]
     22Sykehus: building=hospital[[BR]]
     23Kommersiell: building=commercial[[BR]]
     24Industriell: building=industrial[[BR]]
     25
     26[[Image(Styles/Coloured_buildings:School.jpg)]][[BR]]
     27Skole (kun bygning): building=school[[BR]]
     28Skoleområde: amenity=school[[BR]]
     29Universitet: building=university[[BR]]
     30Offentlig: building=civic[[BR]]
     31Studentbolig: building=dormitory[[BR]]
     32
     33[[Image(Styles/Coloured_buildings:amenity.jpg)]][[BR]]
     34[osmwiki:Key:amenity amenity] med verdien av amenity[[BR]]
     35[[Image(Styles/Coloured_buildings:shop.jpg)]][[BR]]
     36[osmwiki:Key:shop shop] med verdien av shop[[BR]]
     37[[Image(Styles/Coloured_buildings:Office.jpg)]][[BR]]
     38[osmwiki:Office office] med verdien av office[[BR]]
     39
     40[osmwiki:Key:building Wiki:building][[BR]]
     41
     42== Kode ==
     43{{{
     44#!style type="mapcss"
     45
     46meta   
     47{
     48        title: "Fargede Bygninger.de";
     49        author: "geozeisig";
     50        version: "1.0[[revision]]_[[date]]";
     51        description: "Stil for å klassifisere bygninger (tysk)";
     52        link: "https://josm.openstreetmap.de/wiki/Styles/Coloured_buildings";
     53}
     54meta[lang=de]
     55{
     56        title: "Fargede Bygninger.de";
     57        description: "Stil for bygningsklassifisering";
     58        link: "https://josm.openstreetmap.de/wiki/De:Styles/Coloured_buildings";
     59}
     60area[building=residential]
     61{
     62        text: eval("Bolig");
     63        text-color: black;
     64        font-size: 9;
     65        z-index: 1;
     66        color: #FFFFFF;
     67        fill-color: #FFFFFF;
     68        width: 3;
     69        dashes: 10,2;
     70}
     71       
     72area[building=house]
     73{
     74        text: eval("Hus");
     75        text-color: black;
     76        font-size: 9;
     77        z-index: 1;
     78        color: #FFF88B;
     79        fill-color: #FFF88B;
     80        width: 3;
     81        dashes: 10,2;
     82}
     83
     84area[building=detached]
     85{
     86        text: eval("Frittstående");
     87        text-color: black;
     88        font-size: 9;
     89        z-index: 1;
     90        color: #FFFD36;
     91        fill-color: #FFFD36;
     92        width: 3;
     93}
     94area[building=semidetached_house]
     95{
     96        text: eval("Tomannsbolig");
     97        text-color: black;
     98        font-size: 9;
     99        z-index: 1;
     100        color: #FFFC00;
     101        fill-color: #FFFC00;
     102        width: 3;
     103}
     104area[building=terrace]
     105{
     106        text: eval("Rekkehus");
     107        text-color: black;
     108        font-size: 9;
     109        z-index: 1;
     110        color: #FFFC00;
     111        fill-color: #FFFC00;
     112        width: 3;
     113}
     114area[building=apartments]
     115{
     116        text: eval("Leiligheter");
     117        text-color: black;
     118        font-size: 9;
     119        z-index: 1;
     120        color: #FF9E00;
     121        fill-color: #FF9E00;
     122        width: 3;
     123}
     124area[building=garage]
     125{
     126        text: eval("Garasje");
     127        text-color: black;
     128        font-size: 9;
     129        z-index: 1;
     130        color: #A37237;
     131        fill-color: #A37237;
     132        width: 3;
     133}
     134area[building=garages]
     135{
     136        text: eval("Garasjer");
     137        text-color: black;
     138        font-size: 9;
     139        z-index: 1;
     140        color: #A37237;
     141        fill-color: #A37237;
     142        width: 3;
     143}
     144
     145area[building=parking]
     146{
     147        text: eval("Parkering");
     148        text-color: black;
     149        font-size: 9;
     150        z-index: 1;
     151        color: #A37237;
     152        fill-color: #A37237;
     153        width: 3;
     154}
     155area[building=hotel]
     156{
     157        text: eval("Hotell");
     158        text-color: black;
     159        font-size: 9;
     160        z-index: 1;
     161        color: #F26100;
     162        fill-color: #F26100;
     163        width: 3;
     164}
     165
     166area[building=commercial]
     167{
     168        text: eval("Kommersiell");
     169        text-color: black;
     170        font-size: 9;
     171        z-index: 1;
     172        color: #D76EFF;
     173        fill-color: #D76EFF;
     174        width: 3;
     175}
     176area[building=warehouse]
     177{
     178        text: eval("Lager");
     179        text-color: black;
     180        font-size: 9;
     181        z-index: 1;
     182        color: #D76EFF;
     183        fill-color: #D76EFF;
     184        width: 3;
     185}
     186area[building=toilets]
     187{
     188        text: eval("Toalett");
     189        text-color: black;
     190        font-size: 9;
     191        z-index: 1;
     192        color: #D76EFF;
     193        fill-color: #D76EFF;
     194        width: 3;
     195}
     196area[building=industrial]
     197{
     198        text: eval("Industriell");
     199        text-color: black;
     200        font-size: 9;
     201        z-index: 1;
     202        color: #C224FF;
     203        fill-color: #C224FF;
     204        width: 3;
     205}
     206
     207area[building=church]
     208{
     209        text: eval("Kirke");
     210        text-color: black;
     211        font-size: 9;
     212        z-index: 1;
     213        color: #9224FF;
     214        fill-color: #9224FF;
     215        width: 3;
     216}
     217area[building=chapel]
     218{
     219        text: eval("Kapell");
     220        text-color: black;
     221        font-size: 9;
     222        z-index: 1;
     223        color: #9224FF;
     224        fill-color: #9224FF;
     225        width: 3;
     226}
     227area[building=mosque]
     228{
     229        text: eval("Moske");
     230        text-color: black;
     231        font-size: 9;
     232        z-index: 1;
     233        color: #9224FF;
     234        fill-color: #9224FF;
     235        width: 3;
     236}
     237area[building=synagogue]
     238{
     239        text: eval("Synagoge");
     240        text-color: black;
     241        font-size: 9;
     242        z-index: 1;
     243        color: #9224FF;
     244        fill-color: #9224FF;
     245        width: 3;
     246}
     247area[building=temple]
     248{
     249        text: eval("Tempel");
     250        text-color: black;
     251        font-size: 9;
     252        z-index: 1;
     253        color: #9224FF;
     254        fill-color: #9224FF;
     255        width: 3;
     256}
     257area[building=cathedral]
     258{
     259        text: eval("Katedral");
     260        text-color: black;
     261        font-size: 9;
     262        z-index: 1;
     263        color: #7D1DDD;
     264        fill-color: #7D1DDD;
     265        width: 3;
     266}
     267
     268area[building=retail]
     269{
     270        text: eval("Detaljhandel");
     271        text-color: black;
     272        font-size: 9;
     273        z-index: 1;
     274        color: #A5FC4E;
     275        fill-color: #A5FC4E;
     276        width: 3;
     277}
     278
     279area[building=supermarket]
     280{
     281        text: eval("Supermarked");
     282        text-color: black;
     283        font-size: 9;
     284        z-index: 1;
     285        color: #A5FC4E;
     286        fill-color: #A5FC4E;
     287        width: 3;
     288}
     289area[building=kiosk]
     290{
     291        text: eval("Kiosk");
     292        text-color: black;
     293        font-size: 9;
     294        z-index: 1;
     295        color: #A5FC4E;
     296        fill-color: #A5FC4E;
     297        width: 3;
     298}
     299
     300area[building=roof]
     301{
     302        text: eval("Tak");
     303        text-color: black;
     304        font-size: 9;
     305        z-index: 1;
     306        color: #CBA371;
     307        fill-color: #CBA371;
     308        width: 3;
     309}
     310
     311area[building=hospital]
     312{
     313        text: eval("Sykehus");
     314        text-color: black;
     315        font-size:10;
     316        z-index: 1;
     317        color: #FF5566;
     318        fill-color: #FF5566;
     319        width: 3;
     320}
     321area[building=fire_station]
     322{
     323        text: eval("Brannstasjon");
     324        text-color: black;
     325        font-size:10;
     326        z-index: 1;
     327        color: #FF5566;
     328        fill-color: #FF5566;
     329        width: 3;
     330}
     331area[amenity=hospital]
     332{
     333        color: #FF5566;
     334        width: 3;
     335}
     336area[building=school]
     337{
     338        text: eval("Skole");
     339        text-color: black;
     340        font-size: 9;
     341        z-index: 1;
     342        color: #884CFF;
     343        fill-color: #884CFF;
     344        width: 3;
     345}
     346area[building=kindergarten]
     347{
     348        text: eval("Barnehage");
     349        text-color: black;
     350        font-size: 9;
     351        z-index: 1;
     352        color: #884CFF;
     353        fill-color: #884CFF;
     354        width: 3;
     355}
     356area[amenity=school]
     357{
     358        color: #884CFF;
     359        width: 3;
     360}
     361area[building=university]
     362{
     363        text: eval("Universitet");
     364        text-color: black;
     365        font-size: 9;
     366        z-index: 1;
     367        color: #7834FF;
     368        fill-color: #7834FF;
     369        width: 2;
     370}
     371area[amenity=university]
     372{
     373        color: #7834FF;
     374        width: 3;
     375}
     376area[building=civic]
     377{
     378        text: eval("Offentlig");
     379        text-color: black;
     380        font-size: 9;
     381        z-index: 1;
     382        color: #FF2238;
     383        fill-color: #FF2238;
     384        width: 3;
     385        dashes: 10,2;
     386}
     387area[building=train_station]
     388{
     389        text: eval("Jernbanestasjon");
     390        text-color: black;
     391        font-size: 9;
     392        z-index: 1;
     393        color: #FF2238;
     394        fill-color: #FF2238;
     395        width: 3;
     396}
     397
     398area[building=dormitory]
     399{
     400        text: eval("Studentbolig");
     401        text-color: black;
     402        font-size: 9;
     403        z-index: 1;
     404        color: #F07B2D;
     405        fill-color: #F07B2D;
     406        width: 3;
     407}
     408
     409area[building=yes][amenity][building!=church][building!=cathedral]
     410{
     411        text: "amenity";
     412        text-color: black;
     413        dashes: 20,4;
     414        font-size: 10;
     415        z-index: 1;
     416        color: #FF2238;
     417        fill-color: #FF2238;
     418        width: 3;
     419}
     420
     421area[building=yes][shop]
     422{
     423        text: "butikk";
     424        text-color: black;
     425        dashes: 20,4;
     426        font-size: 10;
     427        z-index: 1;
     428        color: #3E43D2;
     429        fill-color: #3E43D2;
     430        width: 3;
     431}
     432
     433area[building=yes][office]
     434{
     435        text: "kontor";
     436        text-color: black;
     437        font-size: 10;
     438        z-index: 1;
     439        color: #39D237;
     440        fill-color: #39D237;
     441        width: 3;
     442        dashes: 20,4;
     443}
     444/* fremhev feil skolebygninger */
     445way[building=yes][amenity=school]
     446{
     447        text: eval("sett building=school");
     448        font-size: 12;
     449        z-index: 1;
     450        color: red;
     451        width: 5;
     452        dashes: 20,4;
     453        dashes-background-color: #FFFF00;
     454}
     455
     456/* fremhev feil kirke */
     457way[building=yes][amenity=place_of_worship]
     458{
     459        text: eval("sett building=church");
     460        font-size: 12;
     461        z-index: 1;
     462        color: red;
     463        width: 5;
     464        dashes: 20,4;
     465        dashes-background-color: #FFFF00;
     466}
     467
     468}}}