Hi Ricardo,<div><br></div><div>If you have data as SHP files you can import the data with shp2psql or so.</div><div>I'm not sure if your TeleAtlas data already contains "source" and "target" attribute. If not, then take a look at the workshop how to create a routing topology: <a href="http://workshop.pgrouting.org/chapters/topology.html">http://workshop.pgrouting.org/chapters/topology.html</a></div>
<div><br></div><div>In the end you should at least have the following attributes</div><div><ul><li>gid</li><li>source </li><li>target</li><li>cost</li><li>the_geom</li></ul><div>Depending on the shortest path algorithm you need more or less attributes. But this is also explained in the workshop.</div>
<div>You can rename columns if they have another name, or you can create a "VIEW" or use "ALIAS" to get the column names right.</div></div><div><br></div><div>Hope that helps,</div><div>Daniel</div><div>
<br></div><div><br><div class="gmail_quote">On Tue, Sep 20, 2011 at 5:08 AM, Ricardo Silva Pedro <span dir="ltr"><<a href="mailto:Ricardo.SilvaPedro@tecmic.pt">Ricardo.SilvaPedro@tecmic.pt</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<u></u>
<div>
<br>
<p><font size="2"><br>
Hi, I'm a new user of PostGis and PGRouting.<br>
<br>
I'm using a Geoserver + OpenLayers solution with own TeleAtlas shape-files.<br>
<br>
I have license for using the NW layer in routing mode, and I'm trying to find tutorial to know how to build a network in PGRouting.<br>
<br>
Can someone help-me finding information on that.<br>
<br>
I'm now using RWNet and I have all the "recipe" to create the network information based on a Multinet shapefile, but I want to try the PGRouting.<br>
<br>
Thank you in advance<br><font color="#888888">
<br>
Ricardo Pedro<br>
<br>
</font></font>
</p>
</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><br clear="all"><div><br></div>-- <br><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">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></span><br>
</div>