<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:x="urn:schemas-microsoft-com:office:excel" 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 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.bullet, li.bullet, div.bullet
        {margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:1.0cm;
        margin-bottom:.0001pt;
        text-indent:-14.15pt;
        mso-list:l0 level1 lfo1;
        font-size:10.0pt;
        font-family:Arial;}
span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:434057056;
        mso-list-type:hybrid;
        mso-list-template-ids:1881979770 537702470 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-style-link:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:1.0cm;
        mso-level-number-position:left;
        margin-left:1.0cm;
        text-indent:-14.15pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level4
        {mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level7
        {mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</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-GB link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span lang=ET style='font-size:10.0pt;
font-family:Arial'>The pgDijkstra algorithm assigns to each RoadSegment a
unique EdgeID in graph. While assigning EdgeID, it expects that road segment
start and end point to be unique. This worked fine for our sample data (a
small area of Basingstoke) but in London some road segments have the same start
and end point (with a number of additional points in the middle which are
different).<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=ET style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=ET style='font-size:10.0pt;
font-family:Arial'>For example two distinct road segments: <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=ET style='font-size:10.0pt;
font-family:Arial'>LINESTRING(<b><span style='font-weight:bold'>524107.31
185330.493</span></b>,524106.899 185325.348,524112.444 185319.119,<b><span
style='font-weight:bold'>524118 185318</span></b>)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=ET style='font-size:10.0pt;
font-family:Arial'>LINESTRING(<b><span style='font-weight:bold'>524107.31
185330.493</span></b>,524111.088 185329.479,524111.761 185329.298,524117.382
185322.233,<b><span style='font-weight:bold'>524118 185318</span></b>)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>What can we do to overcome this problem?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=teal face=Arial><span lang=FR
style='font-size:9.0pt;font-family:Arial;color:teal'>--------------------------<br>
Graham McConney</span></font><font size=2 face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial'><br>
---<br>
</span></font><font size=1 face=Arial><span lang=EN-US style='font-size:7.5pt;
font-family:Arial'>Email scanned for viruses</span></font><span lang=EN-US><o:p></o:p></span></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>