<div dir="ltr">thank you!<div><br></div><div>Also, two more questions: </div><div><br></div><div>1) How can I get street node/edge id(s) with LocationIndex by street's name? Could you provide a simple example? I was searching for something like .getByName but could not find it. </div>
<div><br></div><div>2) Is there a way to run routing algorithms inside a "zone"/subgraph? </div><div>Let's say our map is like showed in zone.png </div><div>We want to get from point A to point B but the algorithms should only go through nodes that are inside that blueish rectangle.</div>
<div>Is there a way to apply such zone by putting some kind of distance restriction? Or creating a subgraph? </div><div><br></div><div>I'm really really looking forward to hearing from you!</div><div><br></div><div><br>
</div><div>Best regards   </div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 9, 2014 at 5:27 PM, Peter K <span dir="ltr"><<a href="mailto:peathal@yahoo.de" target="_blank">peathal@yahoo.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Ssee FastestWeighting and
      ShortestWeighting. To use a custom weighting you extend the
      GraphHopper class (method createWeighting).<br>
      <br>
      Regards,<br>
      Peter.<br>
      <br>
    </div>
    <blockquote type="cite"><div><div class="h5">
      <div dir="ltr">Hello everybody, 
        <div><br>
        </div>
        <div>I don't fully understand how does weighting works in
          Graphhopper. </div>
        <div>As for 'shortest' path it's, I think, easy - it just simply
          compares distances between nodes and that's it. </div>
        <div>but what about when it comes to 'shortest' path?</div>
        <div><br>
        </div>
        <div>Does the algorithm goes node by node and during each
          iteration it calculates time from distance & average speed
          for that node and then it compares those time values?</div>
        <div>Sorry if that's a dumb question but I just can't follow the
          code.</div>
        <div><br>
        </div>
        <div>my goal is to manipulate those time values a bit so I want
          to know where exactly should I do that? Inside Dijkstra.java
          or somehow during GHRequest? </div>
        <div><br>
        </div>
        <div>thank you </div>
        <div><br>
        </div>
        <div> </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
GraphHopper mailing list
<a href="mailto:GraphHopper@openstreetmap.org" target="_blank">GraphHopper@openstreetmap.org</a>
<a href="https://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
GraphHopper mailing list<br>
<a href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a><br>
<br></blockquote></div><br></div>