User:Hubert87/bicycle

From OpenStreetMap Wiki
Jump to: navigation, search

bicycle.render.xml

<renderingStyle name="bicycle" depends="default" version="1">
  <order>
    <group objectType="2" area="false" point="false">
      <filter appmode="bicycle" tag="highway" value="cycleway" order="255"></filter>
      <filter appmode="bicycle" tag="highway" value="path" order="255"></filter>
      <filter appmode="bicycle" tag="surface" value="cobblestone" order="255"></filter>
      <filter appMode="bicycle" tag="highway" value="footway" additional="bicycle=yes" order="255"></filter>
    </group>
  </order>
  <line>
    <filter appmode="bicycle" tag="surface" value="cobblestone" minzoom="14" color="#ff0000" strokeWidth="2" pathEffect="1"></filter>
    <filter appmode="bicycle" tag="smoothness" value="intermediate" minzoom="14" color="#ff0000" strokeWidth="2" pathEffect="1"></filter>
    <filter appmode="bicycle" tag="highway" value="cycleway" minzoom="14" color="#0000ff" strokeWidth="2" pathEffect="1">
      <filter additional="bicycle=yes" pathEffect="8_4"></filter>
    </filter>
    <filter appmode="bicycle" tag="cycleway" value="lane" minzoom="14" color="#0000ff" strokeWidth="2" pathEffect="1"></filter>
    <filter appmode="bicycle" tag="cycleway" value="shared_lane" minzoom="14" color="#0000ff" strokeWidth="2" pathEffect="8_4"></filter>
    <filter appmode="bicycle" tag="cycleway" value="opposite" minzoom="14" color="#00ff00" strokeWidth="2" pathEffect="8_4"></filter>
    <filter appmode="bicycle" tag="cycleway" value="opposite_lane" minzoom="14" color="#00ff00" strokeWidth="2" pathEffect="1"></filter>
    <filter appmode="bicycle" tag="cycleway" value="track" minzoom="14" color="#0000ff" strokeWidth="2" pathEffect="1"></filter>
    <filter appmode="bicycle" tag="highway" value="path" additional="bicycle=official" minzoom="14" color="#0000ff" strokeWidth="2" pathEffect="1"></filter>
    <filter appmode="bicycle" tag="highway" value="path" additional="bicycle=designated" minzoom="14" color="#ff0000" strokeWidth="2" pathEffect="4_4">
      <filter additional="traffic_sign=none" color="#0000ff" pathEffect="8_4"></filter>
      <filter additional="traffic_sign=DE:237" color="#0000ff" pathEffect="1"></filter>
      <filter additional="traffic_sign=DE:240" color="#0000ff" pathEffect="1"></filter>
      <filter additional="traffic_sign=DE:240; 1022-11" color="#0000ff" pathEffect="1"></filter>
      <filter additional="traffic_sign=DE:240;1022-11" color="#0000ff" pathEffect="1"></filter>
      <filter additional="traffic_sign=DE:241" color="#0000ff" pathEffect="1"></filter>
    </filter>
    <filter appmode="bicycle" tag="highway" value="path" additional="bicycle=yes" minzoom="14" color="#ff0000" strokeWidth="2" pathEffect="4_4"></filter>
    <filter appmode="bicycle" tag="highway" value="footway" additional="bicycle=yes" minzoom="14" color="#0000ff" strokeWidth="2" pathEffect="4_4"></filter>
    <filter appmode="bicycle" tag="highway" value="pedestrian" additional="bicycle=yes" minzoom="14" color="#0000ff" strokeWidth="2" pathEffect="4_4"></filter>
    <filter appmode="bicycle" tag="surface" value="cobblestone" minzoom="14" color="#ff0000" strokeWidth="2" pathEffect="1"></filter>
    <filter appmode="bicycle" tag="smoothness" value="intermediate" minzoom="14" color="#ff0000" strokeWidth="2" pathEffect="1"></filter>
  </line>
</renderingStyle>