[GraphHopper] Looking for an engine for horse (and hiking) routing
Peter K
peathal at yahoo.de
Tue May 28 07:42:53 UTC 2013
Hi,
> Well, it seems that I accidentally built the right dependecies. Now it
> starts but complains it cannot find the configuration file and the
> Graph. After some try and error it is running now and says its
> listening on port 8989.
>
> But when I start the webap, I get a JSON exception. The return value
> from WebHelper.readString() ist just "".
>
> The request looks good
> http://localhost:8989/api?from=49.6724,11.3494&to=49.655,11.418&type=json&encodedPolyline=true&minPathPrecision=1&algo=astar
>
> It's not a connection problem, if I stop jetty, I get a connection
> refused. So they are talking.
It could be that the java-to-java connection is not properly working any
more (I don't have a test for this I think -> hint hint ;)).
Did you try to access the web interface at http://localhost:8989/?
>>> That was the first thing I tried, even before he mentioned it. Just
>>> gives some error messages:
>>> ./graphhopper.sh: Zeile 2: $'\r': Kommando nicht gefunden.
>>> ./graphhopper.sh: Zeile 50: Syntaxfehler beim unerwarteten Wort
>>> `$'{\r''
>>> '/graphhopper.sh: Zeile 50: `function ensureMaven {
>>
>> Could you try to do
>> bash graphhopper.sh import <your_osm_file>
>
> Same error message as above.
Hmmh, ok. I'll have to try cygwin and hopefully can fix this.
Regards,
Peter.
More information about the GraphHopper
mailing list