<br><br><div class="gmail_quote">2011/1/21 Paolo Lubrano <span dir="ltr">&lt;<a href="mailto:paolo.lubrano@inwind.it">paolo.lubrano@inwind.it</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<p style="margin:0px;padding:0px">Hi all, hi Charles,</p><p style="margin:0px;padding:0px">actually I&#39;m working on a pgrouting graph built on TeleAtlas Multinet data.</p><p style="margin:0px;padding:0px">I have problems with Z level, because two streets on different levels are considered as parts of crossroad. </p>

<p style="margin:0px;padding:0px">To explane better my problem this are the data of my network table:<br></p><p style="margin:0px;padding:0px"><br></p><p style="margin:0px;padding:0px">name                             source      target      <br>

Tangenziale di Napoli    402837    413133    <br>Via Giustiniano              402837    388759   <br></p><p style="margin:0px;padding:0px"><br></p><p style="margin:0px;padding:0px">I built the graph with assign_vertex function, I have read about a new 3d version but I didn&#39;t found anything, where can I get it?</p>

</blockquote><div><br></div><div><br></div><div>You read this about PostGIS?</div><div>pgRouting doesn&#39;t have a special support for 3D (Dijkstra algorithm even doesn&#39;t need geometry information). </div><div>If you have two roads crossing each other sharing a node, but they actually shouldn&#39;t be connected, because they have different z-levels, then there shouldn&#39;t be shared node. Then the network topology isn&#39;t correct.</div>

<div><br></div><div>If assign_vertex function produced this topology, then it would be good to think about how to identify such a case and add z-level support to assign_function. Maybe some extended assign_vertex function could check if the road segments are in the same z-level.</div>

<div><br></div><div>Because you&#39;re using TeleAtlas data, are you sure you have to build a network topology? Doesn&#39;t TeleAtlas already contain such an information? If you need to run assign_vertex and your data is of good quality, you could make the &quot;snapping&quot; tolerance parameter very very slow. But this won&#39;t help if in your case both roads share exactly the same node.</div>

<div><br></div><div>Daniel</div><div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><p style="margin:0px;padding:0px">

<br></p><p style="margin:0px;padding:0px">Thank you very much!</p><p style="margin:0px;padding:0px">Paolo<font color="#888888"><br></font></p><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><br clear="all"><br>-- <br><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">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></span><br>