<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    > How can I get the orientation in
    the List<EdgeIteratorState> which is returned by calcEdges?<br>
    <br>
    Every EdgeIteratorState in the list already has the correct
    direction of the vehicle. So you don't need to swap the pointlist
    from edge.fetchWayGeometry or something. But a vehicle in the
    opposite direction has a different list and different instances of
    EdgeIteratorState.<br>
    <br>
    > Should I add the directory orientation to my code or did you
    change GraphHopper?<br>
    <br>
    I'm again unsure about your exact problem. What do you mean here?<br>
    <br>
    Peter.<br>
    <br>
    <blockquote
      cite="mid:AD87AC99-624D-4736-8F1B-86AA62D38933@tu-clausthal.de"
      type="cite">
      <div>Should I add the directory orientation to my code or did you
        change GraphHopper?</div>
      <div>How can I get the orientation in
        the List<EdgeIteratorState> which is returned by
        calcEdges?</div>
      <div><br>
      </div>
      <div>Phil</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <br>
      <div>
        <div>Am 01.05.2014 um 15:28 schrieb Peter K <<a
            moz-do-not-send="true" href="mailto:peathal@yahoo.de">peathal@yahoo.de</a>>:</div>
        <br class="Apple-interchange-newline">
        <blockquote type="cite">
          <meta content="text/html; charset=ISO-8859-1"
            http-equiv="Content-Type">
          <div bgcolor="#FFFFFF" text="#000000">
            <div class="moz-cite-prefix">ups, ... will have the <b>same
                edgeId</b> so you ..<br>
              <br>
            </div>
            <blockquote cite="mid:53624BA2.4040404@yahoo.de" type="cite">
              <pre wrap="">Hey Phil,

the route result Path will give you always the edgeIteratorState with
the correct direction. If the edgeState is for the same edge then still
all states (e.g. directions are different) will have the edgeId so you
can associate them correctly to the cells IMO.

Regards,
Peter.

</pre>
              <blockquote type="cite">
                <pre wrap="">Am 01.05.2014 um 14:42 schrieb Peter K <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:peathal@yahoo.de"><peathal@yahoo.de></a>:

</pre>
                <blockquote type="cite">
                  <pre wrap="">Why can't you use the correctly directed edgeIterStates which are
returned as routing result? (Path.calcEdges)
</pre>
                </blockquote>
                <pre wrap="">My simulated cars can drive in both directions, but I have only one cell
sampling for both directions, imho I get different edges for the direction.

I'm thinking about if it is a better choice to create different samplings for both
directions or can GraphHopper return for each direction different edge ids?

My driving method get the edge, so I can add on the "getting" call the current
direction, but imho an own edge should be better.
</pre>
              </blockquote>
            </blockquote>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>