<div dir="ltr">Hi Peter, Ok, thanks. for the feedback. We will look into this further. Cheers Mark<br></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div><br></div><div>Regards</div><div><br></div><div>
Mark Cupitt</div><div><br><span style="font-family:arial black,sans-serif"><b><a href="http://gis.stackexchange.com/users/17846/mark-c" target="_blank">See me on StackExchange</a></b></span><br><img 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>
<br><br><div class="gmail_quote">On Sun, Aug 25, 2013 at 8:38 PM, Peter K <span dir="ltr"><<a href="mailto:peathal@yahoo.de" target="_blank">peathal@yahoo.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Mark,<br>
<div class="im"><br>
> Hi All<br>
><br>
> Graphhopper is quite impressive. We have been considering PgRouting<br>
> for our database (we have our own map and also OSM) and not being java<br>
> folks, would like to ask the obvious question before spending a lot of<br>
> time:<br>
><br>
> Q: Can graphhopper route against a Postgres/PostGis database easily or<br>
> does it need to be modified extensively<br>
<br>
</div>I don't think that this is a good idea. I'm not sure how pgrouting it<br>
does but probably they don't access the data via the normal SQL queries<br>
and use a direct database access somehow. Otherwise if you need to hit<br>
some indices to get neighbor nodes for every node while traversing this<br>
would be horribly slow.<br>
<br>
But yes, graphhopper can be modified to use different datasource. I've<br>
done similar things like this one year before for a graph database<br>
called neo4j but it isn't that easy and everything else will be slower<br>
then the in-memory access. Also it isn't that easy i.e. you need to<br>
understand graphhopper internals and Java a bit.<br>
<br>
Regards,<br>
Peter.<br>
<br>
_______________________________________________<br>
GraphHopper mailing list<br>
<a href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/graphhopper" target="_blank">http://lists.openstreetmap.org/listinfo/graphhopper</a><br>
</blockquote></div><br></div>