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's. The Ontario.osm which was downloaded didn'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">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'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">On 11 August 2010 15:34, Daniel Kastl <span dir="ltr"><<a href="mailto:daniel.kastl@georepublic.de">daniel.kastl@georepublic.de</a>></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><br><div class="gmail_quote"><div class="im"><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 'ways' 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't have to run it again. But probably it's easier to do so.</div>
<div class="im">
<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 "snap" if you set your "tolerance" value too high.</div><div>Also I'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 & 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>_______________________________________________<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>