<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">Hi,<br>
<br>
There was work done where neo4j was used as storage and so you
could do with pg routing (although I think it would be even less
suited as pg is not a graph database). But you'll need solid Java
skills:<br>
<a class="moz-txt-link-freetext" href="https://github.com/graphhopper/graphhopper-experiments/blob/master/src/main/java/com/graphhopper/compare/neo4j/Neo4JGraphImpl.java">https://github.com/graphhopper/graphhopper-experiments/blob/master/src/main/java/com/graphhopper/compare/neo4j/Neo4JGraphImpl.java</a><br>
<br>
Besides this it is probably easier to change the edge costs
directly in GraphHopper but I'm with you that a postgres or neo4j
bridge would be a very interesting thing.<br>
<br>
Regards,<br>
Peter.<br>
<br>
</div>
<blockquote
cite="mid:CAC+=QP-HM1USLv4q3fgMGGAN7TH5e7YfcO+ho3A2GwBaKmOq3A@mail.gmail.com"
type="cite">
<div dir="ltr">
<div style="font-family:arial,sans-serif;font-size:13px">Hi All</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:13px">I have
been looking at Graphhopper for our routing needs and also
looking at Pg_Routing and both packages are very impressive.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:13px">In a
Nutshell, if you want to compare the two, Graphhopper's best
feature is it speed, PG_Routing's best feature is flexibility
(speed is not it .. that is for sure)</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:13px">It
struck me last night that there may be a way to get the best
form both environments. I have been looking at how I can use
Graphhopper in a Dynamic and Changing environment for our
Disaster Network as well as a few other possibilities, but I
need the ability to be able to quickly update road
unavailability due to flooding, etc so that routing will not
be used on those areas.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:13px">PG_Routing
makes this quite easy by simply adding a high cost to that
bridge or segment of road Whereas Graphhopper requires the
rebuilding of the entire graph. (at the moment anyway)</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:13px">My
thought was, why not use both!! Use PG_Routing to maintain the
graph design and costs but make a program that builds the
graphhopper graph based on the pg_routing database and not the
osm file ..</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:13px">My gut
feel tells me that this might be quite feasible from a timing
standpoint, but I am not sure if the structure of the routing
database is suited to sequential scanning and building a
graphhopper graph. If it was, this would be a relative
painless process that could be done daily (or less) or on
demand for disaster prone applications</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:13px">Unfortunately
my Java and C skills are virtually non existent (I am a VB and
Windows guy) and pulling the code apart to look at this is
going to be extremely difficult for me</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:13px">I would
be interested in your thoughts and if you see any immediate
ShowStoppers in this or any reason that it should not be done.</div>
<div><br>
</div>
<div>
<div dir="ltr">
<div><br>
</div>
<div>Regards</div>
<div><br>
</div>
<div>Mark Cupitt</div>
<div><br>
</div>
<div>
<div>"If we change the world, let it bear the mark of our
intelligence"</div>
<div><br>
</div>
<div><a moz-do-not-send="true"
href="https://www.openstreetmap.org/user/Mark_Cupitt"
target="_blank">See me on Open Street Map</a><br>
</div>
<div>
<div><br>
</div>
</div>
<div><a moz-do-not-send="true"
href="http://ph.linkedin.com/in/markcupitt"
target="_blank">See me on LinkedIn</a><br>
<img moz-do-not-send="true"
src="http://s.c.lnkd.licdn.com/scds/common/u/img/webpromo/btn_myprofile_160x33.png"><br>
</div>
<span style="font-family:'arial black',sans-serif">
<div><span style="font-family:'arial black',sans-serif"><br>
</span></div>
<b><a moz-do-not-send="true"
href="http://gis.stackexchange.com/users/17846/mark-c"
target="_blank">See me on StackExchange</a><br>
</b></span><img moz-do-not-send="true"
src="http://gis.stackexchange.com/users/flair/17846.png"><br>
</div>
<div>===============================================================================================</div>
<div>The contents of this email are intended only for the
individual(s) to whom it is addressed and may contain</div>
<div>confidential or privileged information. If you are not
the intended recipient, you must not disclose, copy,
distribute,</div>
<div>or use the contents of this email. If you have received
this email in error, please notify the sender immediately
and</div>
<div>delete the email and any attachments.<br>
</div>
<div>
===============================================================================================
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
GraphHopper mailing list
<a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/graphhopper">https://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
</blockquote>
<br>
</body>
</html>