<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hey Yingxiang,<br>
      <br>
      this is done from various OSM tags. Have a look into e.g.
      CarFlagEncoder.acceptWay<br>
      <br>
      Regards,<br>
      Peter.<br>
      <br>
    </div>
    <blockquote
cite="mid:D72144DB43116844A324AA520D45B9E46C639BE8@OC11expo28.exchange.mit.edu"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div style="direction: ltr;font-family: Times New Roman;color:
        #000000;font-size: 12pt;">
        Hi Peter,<br>
        <div>     Thanks a lot for your reply! To be more specific about
          my question: from the raw OSM data, which fields do you use to
          decide that if a segment  permits walking/biking/driving or
          not?<br>
          <div style="font-family:Tahoma; font-size:13px">
            <div class="BodyFragment"><font face="'Times New Roman'"
                size="3">
                <div class="PlainText">Best,<br>
                  Yingxiang</div>
              </font></div>
          </div>
        </div>
        <div style="font-family: Times New Roman; color: #000000;
          font-size: 16px">
          <hr tabindex="-1">
          <div id="divRpF586201" style="direction: ltr;"><font
              color="#000000" face="Tahoma" size="2"><b>From:</b> Peter
              K [<a class="moz-txt-link-abbreviated" href="mailto:peathal@yahoo.de">peathal@yahoo.de</a>]<br>
              <b>Sent:</b> Wednesday, February 05, 2014 14:50<br>
              <b>To:</b> GraphHopper Java routing engine<br>
              <b>Subject:</b> Re: [GraphHopper] Mode for road segment<br>
            </font><br>
          </div>
          <div>
            <div class="moz-cite-prefix">Hey Yingxiang,<br>
              <br>
              every edge stores flags where there is information for all
              vehicles (speed and access). With e.g.
              carEncoder.isForward etc you can read out this
              information. Within the algorithm it is managed from an
              EdgeFilter which does all the necessary work. It is passed
              as argument to create an edgeExplorer:<br>
              outEdgeExplorer = graph.createEdgeExplorer(new
              DefaultEdgeFilter(flagEncoder, false, true));<br>
              <br>
              Regards,<br>
              Peter.<br>
              <br>
            </div>
            <blockquote type="cite">
              <style type="text/css" id="owaParaStyle"></style>
              <div style="direction:ltr; font-family:Times New Roman;
                color:#000000; font-size:12pt">
                <div style="font-family:Times New Roman; color:#000000;
                  font-size:16px">
                  <div id="divRpF779164" style="direction:ltr"><span
                      style="font-size:12pt">Hi there,</span></div>
                  <div>
                    <div style="direction:ltr; font-family:Times New
                      Roman; color:#000000; font-size:12pt">
                      <div>    I have one quick question: how do you
                        decide for each road segment which
                        transportation modes (like biking, walking) are
                        permitted?<br>
                        <div style="font-family:Tahoma; font-size:13px">
                          <div class="BodyFragment"><font face="'Times
                              New Roman'" size="3">
                              <div class="PlainText">Best,<br>
                                Yingxiang</div>
                            </font></div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <br>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>