Changes between Initial Version and Version 1 of Styles/Coloured_buildings


Ignore:
Timestamp:
2013-01-29T09:49:46+01:00 (13 years ago)
Author:
geozeisig
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Styles/Coloured_buildings

    v1 v1  
     1
     2== Classification of buildings ==
     3Einfamilienhaus: building=house[[BR]]
     4Reihenhaus: building=terrace[[BR]]
     5Mehrfamilienhaus: building=apartments[[BR]]
     6Garagen: building=garage[[BR]]
     7
     8Hotel: building=hotel[[BR]]
     9Kirche: building=church, building=cathedral[[BR]]
     10Einzelhandel: building=retail[[BR]]
     11Krankenhaus: building=hospital[[BR]]
     12Gewerblich: building=commercial[[BR]]
     13Industriel: building=industrial[[BR]]
     14
     15Schule (nur Gebäude): building=school[[BR]]
     16Schulgelände: amenity=school[[BR]]
     17Universität: building=university[[BR]]
     18Öffentliche Geb.: building=civic[[BR]]
     19Wohnheim: building=dormitory[[BR]]
     20
     21[http://wiki.openstreetmap.org/wiki/DE:Key:amenity amenity] mit dem Wert von amenity
     22
     23[http://wiki.openstreetmap.org/wiki/DE:Key:shop shop] mit dem Wert von shop
     24
     25[http://wiki.openstreetmap.org/wiki/Office office] mit dem Wert von office
     26
     27[[Image(Help_postcode.2.jpg)]]
     28{{{
     29#!style type="mapcss"
     30
     31
     32meta   
     33{
     34        title: "Coloured Building.de";
     35        author: "geozeisig";
     36        version: "1.0[[revision]]_[[date]]";
     37        description: "Style to ease classificate builing";
     38        link: ;
     39        watch-modified: true;
     40}
     41       
     42area[building=residential]
     43{
     44        text: eval("Wohn");
     45        text-color: black;
     46        font-size: 9;
     47        z-index: 1;
     48        color: #FFFFFF;
     49        fill-color: #FFFFFF;
     50        width: 3;
     51}
     52       
     53area[building=house]
     54{
     55        text: eval("Einf");
     56        text-color: black;
     57        font-size: 9;
     58        z-index: 1;
     59        color: #FFFD36;
     60        fill-color: #FFFD36;
     61        width: 3;
     62}
     63
     64area[building=terrace]
     65{
     66        text: eval("Reihen");
     67        text-color: black;
     68        font-size: 9;
     69        z-index: 1;
     70        color: #FFFC00;
     71        fill-color: #FFFC00;
     72        width: 3;
     73}
     74
     75area[building=apartments]
     76{
     77        text: eval("Mehrf");
     78        text-color: black;
     79        font-size: 9;
     80        z-index: 1;
     81        color: #FF9E00;
     82        fill-color: #FF9E00;
     83        width: 3;
     84}
     85
     86area[building=garage]
     87{
     88        text: eval("Garage");
     89        text-color: black;
     90        font-size: 9;
     91        z-index: 1;
     92        color: #A37237;
     93        fill-color: #A37237;
     94        width: 3;
     95}
     96
     97area[building=garages]
     98{
     99        text: eval("Garagen");
     100        text-color: black;
     101        font-size: 9;
     102        z-index: 1;
     103        color: #A37237;
     104        fill-color: #A37237;
     105        width: 3;
     106}
     107
     108area[building=hotel]
     109{
     110        text: eval("Hotel");
     111        text-color: black;
     112        font-size: 9;
     113        z-index: 1;
     114        color: #F26100;
     115        fill-color: #F26100;
     116        width: 3;
     117}
     118
     119area[building=commercial]
     120{
     121        text: eval("gewerblich");
     122        text-color: black;
     123        font-size: 9;
     124        z-index: 1;
     125        color: #D76EFF;
     126        fill-color: #D76EFF;
     127        width: 3;
     128}
     129
     130area[building=industrial]
     131{
     132        text: eval("industriel");
     133        text-color: black;
     134        font-size: 9;
     135        z-index: 1;
     136        color: #C224FF;
     137        fill-color: #C224FF;
     138        width: 3;
     139}
     140
     141area[building=church]
     142{
     143        text: eval("Kirche");
     144        text-color: black;
     145        font-size: 9;
     146        z-index: 1;
     147        color: #9224FF;
     148        fill-color: #9224FF;
     149        width: 3;
     150}
     151
     152area[building=cathedral]
     153{
     154        text: eval("Dom");
     155        text-color: black;
     156        font-size: 9;
     157        z-index: 1;
     158        color: #7D1DDD;
     159        fill-color: #7D1DDD;
     160        width: 3;
     161}
     162
     163area[building=retail]
     164{
     165        text: eval("Einzelhandel");
     166        text-color: black;
     167        font-size: 9;
     168        z-index: 1;
     169        color: #A5FC4E;
     170        fill-color: #A5FC4E;
     171        width: 3;
     172}
     173
     174area[building=roof]
     175{
     176        text: eval("Dach");
     177        text-color: black;
     178        font-size: 9;
     179        z-index: 1;
     180        color: #CBA371;
     181        fill-color: #CBA371;
     182        width: 3;
     183}
     184
     185area[building=hospital]
     186{
     187        text: eval("Krankenhaus");
     188        text-color: black;
     189        font-size:10;
     190        z-index: 1;
     191        color: #FF5566;
     192        fill-color: #FF5566;
     193        width: 3;
     194}
     195
     196area[building=school]
     197{
     198        text: eval("Schule");
     199        text-color: black;
     200        font-size: 9;
     201        z-index: 1;
     202        color: #884CFF;
     203        fill-color: #884CFF;
     204        width: 3;
     205}
     206
     207area[building=university]
     208{
     209        text: eval("Uni");
     210        text-color: black;
     211        font-size: 9;
     212        z-index: 1;
     213        color: #7834FF;
     214        fill-color: #7834FF;
     215        width: 3;
     216}
     217
     218area[building=civic]
     219{
     220        text: eval("Öffentlich");
     221        text-color: black;
     222        font-size: 9;
     223        z-index: 1;
     224        color: #FF2238;
     225        fill-color: #FF2238;
     226        width: 3;
     227}
     228
     229
     230area[building=dormitory]
     231{
     232        text: eval("Wohnheim");
     233        text-color: black;
     234        font-size: 9;
     235        z-index: 1;
     236        color: #F07B2D;
     237        fill-color: #F07B2D;
     238        width: 3;
     239}
     240
     241area[building][amenity][building!=church][building!=cathedral]
     242{
     243        text: "amenity";
     244        text-color: black;
     245        dashes: 20,4;
     246        font-size: 10;
     247        z-index: 1;
     248        color: #FF2238;
     249        fill-color: #FF2238;
     250        width: 3;
     251}
     252
     253area[building][shop]
     254{
     255        text: "shop";
     256        text-color: black;
     257        dashes: 20,4;
     258        font-size: 10;
     259        z-index: 1;
     260        color: #3E43D2;
     261        fill-color: #3E43D2;
     262        width: 3;
     263}
     264
     265area[building][office]
     266{
     267        text: "office";
     268        text-color: black;
     269        font-size: 10;
     270        z-index: 1;
     271        color: #39D237;
     272        fill-color: #39D237;
     273        width: 3;
     274        dashes: 20,4;
     275}
     276/* highlight wrong schoolbuildings */
     277way[building=yes][amenity=school]
     278{
     279        text: eval("set builing=school");
     280        font-size: 12;
     281        z-index: 1;
     282        color: red;
     283        width: 5;
     284        dashes: 20,4;
     285        dashes-background-color: #FFFF00;
     286}
     287
     288/* highlight wrong church */
     289way[building=yes][amenity=place_of_worship]
     290{
     291        text: eval("set builing=church");
     292        font-size: 12;
     293        z-index: 1;
     294        color: red;
     295        width: 5;
     296        dashes: 20,4;
     297        dashes-background-color: #FFFF00;
     298}
     299
     300}}}