<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Stuart,<br>
      <br>
      do you have a simple unit test where it shows for which tagging
      you expect a different behaviour?<br>
      <br>
      Maybe this is related to:<br>
      <a class="moz-txt-link-freetext" href="https://github.com/graphhopper/graphhopper/pull/421">https://github.com/graphhopper/graphhopper/pull/421</a> ?<br>
      <br>
      Regards,<br>
      Peter<br>
      <br>
      On 02.06.2015 16:17, Stuart Adam wrote:<br>
    </div>
    <blockquote cite="mid:DUB119-W31E25F0C89FC01BFC0B90FBAB50@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
      <div dir="ltr">Hello all<br>
        <br>
        I am starting to look at bike routing and I note in the
        handleBikeRelated method in BikeCommonFlagEncoder the following
        logic applies.<br>
        <br>
         if (way.hasTag("bicycle", intendedValues))<br>
                {<br>
                    if (isPusingSection &&
        !way.hasTag("bicycle", "designated"))<br>
                        wayType = WayType.OTHER_SMALL_WAY;<br>
                    else<br>
                        wayType = WayType.CYCLEWAY;<br>
                } else if ("cycleway".equals(highway))<br>
                    wayType = WayType.CYCLEWAY;<br>
                else if (roadValues.contains(highway))<br>
                    wayType = WayType.ROAD;<br>
        <br>
        <br>
        This does not seem correct to me as from my understanding this
        is taking the fact that a way has been marked as having a right
        of way for bicycles (but not a pushing section) then it is a
        full blown cyclepath.  In my mind at least cycleway implies
        dedicated and marked (normally with differently coloured tarmac)
        sections which is a much stronger indication for cycle use than
        just a bicycle right of way.<br>
        <br>
        <br>
        Am I correct and if so should this be changed or was there a
        reason for this decision in Graphhopper.<br>
        <br>
        Sincerely<br>
        Stuart Adam<br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
GraphHopper mailing list
<a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/graphhopper">https://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>