Hi,<div><br></div><div>I made a comment to your forum post:</div><div><a href="http://pgrouting.postlbs.org/discussion/topic/353#message1467">http://pgrouting.postlbs.org/discussion/topic/353#message1467</a></div><div><br>
</div><div>Hope it helps.</div><div>Daniel<span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><div><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><br>
</span></div><div><br></div><div><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><br></span></div>-- <br>Georepublic UG & Georepublic Japan<br>eMail: <a href="mailto:daniel.kastl@georepublic.de" style="color:rgb(66, 99, 171)" target="_blank">daniel.kastl@georepublic.de</a><br>
Web: <a href="http://georepublic.de" style="color:rgb(66, 99, 171)" target="_blank">http://georepublic.de</a><br><br></span>
</div><div><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><br></span></div><div><br><div class="gmail_quote">2010/4/17 agentsees <span dir="ltr"><<a href="mailto:agentsees@gmx.net">agentsees@gmx.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi!<br>
<br>
I posted this topic also on the forum and hope to get answers.<br>
<a href="http://pgrouting.postlbs.org/discussion/topic/353" target="_blank">http://pgrouting.postlbs.org/discussion/topic/353</a><br>
<br>
<br>
> Hello!<br>
><br>
> I am searching for a solution to route from a Point on a line to another<br>
> point on a line. I wonder why this hasnt been implemented yet in<br>
> pgrouting, because i think its (one of the) most used feature! What i<br>
> got till now is routing with different algorithms on Openstreetmap data<br>
> from and to vertices and edges. I have sucessfully calculated the<br>
> nearest points on the nearest edge to my start and endpoints. I tried to<br>
> fill the missing last part with the tutorial from here :<br>
> <a href="http://pgrouting.postlbs.org/wiki/LoadingtheCode5" target="_blank">http://pgrouting.postlbs.org/wiki/LoadingtheCode5</a><br>
> But i could not get it working. The function throws errors on the<br>
> following SQL statement:<br>
><br>
> SELECT<br>
> astext(give_we_wkt(".$startEdge['gid'].",".$ergebnis_nebengeometrie_anfang_gid.",'".<br>
> $point_on_line_anfang."'))<br>
><br>
> It says, that st_intersects is neither false nor true on:<br>
> SELECT INTO p ST_intersects(line,buffer($3,1));<br>
><br>
> I think the problem is the creation of the linestring ('line') in the<br>
> functioncode, because i can see errors which tell me that "||" is not an<br>
> allowed operator.<br>
> The linestring itself remains empty and maybe thats why the function fails.<br>
> Has somebody an idea how to fix this?<br>
><br>
> Is there no other / easier solution to route from one point to another?<br>
><br>
> Thanks for answers in adavance!<br>
><br>
> J. Weskamm<br>
> _______________________________________________<br>
> Pgrouting-users mailing list<br>
> <a href="mailto:Pgrouting-users@lists.postlbs.org">Pgrouting-users@lists.postlbs.org</a><br>
> <a href="http://lists.postlbs.org/mailman/listinfo/pgrouting-users" target="_blank">http://lists.postlbs.org/mailman/listinfo/pgrouting-users</a><br>
><br>
><br>
<br>
_______________________________________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.postlbs.org">Pgrouting-users@lists.postlbs.org</a><br>
<a href="http://lists.postlbs.org/mailman/listinfo/pgrouting-users" target="_blank">http://lists.postlbs.org/mailman/listinfo/pgrouting-users</a><br>
</blockquote></div><br></div>