[GraphHopper] R: Re: Change a node without build to times
Peter K
peathal at yahoo.de
Fri Feb 14 22:55:06 UTC 2014
Hey,
this is a rather broad question, not sure how to answer :)
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.
If you have tried that and are stuck somewhere ... feel free to ask
again (a more specific question :))
Regards,
Peter.
> 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
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20140214/f9ea82c7/attachment.html>
More information about the GraphHopper
mailing list