<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>
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
cite="mid:D72144DB43116844A324AA520D45B9E46C639BA6@OC11expo28.exchange.mit.edu"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<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>
<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>