[GraphHopper] Looking for an engine for horse (and hiking) routing
Nop
ekkehart at gmx.de
Mon May 27 20:47:20 UTC 2013
Hi!
Am 27.05.2013 10:48, schrieb Peter K:
> Still don't understand what you mean ... do you have an example or even
> better a pull request to improve this :) ?
Never mind, I'll have to understand the Graph better anyway.
>> If found something that looks like it a jetty:run build target in the
>> web project, but if I try and run that, I get [WARNING] The POM for
>> com.graphhopper:graphhopper:jar:0.1-20130525.080839-10 is missing, no
>> dependency information available
>
> Hmmh, you'll need to build the parent project before (but if not it
> should download it from our maven repo). See also below in the email.
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.
>
>
>> 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.
bye
Nop
More information about the GraphHopper
mailing list