<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hey,<br>
<br>
this is a rather broad question, not sure how to answer :)<br>
<br>
Just start play around with the graph and related stuff. E.g. have
a look into the unit tests how to create a graph and fill nodes,
edges etc. Then from that try routing, if you like feel free to
create documentation for this. Currently we only have unit tests
(which is not that bad :)) and the wiki which you probably already
read. <br>
<br>
If you have tried that and are stuck somewhere ... feel free to
ask again (a more specific question :))<br>
<br>
Regards,<br>
Peter.<br>
<br>
<br>
</div>
<blockquote cite="mid:1442f8d62a4.marcosi66@virgilio.it" type="cite">Hello,
thank you for the answer, I am a beginner and I saw your guide
about API but I didn't understand it very well, so could you
explain how does it work?<br>
<br>
And when You talk about "add a barrier even per request..." what
do you mean?<br>
Sorry, I am a universitary student and it is the fisrt time that I
work with this thing.<br>
Thank you.<br>
<br>
<blockquote>
----Messaggio originale----<br>
Da: <a class="moz-txt-link-abbreviated" href="mailto:peathal@yahoo.de">peathal@yahoo.de</a><br>
Data: 12-feb-2014 15.17<br>
A: "GraphHopper Java routing
engine"<a class="moz-txt-link-rfc2396E" href="mailto:graphhopper@openstreetmap.org"><graphhopper@openstreetmap.org></a><br>
Ogg: Re: [GraphHopper] Change a node without build to times<br>
<br>
No, this is of course possible. But only if you disable CH (it
should be<br>
still faster than eg. pgrouting). Then update the graph directly
via<br>
your custom http API or graphhopper java API.<br>
<br>
You can add a barrier even per request if you put a penalty for
certain<br>
edges while the algorithm is running.<br>
<br>
Regards,<br>
Peter.<br>
<br>
> <a class="moz-txt-link-abbreviated" href="mailto:marcosi66@virgilio.it">marcosi66@virgilio.it</a> <a class="moz-txt-link-rfc2396E" href="mailto:marcosi66@virgilio.it"><marcosi66@virgilio.it></a> writes:<br>
><br>
>> Hello, <br>
>> I have downloaded grapphoper on my pc and I'm doing
test on it, I create a server in witch there is grapphopper( for
not running in localhost:8989).<br>
>> I am modifying the map.osm for test,<br>
>> The problem I have is this:<br>
>> I want to see one time the result of calculate a route
to point A to B and at the second time I want to change a
node(for example to add a barrier) in my map(to do that I change
a node in the map.osm) and recalculate the route but I don't
want to restart the server and calculate the route(I don't want
to turn off the server but that refresh the page with an
alert("Waiting") for the user).<br>
>> The problem is that: I want to modify automatically
often the map.osm and recalculate route but avoiding to restart
everytime the server to rebuild the graph.<br>
> AFAIK this is not possible, if you want to do things like
this may be<br>
> you can have a look to <a class="moz-txt-link-freetext" href="http://pgrouting.org/">http://pgrouting.org/</a> but with
GraphHopper and<br>
> OSRM you'll always have to recompute your datas each time
you change<br>
> them.<br>
><br>
> Regards<br>
><br>
</blockquote>
</blockquote>
<br>
</body>
</html>