Hi Daniel,<br><br>No, this is custom generated data.<br><font color="#888888"><br>Yasir</font><br><br><div class="gmail_quote">On 12 August 2010 05:18, Daniel Kastl <span dir="ltr">&lt;<a href="mailto:daniel.kastl@georepublic.de">daniel.kastl@georepublic.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Yasir,<div><br></div><div>Just a question for better understanding:</div><div>Are you bike routes user generated (GPS) tracks or are they separate network data that is just not part of OSM? </div>
<div>If you want to match GPS tracks to an existing road network, there is a matching.sql with some functions in at least the trunk version of pgRouting.</div><div class="im">

<div><br></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><span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;"><br></span></div><div><span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;"><br>

</span></div><div><span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;"><br></span></div>-- <br>Georepublic UG &amp; 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><div><br><br><div class="gmail_quote">2010/8/12 Yasir Shoaib <span dir="ltr">&lt;<a href="mailto:yasirshoa@gmail.com" target="_blank">yasirshoa@gmail.com</a>&gt;</span><div><div></div><div class="h5"><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


Hi Daniel,<br><br>Thanks for replying.<br><br>There is the issue of my current bike routes data not being aligned to the exiting streets (some differences are present). Also, I am not sure how ways can be assigned multiple class id&#39;s. The Ontario.osm which was downloaded didn&#39;t have bike data imported into the pgrouting db, unless I missed something. Ontario.osm was downloaded from: <a href="http://downloads.mapzen.mapzen.cloudmade.com/north_america/canada/ontario" target="_blank">http://downloads.mapzen.mapzen.cloudmade.com/north_america/canada/ontario</a><br>



<br>To get things started, I tried adding the routes and then running the search with lower cost assigned to bike routes and higher to other road networks but this didn&#39;t work as intended. Maybe this is the problem that you mention about nodes snapping relating to the high tolerance.<br>



<br>Although, I am continuing to look into this, based on above do you have any suggestions on getting things working?<br><br>Thanks,<br>Yasir<br><br><br><br><div class="gmail_quote"><div><div></div><div>On 11 August 2010 15:34, Daniel Kastl <span dir="ltr">&lt;<a href="mailto:daniel.kastl@georepublic.de" target="_blank">daniel.kastl@georepublic.de</a>&gt;</span> wrote:<br>



</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div>Hi Yasir,<div><br><div><br><div class="gmail_quote"><div>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I have some bike routes data that I would like to insert to the &#39;ways&#39; table in my pgrouting database.<br>

For routing using the added routes, do I need to run assign_vertex_id again?<br></blockquote><div><br></div></div><div>If you can ensure that you keep a valid topology you don&#39;t have to run it again. But probably it&#39;s easier to do so.</div>



<div>

<div><br></div><div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>Also, there are existing streets where the bike routes would be added, would this be any problem?<br>





</blockquote><div><br></div></div><div>You might have a problem if nodes get very close to existing ones. they might &quot;snap&quot; if you set your &quot;tolerance&quot; value too high.</div><div>Also I&#39;m not sure you want to create new roads beside existing ones. Probably you would like to try to match your bike routes with existing roads. </div>





<div><br></div><div>Best regards,</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><span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;"><br></span></div><div><span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;"><br>


</span></div><div><span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;"><br></span></div>-- <br>Georepublic UG &amp; 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><span style="border-collapse: separate; font-size: small;"><span style="border-collapse: collapse;"><br>

</span></span></span></div></div></div></div>
<br></div></div>_______________________________________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.osgeo.org" target="_blank">Pgrouting-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-users</a><br>
<br></blockquote></div><br>
<br>_______________________________________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.osgeo.org" target="_blank">Pgrouting-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-users</a><br>
<br></blockquote></div></div></div><br></div>
<br>_______________________________________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.osgeo.org">Pgrouting-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-users</a><br>
<br></blockquote></div><br>