[GraphHopper] Fwd: Re: Graphhopper web using own graphs
Robert Schmid
robert.schmid at fh-kempten.de
Wed Jul 10 13:32:27 UTC 2013
Thanks, Nicolas and Peter. Okay now i've got a new problem. When i try
to connect to the server from another machine than the server itself it
returns an error: "Graphhopper API offline? http://localhost:8989"
That means it's looking for a running graphopper core instance on my
local pc instead of a running instance on the server. Is that a bug?
Thanks in advance,
Robert
-------- Original-Nachricht --------
Betreff: Re: [GraphHopper] Graphhopper web using own graphs
Datum: Wed, 10 Jul 2013 14:09:18 +0200
Von: Peter K <peathal at yahoo.de>
Antwort an: GraphHopper Java routing engine
<graphhopper at openstreetmap.org>
An: graphhopper at openstreetmap.org
ups, thanks nicolas! fixed!
Peter.
> Hi Robert,
>
> I think your problem is in file /web/src/main/webapp/js/main.js
> Open it and change the value of variable named "LOCAL" at line 22 :
> LOCAL=false; ===> LOCAL=true;
>
> Regards,
>
> Nicolas GILLET
>
>
> Market-IP - Creating Mobile Intelligence
> Phone : +32 81 33 11 11
> Fax : +32 81 33 11 10
> www.market-ip.com - www.telefleet.com - www.geoplanning.net - www.drivexpert.net
>
>
> -----Message d'origine-----
> De : Robert Schmid [mailto:robert.schmid at fh-kempten.de]
> Envoyé : mercredi 10 juillet 2013 13:13
> À : GraphHopper at openstreetmap.org
> Objet : [GraphHopper] Graphhopper web using own graphs
>
> Hey Peter,
>
> I want to use Graphhopper web with my own graph. Here is what i'm doing:
> - running ./graphhopper.sh web unterfranken.osm It builds the graph successfully. But if i access the server via web browser it will use a graph from the internet and i am able to route around the world.
> Why is that? Is there any flag which needs to be set to use only the unterfranken graph and my local graphhopper core framework?
>
> Thanks in advance,
>
> Robert
>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/graphhopper
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/graphhopper
>
_______________________________________________
GraphHopper mailing list
GraphHopper at openstreetmap.org
http://lists.openstreetmap.org/listinfo/graphhopper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20130710/2db86c08/attachment.html>
More information about the GraphHopper
mailing list