[GraphHopper] Building Distance Matrix offline
Peter
graphhopper at gmx.de
Sun Nov 23 14:31:57 UTC 2014
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 list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20141123/51944928/attachment.html>
More information about the GraphHopper
mailing list