Changes between Version 2 and Version 3 of Styles/Maxspeed


Ignore:
Timestamp:
2011-02-25T21:29:35+01:00 (14 years ago)
Author:
stoecker
Comment:

Include MPH style

Legend:

Unmodified
Added
Removed
Modified
  • Styles/Maxspeed

    v2 v3  
    33<?xml version="1.0" encoding="UTF-8"?>
    44<rules xmlns="http://josm.openstreetmap.de/mappaint-style-1.0"
    5        author="Rubke, Dirk Stöcker" shortdescription="Maxspeed" de.shortdescription="Höchstgeschwindigkeit"
     5       author="Rubke, Dirk Stöcker, Vclaw" shortdescription="Maxspeed" de.shortdescription="Höchstgeschwindigkeit"
    66       description="Show maxspeed settings in JOSM map display"
    77       de.description="Anzeige der Höchstgeschwindigkeiten in der JOSM-Kartenanzeige"
     
    99  <rule>
    1010    <condition k="maxspeed" v="15"/>
    11     <linemod mode="over" width="10" realwidth="8" colour="speed15#00da8bA0"/>
     11    <linemod mode="over" width="10" realwidth="8" colour="speed_15#00da8bA0"/>
    1212  </rule>
    1313  <rule>
    1414    <condition k="maxspeed" v="30"/>
    15     <linemod mode="over" width="10" realwidth="8" colour="speed30#4d4dffA0"/>
     15    <linemod mode="over" width="10" realwidth="8" colour="speed_30#4d4dffA0"/>
    1616  </rule>
    1717  <rule>
    1818    <condition k="maxspeed" v="40"/>
    19     <linemod mode="over" width="10" realwidth="8" colour="speed40#4d4d00A0"/>
     19    <linemod mode="over" width="10" realwidth="8" colour="speed_40#4d4d00A0"/>
    2020  </rule>
    2121  <rule>
    2222    <condition k="maxspeed" v="50"/>
    23     <linemod mode="over" width="10" realwidth="8" colour="speed50#07f807A0"/>
     23    <linemod mode="over" width="10" realwidth="8" colour="speed_50#07f807A0"/>
    2424  </rule>
    2525  <rule>
    2626    <condition k="maxspeed" v="60"/>
    27     <linemod mode="over" width="10" realwidth="8" colour="speed60#9f9fffA0"/>
     27    <linemod mode="over" width="10" realwidth="8" colour="speed_60#9f9fffA0"/>
    2828  </rule>
    2929  <rule>
    3030    <condition k="maxspeed" v="70"/>
    31     <linemod mode="over" width="10" realwidth="8" colour="speed70#eec600A0"/>
     31    <linemod mode="over" width="10" realwidth="8" colour="speed_70#eec600A0"/>
    3232  </rule>
    3333  <rule>
    3434    <condition k="maxspeed" v="80"/>
    35     <linemod mode="over" width="10" realwidth="8" colour="speed80#f90808A0"/>
     35    <linemod mode="over" width="10" realwidth="8" colour="speed_80#f90808A0"/>
    3636  </rule>
    3737  <rule>
    3838    <condition k="maxspeed" v="90"/>
    39     <linemod mode="over" width="10" realwidth="8" colour="speed90#07f8f8A0"/>
     39    <linemod mode="over" width="10" realwidth="8" colour="speed_90#07f8f8A0"/>
    4040  </rule>
    4141  <rule>
    4242    <condition k="maxspeed" v="100"/>
    43     <linemod mode="over" width="10" realwidth="8" colour="speed100#f807f8A0"/>
     43    <linemod mode="over" width="10" realwidth="8" colour="speed_100#f807f8A0"/>
    4444  </rule>
    4545  <rule>
    4646    <condition k="maxspeed" v="110"/>
    47     <linemod mode="over" width="10" realwidth="8" colour="speed110#7807f8A0"/>
     47    <linemod mode="over" width="10" realwidth="8" colour="speed_110#7807f8A0"/>
    4848  </rule>
    4949  <rule>
    5050    <condition k="maxspeed" v="120"/>
    51     <linemod mode="over" width="10" realwidth="8" colour="speed120#f6f807A0"/>
     51    <linemod mode="over" width="10" realwidth="8" colour="speed_120#f6f807A0"/>
    5252  </rule>
    5353  <rule>
    5454    <condition k="maxspeed" v="130"/>
    55     <linemod mode="over" width="10" realwidth="8" colour="speed130#c0f100A0"/>
     55    <linemod mode="over" width="10" realwidth="8" colour="speed_130#c0f100A0"/>
     56  </rule>
     57
     58  <!-- now a set of rules for miles per hour instead of km per hour -->
     59
     60  <rule>
     61    <condition k="maxspeed" v="10 mph"/>
     62    <linemod mode="over" width="10" realwidth="8" colour="speed_10mph#00da8bA0"/>
     63  </rule>
     64  <rule>
     65    <condition k="maxspeed" v="10mph"/>
     66    <linemod mode="over" width="10" realwidth="8" colour="speed_10mph#00da8bA0"/>
     67  </rule>
     68  <rule>
     69    <condition k="maxspeed" v="16"/>
     70    <linemod mode="over" width="10" realwidth="8" colour="speed_10mph#00da8bA0"/>
     71  </rule>
     72  <rule>
     73    <condition k="maxspeed" v="16.09"/>
     74    <linemod mode="over" width="10" realwidth="8" colour="speed_10mph#00da8bA0"/>
     75  </rule>
     76  <rule>
     77    <condition k="maxspeed" v="15 mph"/>
     78    <linemod mode="over" width="10" realwidth="8" colour="speed_15mph#c0f100A0"/>
     79  </rule>
     80  <rule>
     81    <condition k="maxspeed" v="15mph"/>
     82    <linemod mode="over" width="10" realwidth="8" colour="speed_15mph#c0f100A0"/>
     83  </rule>
     84  <rule>
     85    <condition k="maxspeed" v="24"/>
     86    <linemod mode="over" width="10" realwidth="8" colour="speed_15mph#c0f100A0"/>
     87  </rule>
     88  <rule>
     89    <condition k="maxspeed" v="24.14"/>
     90    <linemod mode="over" width="10" realwidth="8" colour="speed_15mph#c0f100A0"/>
     91  </rule>
     92
     93  <rule>
     94    <condition k="maxspeed" v="20 mph"/>
     95    <linemod mode="over" width="10" realwidth="8" colour="speed_20mph#4d4dffA0"/>
     96  </rule>
     97  <rule>
     98    <condition k="maxspeed" v="20mph"/>
     99    <linemod mode="over" width="10" realwidth="8" colour="speed_20mph#4d4dffA0"/>
     100  </rule>
     101  <rule>
     102    <condition k="maxspeed" v="32"/>
     103    <linemod mode="over" width="10" realwidth="8" colour="speed_20mph#4d4dffA0"/>
     104  </rule>
     105  <rule>
     106    <condition k="maxspeed" v="32.19"/>
     107    <linemod mode="over" width="10" realwidth="8" colour="speed_20mph#4d4dffA0"/>
     108  </rule>
     109  <rule>
     110    <condition k="maxspeed" v="30 mph"/>
     111    <linemod mode="over" width="10" realwidth="8" colour="speed_30mph#07f807A0"/>
     112  </rule>
     113  <rule>
     114    <condition k="maxspeed" v="30mph"/>
     115    <linemod mode="over" width="10" realwidth="8" colour="speed_30mph#07f807A0"/>
     116  </rule>
     117  <rule>
     118    <condition k="maxspeed" v="48"/>
     119    <linemod mode="over" width="10" realwidth="8" colour="speed_30mph#07f807A0"/>
     120  </rule>
     121  <rule>
     122    <condition k="maxspeed" v="48.28"/>
     123    <linemod mode="over" width="10" realwidth="8" colour="speed_30mph#07f807A0"/>
     124  </rule>
     125  <rule>
     126    <condition k="maxspeed" v="40 mph"/>
     127    <linemod mode="over" width="10" realwidth="8" colour="speed_40mph#9f9fffA0"/>
     128  </rule>
     129    <rule>
     130    <condition k="maxspeed" v="40mph"/>
     131    <linemod mode="over" width="10" realwidth="8" colour="speed_40mph#9f9fffA0"/>
     132  </rule>
     133  <rule>
     134    <condition k="maxspeed" v="64"/>
     135    <linemod mode="over" width="10" realwidth="8" colour="speed_40mph#9f9fffA0"/>
     136  </rule>
     137  <rule>
     138    <condition k="maxspeed" v="64.37"/>
     139    <linemod mode="over" width="10" realwidth="8" colour="speed_40mph#9f9fffA0"/>
     140  </rule>
     141  <rule>
     142    <condition k="maxspeed" v="50 mph"/>
     143    <linemod mode="over" width="10" realwidth="8" colour="speed_50mph#f90808A0"/>
     144  </rule>
     145  <rule>
     146    <condition k="maxspeed" v="50mph"/>
     147    <linemod mode="over" width="10" realwidth="8" colour="speed_50mph#f90808A0"/>
     148  </rule>
     149  <rule>
     150    <condition k="maxspeed" v="80"/>
     151    <linemod mode="over" width="10" realwidth="8" colour="speed_50mph#f90808A0"/>
     152  </rule>
     153  <rule>
     154    <condition k="maxspeed" v="80.47"/>
     155    <linemod mode="over" width="10" realwidth="8" colour="speed_50mph#f90808A0"/>
     156  </rule>
     157  <rule>
     158    <condition k="maxspeed" v="60 mph"/>
     159    <linemod mode="over" width="10" realwidth="8" colour="speed_60mph#f807f8A0"/>
     160  </rule>
     161  <rule>
     162    <condition k="maxspeed" v="60mph"/>
     163    <linemod mode="over" width="10" realwidth="8" colour="speed_60mph#f807f8A0"/>
     164  </rule>
     165  <rule>
     166    <condition k="maxspeed" v="97"/>
     167    <linemod mode="over" width="10" realwidth="8" colour="speed_60mph#f807f8A0"/>
     168  </rule>
     169  <rule>
     170    <condition k="maxspeed" v="96.56"/>
     171    <linemod mode="over" width="10" realwidth="8" colour="speed_60mph#f807f8A0"/>
     172  </rule>
     173  <rule>
     174    <condition k="maxspeed" v="70 mph"/>
     175    <linemod mode="over" width="10" realwidth="8" colour="speed_70mph#7807f8A0"/>
     176  </rule>
     177  <rule>
     178    <condition k="maxspeed" v="70mph"/>
     179    <linemod mode="over" width="10" realwidth="8" colour="speed_70mph#7807f8A0"/>
     180  </rule>
     181  <rule>
     182    <condition k="maxspeed" v="112"/>
     183    <linemod mode="over" width="10" realwidth="8" colour="speed_70mph#7807f8A0"/>
     184  </rule>
     185  <rule>
     186    <condition k="maxspeed" v="112.65"/>
     187    <linemod mode="over" width="10" realwidth="8" colour="speed_70mph#7807f8A0"/>
     188  </rule>
     189  <rule>
     190    <condition k="maxspeed" v="80 mph"/>
     191    <linemod mode="over" width="10" realwidth="8" colour="speed_80mph#f6f807A0"/>
     192  </rule>
     193  <rule>
     194    <condition k="maxspeed" v="80mph"/>
     195    <linemod mode="over" width="10" realwidth="8" colour="speed_80mph#f6f807A0"/>
     196  </rule>
     197  <rule>
     198    <condition k="maxspeed" v="128"/>
     199    <linemod mode="over" width="10" realwidth="8" colour="speed_80mph#f6f807A0"/>
     200  </rule>
     201  <rule>
     202    <condition k="maxspeed" v="128.75"/>
     203    <linemod mode="over" width="10" realwidth="8" colour="speed_80mph#f6f807A0"/>
    56204  </rule>
    57205</rules>