[GraphHopper] R: Re: Change a node without build to times
marcosi66 at virgilio.it
marcosi66 at virgilio.it
Fri Feb 14 08:39:58 UTC 2014
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?
And when You talk about "add a barrier even per request..." what do you mean?
Sorry, I am a universitary student and it is the fisrt time that I work with this thing.
Thank you.
----Messaggio originale----
Da: peathal at yahoo.de
Data: 12-feb-2014 15.17
A: "GraphHopper Java routing engine"<graphhopper at openstreetmap.org>
Ogg: Re: [GraphHopper] Change a node without build to times
No, this is of course possible. But only if you disable CH (it should be
still faster than eg. pgrouting). Then update the graph directly via
your custom http API or graphhopper java API.
You can add a barrier even per request if you put a penalty for certain
edges while the algorithm is running.
Regards,
Peter.
> marcosi66 at virgilio.it <marcosi66 at virgilio.it> writes:
>
>> Hello,
>> 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).
>> I am modifying the map.osm for test,
>> The problem I have is this:
>> 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).
>> 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.
> AFAIK this is not possible, if you want to do things like this may be
> you can have a look to http://pgrouting.org/ but with GraphHopper and
> OSRM you'll always have to recompute your datas each time you change
> them.
>
> Regards
>
_______________________________________________
GraphHopper mailing list
GraphHopper at openstreetmap.org
https://lists.openstreetmap.org/listinfo/graphhopper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20140214/0a84d7be/attachment.html>
More information about the GraphHopper
mailing list