Ticket #3870: map_features-segregated_cycleway.patch

File map_features-segregated_cycleway.patch, 3.2 KB (added by jetthe, 8 years ago)
  • resources/map_features/paths.xml

    diff --git a/resources/map_features/paths.xml b/resources/map_features/paths.xml
    index 87e7e0d..9b5f098 100644
    a b  
    2525    <inputset ref="naming"/>
    2626    <input type="choice"
    2727        name="Cycleway type" category="Cycle" description="What kind of bike path is this?"
    28         key="cycleway" presence="onTagMatch" priority="low">
     28        key="segregated" presence="onTagMatch" priority="low">
    2929        <choice value="segregated" text="Segregated" description="Cyclists and pedestrians are separated by a painted line or kerb."/>
    3030        <choice value="shared" text="Shared" description="Cyclists and pedestrians share the full width of the path."/>
    3131    </input>
     
    7979    <inputSet ref="common"/>
    8080  </feature>
    8181 
    82   <feature name="Generic path">
    83     <category>paths</category>
    84     <icon image="features/paths__unofficial.png">
    85       ${name} <i>${ncn_ref} ${rcn_ref} ${lcn_ref} ${ref}</i>
    86     </icon>
    87     <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dpath</help>
    88 
    89     <line/>
    90     <tag k="highway" v="path"/>
    91     <inputSet ref="path"/>
    92     <inputSet ref="common"/>
    93     <inputset ref="naming"/>
    94   </feature>
    95 
     82  <feature name="Generic path">
     83    <category>paths</category>
     84    <icon image="features/paths__unofficial.png">
     85      ${name} <i>${ncn_ref} ${rcn_ref} ${lcn_ref} ${ref}</i>
     86    </icon>
     87    <help>http://wiki.openstreetmap.org/wiki/Tag:highway%3Dpath</help>
     88
     89    <line/>
     90    <tag k="highway" v="path"/>
     91    <inputSet ref="path"/>
     92    <inputSet ref="common"/>
     93    <inputset ref="naming"/>
     94  </feature>
     95
    9696 
    9797  <!-- Bicycle routes -->
    9898  <feature name="National Cycle Network">
    9999    <category>paths</category>
    100     <icon image="features/route__ncn.png" background="red" foreground="white">
     100    <icon image="features/route__ncn.png" background="red" foreground="white">
    101101      <font size="14pt">
    102102        <b>${ref}</b>
    103103      </font>
     
    107107
    108108    <relation/>
    109109    <tag k="type" v="route"/>
    110     <tag k="route" v="bicycle"/>
     110    <tag k="route" v="bicycle"/>
    111111    <tag k="network" v="ncn"/>
    112112
    113113    <inputSet ref="route"/>
     
    117117
    118118  <feature name="Regional Cycle Network">
    119119    <category>paths</category>
    120     <icon image="features/route__rcn.png" background="cyan" foreground="white">
     120    <icon image="features/route__rcn.png" background="cyan" foreground="white">
    121121      <font size="14pt"><b>${ref}</b></font><br/>
    122122      <font size="12pt">${name}</font>
    123123    </icon>
     
    144144
    145145    <relation/>
    146146    <tag k="type" v="route"/>
    147     <tag k="route" v="bicycle"/>
     147    <tag k="route" v="bicycle"/>
    148148    <tag k="network" v="lcn"/>
    149149
    150150    <inputSet ref="route"/>
     
    155155 
    156156  <feature name="Long Distance Path">
    157157    <category>paths</category>
    158     <icon image="features/route__nwn.png" background="green" foreground="white">
     158    <icon image="features/route__nwn.png" background="green" foreground="white">
    159159      <font size="14pt">
    160160        <b>${ref}</b>
    161161      </font>
     
    171171    <inputSet ref="common"/>
    172172  </feature>
    173173 
    174 </featureGroup>
    175  No newline at end of file
     174</featureGroup>