<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
h1
        {mso-style-priority:9;
        mso-style-link:"Heading 1 Char";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:24.0pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
span.Heading1Char
        {mso-style-name:"Heading 1 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 1";
        font-family:"Times New Roman","serif";
        font-weight:bold;}
span.subject
        {mso-style-name:subject;}
span.sender
        {mso-style-name:sender;}
span.date
        {mso-style-name:date;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Hi,<o:p></o:p></p>

<p class=MsoNormal> This function assumes that the road network is already
segmented. If I have otherwise topologically good network, but without properly
segmented streets (e.g. like in OSM Shapefiles), then it does not work. <o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal> Best solution would be to have similar extended postgis
or pgrouting function to do it. Or is there any other good (and free) tool to
do it?<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>/Jaak<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Re: [postgis-users] Road Network Graph creation<o:p></o:p></p>

<p class=MsoNormal>Daniel Kastl<br>
Sun, 28 Jun 2009 17:17:33 -0700<o:p></o:p></p>

<p class=MsoNormal> <o:p></o:p></p>

<pre>You need to look for the assign_vertex_id function of pgRouting.<o:p></o:p></pre><pre>This function creates a network topology.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Daniel<o:p></o:p></pre><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre>Ben Madin schrieb:<o:p></o:p></pre>

<p class=MsoNormal><tt><span style='font-size:10.0pt'>Short Answer - Yes - but
of course it depends on the quality of your shapefile as to how useful it is. </span></tt><o:p></o:p></p>

<pre><o:p> </o:p></pre><pre>Have a look at : <a
href="http://pgrouting.postlbs.org/">http://pgrouting.postlbs.org/</a><o:p></o:p></pre><pre><o:p> </o:p></pre><pre>cheers<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Ben<o:p></o:p></pre><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre>On 28/06/2009, at 11:09 PM, Sandeep Kumar Jakkaraju wrote:<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Hello All<o:p></o:p></pre><pre><o:p> </o:p></pre>

<p class=MsoNormal><tt><span style='font-size:10.0pt'>Is there any way I can
create a road network graph (nodes,edges) from a road shapefile ? </span></tt><o:p></o:p></p>

<pre>--<o:p></o:p></pre><pre>Thanks<o:p></o:p></pre><pre>Regards<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Sandeep Kumar Jakkaraju<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>postgis-users mailing list<o:p></o:p></pre><pre>postgis-users@postgis.refractions.net<o:p></o:p></pre><pre><a
href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><o:p></o:p></pre><pre><o:p> </o:p></pre>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>/Jaak Laineste<o:p></o:p></p>

<p class=MsoNormal>jaak@nutiteq.com<o:p></o:p></p>

<p class=MsoNormal>www.nutiteq.com<o:p></o:p></p>

<p class=MsoNormal>Phone: +372 777 8800<o:p></o:p></p>

<p class=MsoNormal>Mobile: +372 509 2586<o:p></o:p></p>

<p class=MsoNormal>Skype: nutiteq<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

</div>

</body>

</html>