<featureGroup>
  <feature name="Footpath">
    <category>paths</category>
    <icon image="features/paths__footway.png">
      ${name} <i>${ref}</i>
    </icon>
    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dfootway</help>
    <line/>
    <tag k="highway" v="footway"/>
    <inputSet ref="path"/>
    <inputSet ref="common"/>
  </feature>

  <feature name="Cycle path">
    <category>paths</category>
    <icon image="features/paths__bike.png">
      ${name} <i>${ncn_ref} ${rcn_ref} ${lcn_ref} ${ref}</i>
    </icon>
    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dcycleway</help>
    <line/>
    <tag k="highway" v="cycleway"/>
    <inputSet ref="path"/>
    <inputSet ref="common"/>
    <input type="choice" name="Cycleway type" category="Cycle" description="What kind of bike path is this?" key="segregated" presence="onTagMatch" priority="low">
      <choice value="yes" text="Segregated" description="Cyclists and pedestrians are separated by a painted line or kerb." />
      <choice value="no" text="Shared" description="Cyclists and pedestrians share the full width of the path." />
    </input>
  </feature>

  <feature name="Pedestrian street">
    <category>paths</category>
    <icon image="features/paths__pedestrian.png">
      <font size="14pt">
        <b>${name}</b>
      </font>
    </icon>

    <tag k="highway" v="pedestrian"/>
    <!-- pedestrian roads can be lines or areas, with different tags -->
    <!-- TODO - implement this! -->
    <line>
      <tag k="highway" v="pedestrian"/>
    </line>
    <area>
      <tag k="highway" v="pedestrian"/>
      <tag k="area" v="yes"/>
    </area>
    <inputSet ref="minorRoad"/>
    <inputSet ref="common"/>
  </feature>

  <feature name="Bridleway">
    <category>paths</category>
    <icon image="features/paths__bridleway.png">
    </icon>

    <line/>
    <tag k="highway" v="bridleway"/>
    <inputSet ref="path"/>
    <inputSet ref="common"/>
  </feature>

  <feature name="Steps">
    <category>paths</category>
    <icon image="features/paths__steps.png">
    </icon>
    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dsteps</help>

    <line/>
    <tag k="highway" v="steps"/>
    <inputSet ref="path"/>
    <input type="freetext" presence="always" category="Details" name="Number of steps" key="step_count" description="The number of steps in the way" priority="low"/>
    <inputSet ref="common"/>
  </feature>
  
  <feature name="Generic path">
    <category>paths</category>
    <icon image="features/paths__unofficial.png">
      ${name} <i>${ncn_ref} ${rcn_ref} ${lcn_ref} ${ref}</i>
    </icon>
    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dpath</help>

    <line/>
    <tag k="highway" v="path"/>
    <inputSet ref="path"/>
    <inputSet ref="common"/>
  </feature>

  
  <!-- Bicycle routes -->
  <feature name="National Cycle Network">
    <category>paths</category>
    <icon image="features/route__ncn.png" background="red" foreground="white">
      <font size="14pt">
        <b>${ref}</b>
      </font>
      <br/>
      <font size="12pt">${name}</font>
    </icon>

    <relation/>
    <tag k="type" v="route"/>
    <tag k="route" v="bicycle"/>
    <tag k="network" v="ncn"/>

    <inputSet ref="route"/>
    <inputSet ref="common"/>
  </feature>


  <feature name="Regional Cycle Network">
    <category>paths</category>
    <icon image="features/route__rcn.png" background="cyan" foreground="white">
      <font size="14pt"><b>${ref}</b></font><br/>
      <font size="12pt">${name}</font>
    </icon>

    <relation/>
    <tag k="type" v="route"/>
    <tag k="route" v="bicycle"/>
    <tag k="network" v="rcn"/>

    <inputSet ref="route"/>
    <inputSet ref="common"/>
  </feature>


  <feature name="Local Cycle Network">
    <category>paths</category>
    <icon image="features/route__lcn.png" background="blue" foreground="white">
      <font size="14pt">
        <b>${ref}</b>
      </font>
      <br/>
      <font size="12pt">${name}</font>
    </icon>

    <relation/>
    <tag k="type" v="route"/>
    <tag k="route" v="bicycle"/>
    <tag k="network" v="lcn"/>

    <inputSet ref="route"/>
    <inputSet ref="common"/>
  </feature>

  <feature name="Mountain bike route">
    <category>paths</category>
    <icon image="features/route__mtb.png" background="#9f4404" foreground="white">
      <font size="14pt">
        <b>${ref}</b>
      </font>
      <br/>
      <font size="12pt">${name}</font>
    </icon>

    <relation/>
    <tag k="type" v="route"/>
    <tag k="route" v="mtb"/>

    <input type="choice" presence="always" category="Details" name="Route type" key="mtb:type" description="What type of route is it?">
      <choice value="crosscountry" text="Cross-country"/>
      <choice value="allmountain" text="All-mountain"/>
      <choice value="freeride" text="Freeride"/>
      <choice value="downhill" text="Downhill"/>
      <choice value="trial" text="Trial"/>
    </input>
    <inputSet ref="route"/>
    <inputSet ref="common"/>
  </feature>
  
  <!-- hiking -->
  
  <feature name="Long Distance Path">
    <category>paths</category>
    <icon image="features/route__nwn.png" background="green" foreground="white">
      <font size="14pt">
        <b>${ref}</b>
      </font>
      <br/>
      <font size="12pt">${name}</font>
    </icon>

    <relation/>
    <tag k="type" v="route"/>
    <tag k="route" v="hiking" vmatch="hiking|foot"/>

    <inputSet ref="route"/>
    <inputSet ref="common"/>
  </feature>
  
</featureGroup>
