2   <!-- ************************************************************************
 
   4        ************************************************************************ -->
 
   7   <feature name="Motorway">
 
   8     <category>roads</category>
 
   9     <icon image="features/highway__motorway.png">
 
  10       <font size="16pt"><b>${ref}</b></font><br/>
 
  12     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway</help>
 
  15     <tag k="highway" v="motorway"/>
 
  17     <inputSet ref="majorRoad"/>
 
  18     <inputSet ref="common"/>
 
  21   <feature name="Motorway link">
 
  22     <category>roads</category>
 
  23     <icon image="features/highway__motorway_link.png"/>
 
  25     <tag k="highway" v="motorway_link"/>
 
  27     <inputSet ref="majorRoad"/>
 
  28     <inputSet ref="common"/>
 
  31   <feature name="Trunk road">
 
  32     <category>roads</category>
 
  33     <icon image="features/highway__trunk.png">
 
  34       <font size="16pt"><b>${ref}</b></font><br/>
 
  35       <font size="10pt">${name}</font>
 
  37     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dtrunk</help>
 
  40     <tag k="highway" v="trunk"/>
 
  42     <inputSet ref="majorRoad"/>
 
  43     <inputSet ref="common"/>
 
  46   <feature name="Trunk link">
 
  47     <category>roads</category>
 
  48     <icon image="features/highway__trunk_link.png"/>
 
  50     <tag k="highway" v="trunk_link"/>
 
  52     <inputSet ref="majorRoad"/>
 
  53     <inputSet ref="common"/>
 
  56   <feature name="Primary road">
 
  57     <category>roads</category>
 
  58     <icon image="features/highway__primary.png">
 
  59       <font size="16pt"><b>${ref}</b></font><br/>
 
  60       <font size="10pt">${name}</font>
 
  62     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dprimary</help>
 
  65     <tag k="highway" v="primary"/>
 
  67     <inputSet ref="majorRoad"/>
 
  68     <inputSet ref="common"/>
 
  71   <feature name="Primary link">
 
  72     <category>roads</category>
 
  73     <icon image="features/highway__primary_link.png">
 
  74       <font size="16pt"><b>${ref}</b></font><br/>
 
  75       <font size="10pt">${name}</font>
 
  77     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dprimary_link</help>
 
  80     <tag k="highway" v="primary_link"/>
 
  82     <inputSet ref="majorRoad"/>
 
  83     <inputSet ref="common"/>
 
  87   <feature name="Secondary road">
 
  88     <category>roads</category>
 
  89     <icon image="features/highway__secondary.png">
 
  90       <font size="16pt"><b>${ref}</b></font><br/>
 
  91       <font size="10pt">${name}</font>
 
  93     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dsecondary</help>
 
  96     <tag k="highway" v="secondary"/>
 
  98     <inputSet ref="majorRoad"/>
 
  99     <inputSet ref="common"/>
 
 102   <feature name="Secondary link">
 
 103     <category>roads</category>
 
 104     <icon image="features/highway__secondary_link.png">
 
 109       <font size="10pt">${name}</font>
 
 111     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dsecondary_link</help>
 
 114     <tag k="highway" v="secondary_link"/>
 
 116     <inputSet ref="majorRoad"/>
 
 117     <inputSet ref="common"/>
 
 122   <feature name="Tertiary road">
 
 123     <category>roads</category>
 
 124     <icon image="features/highway__tertiary.png">
 
 125       <font size="14pt"><b>${name}</b></font><br/>
 
 126       <font size="10pt">${ref}</font>
 
 128     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dtertiary</help>
 
 131     <tag k="highway" v="tertiary"/>
 
 133     <inputSet ref="majorRoad"/>
 
 134     <inputSet ref="common"/>
 
 137   <feature name="Tertiary link">
 
 138     <category>roads</category>
 
 139     <icon image="features/highway__tertiary_link.png">
 
 140       <font size="14pt"><b>${name}</b></font><br/>
 
 141       <font size="10pt">${ref}</font>
 
 143     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dtertiary_link</help>
 
 146     <tag k="highway" v="tertiary_link"/>
 
 148     <inputSet ref="majorRoad"/>
 
 149     <inputSet ref="common"/>
 
 153   <feature name="Minor road">
 
 154     <category>roads</category>
 
 155     <icon image="features/highway__unclassified.png">
 
 156       <font size="14pt"><b>${name}</b></font>
 
 158     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dunclassified</help>
 
 161     <tag k="highway" v="unclassified"/>
 
 163     <inputSet ref="minorRoad"/>
 
 164     <inputSet ref="common"/>
 
 167   <feature name="Residential road">
 
 168     <category>roads</category>
 
 169     <icon image="features/highway__residential.png">
 
 174       <font size="8pt">${postal_code}</font>
 
 177     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dresidential</help>
 
 180     <tag k="highway" v="residential"/>
 
 182     <inputSet ref="minorRoad"/>
 
 183     <inputSet ref="common"/>
 
 186   <feature name="Service road">
 
 187     <category>roads</category>
 
 188     <icon image="features/highway__service.png">
 
 189       <font size="14pt"><b>${name}</b></font>
 
 191     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dservice</help>
 
 197     <tag k="highway" v="service"/>
 
 199     <inputSet ref="minorRoad"/>
 
 200     <input type="choice" presence="always" name="Type of service road" key="service" category="">
 
 201       <choice value="alley" text="Alleyway/laneway"/>
 
 202       <choice value="parking_aisle" text="Parking aisle" description="The path that cars drive on through a parking lot."/>
 
 203       <choice value="driveway" text="Driveway"/>
 
 204       <choice value="drive-through" text="Drive-through" description="For drive-through restaurants, bottle shops etc."/>
 
 205       <choice value="emergency_access" text="Emergency access" description="For firefighters and other emergency services."/>
 
 207     <inputSet ref="common"/>
 
 210   <feature name="Unknown road">
 
 211     <category>roads</category>
 
 212     <icon image="features/highway__unknown.png">
 
 213       <font size="10pt">This road has not been given a specific type. It's a road, and that's all that's known.</font>
 
 217     <tag k="highway" v="road"/>
 
 219     <inputSet ref="minorRoad"/>
 
 220     <inputSet ref="common"/>
 
 223   <feature name="Living Street">
 
 224     <category>roads</category>
 
 225     <icon image="features/highway__living_street.png">
 
 226       <font size="14pt"><b>${name}</b></font>
 
 228     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dliving_street</help>
 
 231     <tag k="highway" v="living_street"/>
 
 233     <inputSet ref="minorRoad"/>
 
 234     <inputSet ref="common"/>
 
 237   <feature name="Track">
 
 238     <category>roads</category>
 
 239     <icon image="features/highway__track.png">
 
 240       <font size="14pt"><b>${name}</b></font>
 
 244     <tag k="highway" v="track"/>
 
 246     <inputSet ref="path"/>
 
 247     <inputSet ref="common"/>
 
 250   <feature name="Raceway/racing track">
 
 251     <category>sport</category>
 
 253       <font size="10pt">A purpose built track for racing motor vehicles.</font>
 
 258     <tag k="highway" v="raceway"/>
 
 260     <inputSet ref="simpleName"/>
 
 261     <inputSet ref="roadPhysical"/>
 
 262     <inputSet ref="common"/>
 
 266   <feature name="Turning circle">
 
 267     <category>transport</category>
 
 268     <icon image="features/pois/transport_turning_circle.n.24.png"/>
 
 269     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dturning_circle</help>
 
 270     <point draganddrop="no"/>
 
 271     <tag k="highway" v="turning_circle"/>
 
 272     <inputSet ref="common"/>
 
 275   <feature name="Mini Roundabout">
 
 276     <category>transport</category>
 
 277     <icon image="features/pois/transport_miniroundabout_anticlockwise.n.24.png"/>
 
 278     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dmini_roundabout</help>
 
 280     <tag k="highway" v="mini_roundabout"/>
 
 281     <inputSet ref="common"/>
 
 285   <feature name="Traffic calming">
 
 286     <category>transport</category>
 
 287     <icon image="features/pois/transport_speedbump.n.24.png"/>
 
 288 <!--    <help>http://wiki.openstreetmap.org/wiki/Key:traffic_calming</help>-->
 
 290     <tag k="traffic_calming" v="yes" vmatch="*"/>
 
 291     <input type="choice" key="traffic_calming" name="Obstacle type" category="Traffic calming" presence="onTagMatch">
 
 292       <choice value="yes" text="Unspecified"/>
 
 293       <choice value="bump" text="Short bump" description="A sharp speed bump, typically slowing cars to 15 kph or less."/>
 
 294       <choice value="hump" text="Speed hump" description="A gentler, longer bump, typically slowing cars to 30 kph or less."/>
 
 295       <choice value="cushion" text="Speed cushion" description="A narrow speed bump allowing emergency vehicles and buses to pass without slowing."/>
 
 296       <choice value="table" text="Speed table" description="A very long speed hump allowing the whole wheelbase to rest on top."/>
 
 297       <choice value="chicane" text="Chicane" description="A set of obstacles causing vehicles to weave through."/>
 
 298       <choice value="rumble_strip" text="Rumble strip" description="A series of very small bumps causing vibration or noise."/>
 
 299       <choice value="choker" text="Choker" description="An artificial narrowing of the road."/>
 
 302     <inputSet ref="common"/>
 
 305   <feature name="Turn restriction">
 
 306     <category>advanced</category>
 
 307     <help>http://wiki.openstreetmap.org/wiki/Turn_restrictions</help>
 
 309     <tag k="type" v="restriction"/>
 
 310     <input type="choice" category="Restrictions" presence="always" name="Type" key="restriction" description="What's the restriction?" layout="horizontal" priority="high">
 
 311       <choice value="no_left_turn"      text="No left turn"/>
 
 312       <choice value="no_right_turn"     text="No right turn"/>
 
 313       <choice value="no_u_turn"         text="No U turns"/>
 
 314       <choice value="no_straight_on"    text="No straight on"/>
 
 315       <choice value="only_left_turn"    text="Left turn only"/>
 
 316       <choice value="only_right_turn"   text="Right turn only"/>
 
 317       <choice value="only_straight_on"  text="Straight on only"/>
 
 319     <input type="choice" category="Restrictions" presence="always" name="Except" key="except" description="Are any vehicles exempt?" layout="horizontal">
 
 320       <choice value="psv"      text="Bus"/>
 
 321       <choice value="bicycle"  text="Bicycle"/>
 
 322       <choice value="motorcar" text="Car"/>
 
 323       <choice value="hgv"      text="HGV"/>
 
 325     <input type="freetext" category="Restrictions" presence="always" name="Start day"  key="day_on"   description="What day of the week does it start?" layout="horizontal" priority="low"/>
 
 326     <input type="freetext" category="Restrictions" presence="always" name="Start time" key="hour_on"  description="What time of day does it start?"     layout="horizontal" priority="low"/>
 
 327     <input type="freetext" category="Restrictions" presence="always" name="End day"    key="day_off"  description="What day of the week does it end?"   layout="horizontal" priority="lowest"/>
 
 328     <input type="freetext" category="Restrictions" presence="always" name="End time"   key="hour_off" description="What time of day does it end?"       layout="horizontal" priority="lowest"/>
 
 329     <inputSet ref="common"/>
 
 333   <!-- Junction nodes (for turn restrictions) -->
 
 337     <within entity="way" k="highway" minimum="2"/>
 
 338     <inputSet ref="junctionNode"/>
 
 339     <inputSet ref="common"/>