Changes between Version 2 and Version 3 of Es:Styles/Coloured_buildings


Ignore:
Timestamp:
2018-11-04T06:12:36+01:00 (8 years ago)
Author:
dcapillae
Comment:

Spanish code

Legend:

Unmodified
Added
Removed
Modified
  • Es:Styles/Coloured_buildings

    v2 v3  
    2828Área de la escuela: amenity=school[[BR]]
    2929Universidad: building=university[[BR]]
    30 Público: building=civc[[BR]]
     30Público: building=public[[BR]]
    3131Residencia: building=dormitory[[BR]]
    3232
     
    3434[osmwiki:Key:amenity amenity] con el valor del equipamiento[[BR]]
    3535[[Image(wiki:Styles/Coloured_buildings:shop.jpg)]][[BR]]
    36 [osmwiki:Key:shop shop] con el valor del establecimiento comercial[[BR]]
     36[osmwiki:Key:shop shop] con el valor del comercio[[BR]]
    3737[[Image(wiki:Styles/Coloured_buildings:Office.jpg)]][[BR]]
    3838[osmwiki:Office office] con el valor de la oficina[[BR]]
     
    5151meta   
    5252{
    53         title: "Coloured Buildings.de";
    54         author: "geozeisig";
    55         version: "1.012_2014-04-01";
    56         description: "Style to classify buildings (german)";
     53        title: "Coloured Buildings";
     54        author: "geozeisig";
     55        version: "1.012_2014-04-01";
     56        description: "Style to classify buildings (Spanish)";
    5757        link: "https://josm.openstreetmap.de/wiki/Styles/Coloured_buildings";
    5858        watch-modified: true;
    5959}
    60 meta[lang=de]
    61 {
    62         title: "Coloured Buildings.de";
    63         description: "Stil für Gebäudeklassifizierung";
    64         link: "https://josm.openstreetmap.de/wiki/De:Styles/Coloured_buildings";
     60meta[lang=es]
     61{
     62        title: "Coloured Buildings";
     63        description: "Estilo para clasificar edificios";
     64        link: "https://josm.openstreetmap.de/wiki/Es:Styles/Coloured_buildings";
    6565}
    6666area[building=residential]
    6767{
    68         text: eval("Wohn");
    69         text-color: black;
    70         font-size: 9;
    71         z-index: 1;
    72         color: #FFFFFF;
    73         fill-color: #FFFFFF;
    74         width: 3;
    75         dashes: 10,2;
    76 }
    77        
     68        text: eval("Residencial");
     69        text-color: black;
     70        font-size: 9;
     71        z-index: 1;
     72        color: #FFFFFF;
     73        fill-color: #FFFFFF;
     74        width: 3;
     75        dashes: 10,2;
     76}
     77       
    7878area[building=house]
    7979{
    80         text: eval("Haus");
    81         text-color: black;
    82         font-size: 9;
    83         z-index: 1;
    84         color: #FFF88B;
    85         fill-color: #FFF88B;
    86         width: 3;
    87         dashes: 10,2;
     80        text: eval("Casa");
     81        text-color: black;
     82        font-size: 9;
     83        z-index: 1;
     84        color: #FFF88B;
     85        fill-color: #FFF88B;
     86        width: 3;
     87        dashes: 10,2;
    8888}
    8989
    9090area[building=detached]
    9191{
    92         text: eval("Einzel");
    93         text-color: black;
    94         font-size: 9;
    95         z-index: 1;
    96         color: #FFFD36;
    97         fill-color: #FFFD36;
    98         width: 3;
     92        text: eval("Vivienda unifamiliar");
     93        text-color: black;
     94        font-size: 9;
     95        z-index: 1;
     96        color: #FFFD36;
     97        fill-color: #FFFD36;
     98        width: 3;
    9999}
    100100
    101101area[building=terrace]
    102102{
    103         text: eval("Reihen");
    104         text-color: black;
    105         font-size: 9;
    106         z-index: 1;
    107         color: #FFFC00;
    108         fill-color: #FFFC00;
    109         width: 3;
     103        text: eval("Adosados");
     104        text-color: black;
     105        font-size: 9;
     106        z-index: 1;
     107        color: #FFFC00;
     108        fill-color: #FFFC00;
     109        width: 3;
    110110}
    111111
    112112area[building=apartments]
    113113{
    114         text: eval("Mehrf");
    115         text-color: black;
    116         font-size: 9;
    117         z-index: 1;
    118         color: #FF9E00;
    119         fill-color: #FF9E00;
    120         width: 3;
     114        text: eval("Apartamentos");
     115        text-color: black;
     116        font-size: 9;
     117        z-index: 1;
     118        color: #FF9E00;
     119        fill-color: #FF9E00;
     120        width: 3;
    121121}
    122122
    123123area[building=garage]
    124124{
    125         text: eval("Garage");
    126         text-color: black;
    127         font-size: 9;
    128         z-index: 1;
    129         color: #A37237;
    130         fill-color: #A37237;
    131         width: 3;
     125        text: eval("Garaje");
     126        text-color: black;
     127        font-size: 9;
     128        z-index: 1;
     129        color: #A37237;
     130        fill-color: #A37237;
     131        width: 3;
    132132}
    133133
    134134area[building=garages]
    135135{
    136         text: eval("Garagen");
    137         text-color: black;
    138         font-size: 9;
    139         z-index: 1;
    140         color: #A37237;
    141         fill-color: #A37237;
    142         width: 3;
     136        text: eval("Garajes");
     137        text-color: black;
     138        font-size: 9;
     139        z-index: 1;
     140        color: #A37237;
     141        fill-color: #A37237;
     142        width: 3;
    143143}
    144144
    145145area[building=hotel]
    146146{
    147         text: eval("Hotel");
    148         text-color: black;
    149         font-size: 9;
    150         z-index: 1;
    151         color: #F26100;
    152         fill-color: #F26100;
    153         width: 3;
     147        text: eval("Hotel");
     148        text-color: black;
     149        font-size: 9;
     150        z-index: 1;
     151        color: #F26100;
     152        fill-color: #F26100;
     153        width: 3;
    154154}
    155155
    156156area[building=commercial]
    157157{
    158         text: eval("gewerblich");
    159         text-color: black;
    160         font-size: 9;
    161         z-index: 1;
    162         color: #D76EFF;
    163         fill-color: #D76EFF;
    164         width: 3;
     158        text: eval("Oficinas");
     159        text-color: black;
     160        font-size: 9;
     161        z-index: 1;
     162        color: #D76EFF;
     163        fill-color: #D76EFF;
     164        width: 3;
    165165}
    166166
    167167area[building=industrial]
    168168{
    169         text: eval("industriel");
    170         text-color: black;
    171         font-size: 9;
    172         z-index: 1;
    173         color: #C224FF;
    174         fill-color: #C224FF;
    175         width: 3;
     169        text: eval("Industrial");
     170        text-color: black;
     171        font-size: 9;
     172        z-index: 1;
     173        color: #C224FF;
     174        fill-color: #C224FF;
     175        width: 3;
    176176}
    177177
    178178area[building=church]
    179179{
    180         text: eval("Kirche");
    181         text-color: black;
    182         font-size: 9;
    183         z-index: 1;
    184         color: #9224FF;
    185         fill-color: #9224FF;
    186         width: 3;
     180        text: eval("Iglesia");
     181        text-color: black;
     182        font-size: 9;
     183        z-index: 1;
     184        color: #9224FF;
     185        fill-color: #9224FF;
     186        width: 3;
    187187}
    188188
    189189area[building=cathedral]
    190190{
    191         text: eval("Dom");
    192         text-color: black;
    193         font-size: 9;
    194         z-index: 1;
    195         color: #7D1DDD;
    196         fill-color: #7D1DDD;
    197         width: 3;
     191        text: eval("Catedral");
     192        text-color: black;
     193        font-size: 9;
     194        z-index: 1;
     195        color: #7D1DDD;
     196        fill-color: #7D1DDD;
     197        width: 3;
    198198}
    199199
    200200area[building=retail]
    201201{
    202         text: eval("Einzelhandel");
    203         text-color: black;
    204         font-size: 9;
    205         z-index: 1;
    206         color: #A5FC4E;
    207         fill-color: #A5FC4E;
    208         width: 3;
     202        text: eval("Comercial");
     203        text-color: black;
     204        font-size: 9;
     205        z-index: 1;
     206        color: #A5FC4E;
     207        fill-color: #A5FC4E;
     208        width: 3;
    209209}
    210210
    211211area[building=roof]
    212212{
    213         text: eval("Dach");
    214         text-color: black;
    215         font-size: 9;
    216         z-index: 1;
    217         color: #CBA371;
    218         fill-color: #CBA371;
    219         width: 3;
     213        text: eval("Tejado");
     214        text-color: black;
     215        font-size: 9;
     216        z-index: 1;
     217        color: #CBA371;
     218        fill-color: #CBA371;
     219        width: 3;
    220220}
    221221
    222222area[building=hospital]
    223223{
    224         text: eval("Krankenhaus");
    225         text-color: black;
    226         font-size:10;
    227         z-index: 1;
    228         color: #FF5566;
    229         fill-color: #FF5566;
    230         width: 3;
     224        text: eval("Hospital");
     225        text-color: black;
     226        font-size:10;
     227        z-index: 1;
     228        color: #FF5566;
     229        fill-color: #FF5566;
     230        width: 3;
    231231}
    232232area[amenity=hospital]
    233233{
    234         color: #FF5566;
    235         width: 3;
     234        color: #FF5566;
     235        width: 3;
    236236}
    237237area[building=school]
    238238{
    239         text: eval("Schule");
    240         text-color: black;
    241         font-size: 9;
    242         z-index: 1;
    243         color: #884CFF;
    244         fill-color: #884CFF;
    245         width: 3;
     239        text: eval("Escuela");
     240        text-color: black;
     241        font-size: 9;
     242        z-index: 1;
     243        color: #884CFF;
     244        fill-color: #884CFF;
     245        width: 3;
    246246}
    247247area[amenity=school]
    248248{
    249         color: #884CFF;
    250         width: 3;
     249        color: #884CFF;
     250        width: 3;
    251251}
    252252area[building=university]
    253253{
    254         text: eval("Uni");
    255         text-color: black;
    256         font-size: 9;
    257         z-index: 1;
    258         color: #7834FF;
    259         fill-color: #7834FF;
    260         width: 2;
     254        text: eval("Universidad");
     255        text-color: black;
     256        font-size: 9;
     257        z-index: 1;
     258        color: #7834FF;
     259        fill-color: #7834FF;
     260        width: 2;
    261261}
    262262area[amenity=university]
    263263{
    264         color: #7834FF;
    265         width: 3;
    266 }
    267 area[building=civic]
    268 {
    269         text: eval("Öffentlich");
    270         text-color: black;
    271         font-size: 9;
    272         z-index: 1;
    273         color: #FF2238;
    274         fill-color: #FF2238;
    275         width: 3;
     264        color: #7834FF;
     265        width: 3;
     266}
     267area[building=public]
     268{
     269        text: eval("Público");
     270        text-color: black;
     271        font-size: 9;
     272        z-index: 1;
     273        color: #FF2238;
     274        fill-color: #FF2238;
     275        width: 3;
    276276}
    277277
     
    279279area[building=dormitory]
    280280{
    281         text: eval("Wohnheim");
    282         text-color: black;
    283         font-size: 9;
    284         z-index: 1;
    285         color: #F07B2D;
    286         fill-color: #F07B2D;
    287         width: 3;
     281        text: eval("Residencia");
     282        text-color: black;
     283        font-size: 9;
     284        z-index: 1;
     285        color: #F07B2D;
     286        fill-color: #F07B2D;
     287        width: 3;
    288288}
    289289
    290290area[building][amenity][building!=church][building!=cathedral]
    291291{
    292         text: "amenity";
    293         text-color: black;
    294         dashes: 20,4;
    295         font-size: 10;
    296         z-index: 1;
    297         color: #FF2238;
    298         fill-color: #FF2238;
    299         width: 3;
     292        text: "Equipamiento";
     293        text-color: black;
     294        dashes: 20,4;
     295        font-size: 10;
     296        z-index: 1;
     297        color: #FF2238;
     298        fill-color: #FF2238;
     299        width: 3;
    300300}
    301301
    302302area[building][shop]
    303303{
    304         text: "shop";
    305         text-color: black;
    306         dashes: 20,4;
    307         font-size: 10;
    308         z-index: 1;
    309         color: #3E43D2;
    310         fill-color: #3E43D2;
    311         width: 3;
     304        text: "Comercio";
     305        text-color: black;
     306        dashes: 20,4;
     307        font-size: 10;
     308        z-index: 1;
     309        color: #3E43D2;
     310        fill-color: #3E43D2;
     311        width: 3;
    312312}
    313313
    314314area[building][office]
    315315{
    316         text: "office";
    317         text-color: black;
    318         font-size: 10;
    319         z-index: 1;
    320         color: #39D237;
    321         fill-color: #39D237;
    322         width: 3;
    323         dashes: 20,4;
     316        text: "Oficina";
     317        text-color: black;
     318        font-size: 10;
     319        z-index: 1;
     320        color: #39D237;
     321        fill-color: #39D237;
     322        width: 3;
     323        dashes: 20,4;
    324324}
    325325/* highlight wrong schoolbuildings */
    326326way[building=yes][amenity=school]
    327327{
    328         text: eval("set builing=school");
    329         font-size: 12;
    330         z-index: 1;
    331         color: red;
    332         width: 5;
    333         dashes: 20,4;
    334         dashes-background-color: #FFFF00;
     328        text: eval("Establecer como builing=school");
     329        font-size: 12;
     330        z-index: 1;
     331        color: red;
     332        width: 5;
     333        dashes: 20,4;
     334        dashes-background-color: #FFFF00;
    335335}
    336336
     
    338338way[building=yes][amenity=place_of_worship]
    339339{
    340         text: eval("set builing=church");
    341         font-size: 12;
    342         z-index: 1;
    343         color: red;
    344         width: 5;
    345         dashes: 20,4;
    346         dashes-background-color: #FFFF00;
     340        text: eval("Establecer como builing=church");
     341        font-size: 12;
     342        z-index: 1;
     343        color: red;
     344        width: 5;
     345        dashes: 20,4;
     346        dashes-background-color: #FFFF00;
    347347}
    348348