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: peathal@yahoo.de<br>Data: 12-feb-2014 15.17<br>A: "GraphHopper Java routing engine"<graphhopper@openstreetmap.org><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>> marcosi66@virgilio.it <marcosi66@virgilio.it> 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 http://pgrouting.org/ 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><br><br>_______________________________________________<br>GraphHopper mailing list<br>GraphHopper@openstreetmap.org<br>https://lists.openstreetmap.org/listinfo/graphhopper<br><br></blockquote><br>