[GraphHopper] can I add nodes and edges to the graph on the fly?
Peter
graphhopper at gmx.de
Thu Jul 23 13:47:16 UTC 2015
Hi,
you can, but there is currently no way to remove such edges (efficiently).
Another workaround would be to use the QueryGraph for this like we use
to introduce virtual nodes and edges to incorporate the start+end GPS
point into the graph. But never tried this.
Why not always add all such points to the graph, why is a dynamic
scenario needed here?
Kind Regards,
Peter
On 23.07.2015 15:42, graphhopper newbie wrote:
> Hi everybody,
> I am wondering if I can add nodes and edges to the graph after its
> creation in a dynamic way. I need this functionality to deal with
> dynamic scenarios like representing available bikesharing/carsharing
> points which changes often. The simpist case I need is to add an edge
> from a newly added node ( representing the available bike) to the
> closest node in the graph and the reverse edge. i.e. from the closest
> node to the the bike node.
>
> Thank you very much,
>
>
> _______________________________________________
> 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/20150723/c6117c87/attachment.html>
More information about the GraphHopper
mailing list