<HTML><HEAD>
<META content="text/html; charset=iso-8859-15" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18928"></HEAD>
<BODY style="MARGIN: 4px 4px 1px">
<DIV>What happens when your click point for a start or end is not directly on a node? Does pgrouting snap the start/end points to the nearest vertex on the nearest road?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Robert<BR><BR>&gt;&gt;&gt; Stephen Woodbridge &lt;woodbri@swoodbridge.com&gt; 16/08/2011 6:43 a.m. &gt;&gt;&gt;<BR>On 8/15/2011 1:57 PM, sushma wrote:<BR>&gt; Hi Guys,<BR>&gt;<BR>&gt; I want to implement pgrouting using openlayers .i.e to find shortest path<BR>&gt; from building to another buildings.So if user clicks one building as a start<BR>&gt; point and another as end point then it returns the shortest path between<BR>&gt; those buildings. I am totally new to the openlayers.<BR>&gt; So far i can display the map of road data and buildings from geoserver using<BR>&gt; openlayers. Now i wanted to get on with click control. So need some<BR>&gt; suggestion how can i get on with click control.<BR><BR><BR>Here is an example that I put together using mapserver for the maps, <BR>pgRouting and I use a small PHP program to handle the the Ajax requests <BR>to communicate between OpenLayers and pgRouting.<BR><BR><A href="http://tinyurl.com/3vnufmh">http://tinyurl.com/3vnufmh</A><BR><BR>-Steve<BR>_______________________________________________<BR>Users mailing list<BR>Users@lists.osgeo.org<BR><A href="http://lists.osgeo.org/mailman/listinfo/openlayers">http://lists.osgeo.org/mailman/listinfo/openlayers</A>-users<BR></DIV><br><br>
<P align=center><FONT style="BACKGROUND-COLOR: #ffffff">This email and any attachments are confidential and intended solely for the addressee(s). If you are not the intended recipient, please notify us immediately and then delete this email from your system.</FONT></P>

<P align=center><FONT style="BACKGROUND-COLOR: #ffffff">This message has been scanned for Malware and Viruses by Websense Hosted Security.  </FONT><A href="http://www.websense.com/"><FONT style="BACKGROUND-COLOR: #ffffff" color=#000000>www.websense.com</FONT></A></P>
</body></HTML>