[GraphHopper] How to load routing data without CH?
Bruno Marques
baamarques at gmail.com
Thu Jan 9 09:19:49 UTC 2014
export the graph with
prepare.chShortcuts=no
In the code try this
protected Path saveDoInBackground( Void... v ) throws Exception
{
GraphHopper tmpHopp = new GraphHopper().forMobile();
tmpHopp.disableCHShortcuts();
On Wed, Jan 8, 2014 at 9:35 PM, mythex3cutioner . <mizantropy at gmail.com>wrote:
> hey,
>
> I'm editing your example for Android and I want to use simple A* and
> Dijkstra.
>
> Code is almost untouched compared to your Android example, so that should
> not be hard to understand:
>
> if I disable CH (GraphHopper tmpHopp = new
> GraphHopper().forMobile().disableCHShortcuts();), then it gives me that
> error from GraphhopperStorage.java : "Cannot load the graph - it wasn't
> create via ..."
>
> I'm trying to load "australia-oceania-latest-gh" folder with all edges,
> nodes & etc in it. there's also a .map file.
>
> Should I load the routing data somehow else if I don't want to use
> contraction hierarchies?
>
>
>
>
> _______________________________________________
> 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/20140109/c7a8d050/attachment.html>
More information about the GraphHopper
mailing list