<div dir="ltr">Hi Peter,<br><br>thanks for your answer,I managed to build distance and time matrix :)<br><br>I have a question about values returned from res.getMillis() : they are  always lower than the values provided by google maps or bing.<br><br>As example , a route of 3,7 Km in the center of Milan city is :<br><br>10 Min - GoogleMaps<br>8 Min - Bing<br>About 4 Min - my time matrix<br><br>these values are referred to routes without traffic.How can I make my values consistent with those?<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-23 15:31 GMT+01:00 Peter <span dir="ltr"><<a href="mailto:graphhopper@gmx.de" target="_blank">graphhopper@gmx.de</a>></span>:<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>Hi Giampaolo,<br>
      <br>
      you need to get the route information like distance and time from
      the hopper.route() call like in this example:<br>
<a href="https://github.com/karussell/optaplanner-graphhopper-example/blob/master/src/main/java/com/graphhopper/optaplanner/Main.java#L59" target="_blank">https://github.com/karussell/optaplanner-graphhopper-example/blob/master/src/main/java/com/graphhopper/optaplanner/Main.java#L59</a><br>
      <br>
      Regards,<br>
      Peter<div><div class="h5"><br>
      <br>
      <br>
      On 23.11.2014 14:38, Giampaolo wrote:<br>
    </div></div></div>
    <blockquote type="cite"><div><div class="h5">
      <div dir="ltr">
        <p class="MsoNormal"><span style="color:rgb(31,73,125)" lang="EN-US">Hi all </span><span style="font-family:Wingdings;color:rgb(31,73,125)" lang="EN-US">J</span><span style="color:rgb(31,73,125)" lang="EN-US"> ,<br>
            <br>
            My name is Giampaolo, I’m currently trying to build a
            Distance Matrix offline, based on Italy’region OSM Map,
            using GH<br>
            <br>
            As a first step I’ve run the main.java successfully ,my
            sourcefile is lombardia.pbf (the region that contains Milan
            city) , then I pass the GHPoint(45.4974413, 9.1865076) of a
            station point placed inside the city, then I call
            hopper.route().<br>
            At the end of the process, it generates  some files like
            edges, names, nodes etc …
            <br>
            <br>
            Now , how can I read/open the files created? All the path
            from the GHPoint to all other nodes of the map are placed
            inside these files?</span><span lang="EN-US"></span></p>
        <span style="color:rgb(31,73,125)" lang="EN-US"><br>
          thanks a lot for your support!<br>
          <br>
          Giampaolo</span></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>