Hi Peter, thanks for your answer,I managed to build distance and time matrix :)
I have a question about values returned from res.getMillis() : they are always lower than the values provided by google maps or bing. As example , a route of 3,7 Km in the center of Milan city is : 10 Min - GoogleMaps 8 Min - Bing About 4 Min - my time matrix these values are referred to routes without traffic.How can I make my values consistent with those? 2014-11-23 15:31 GMT+01:00 Peter <[email protected]>: > Hi Giampaolo, > > you need to get the route information like distance and time from the > hopper.route() call like in this example: > > https://github.com/karussell/optaplanner-graphhopper-example/blob/master/src/main/java/com/graphhopper/optaplanner/Main.java#L59 > > Regards, > Peter > > > > On 23.11.2014 14:38, Giampaolo wrote: > > Hi all J , > > My name is Giampaolo, I’m currently trying to build a Distance Matrix > offline, based on Italy’region OSM Map, using GH > > 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(). > At the end of the process, it generates some files like edges, names, > nodes etc … > > 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? > > thanks a lot for your support! > > Giampaolo > > > _______________________________________________ > GraphHopper mailing > [email protected]https://lists.openstreetmap.org/listinfo/graphhopper > > > > _______________________________________________ > GraphHopper mailing list > [email protected] > https://lists.openstreetmap.org/listinfo/graphhopper > >
_______________________________________________ GraphHopper mailing list [email protected] https://lists.openstreetmap.org/listinfo/graphhopper
