Hi Florian,<div><br></div><div>Thank you for you offer to look into the problem.</div><div>On GIS StackExchange someone mentions wrong order due to a JOIN. I haven&#39;t seen this post before. What I remember is people telling that the edges are in the correct order, but sometimes the edge needs to be flipped because end point of an edge is connected with the end point of the next one for example. When you draw the line it looks OK, but if you navigate from start to end point of each edge, then sometimes the order is wrong. </div>

<div>Is this the problem you mean?</div><div><br></div><div>In that case in the wrapper function you had to check if start and end point of the geometries match, otherwise flip an edge to make it fit. The order of the core function should give the right order of ID&#39;s, but the wrapper function, that returns the geometry, only cares about the geometry not it&#39;s direction.</div>

<div><br></div><div>Understandable?</div><div>I haven&#39;t heard about the JOIN problem yet, so this could be some different issue.</div><div><br></div><div>Regards,</div><div>Daniel</div><div><br><br><div class="gmail_quote">

On Wed, Oct 12, 2011 at 7:00 PM, Florian Hackenberger <span dir="ltr">&lt;<a href="mailto:f.hackenberger@chello.at">f.hackenberger@chello.at</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi!<br>
<br>
I have the same problem, see also<br>
<a href="http://gis.stackexchange.com/questions/15568" target="_blank">http://gis.stackexchange.com/questions/15568</a><br>
<br>
Any news on the subject? I&#39;m proficient with Postgre, so I would be<br>
willing to have a look at the problem, but would welcome a bit of<br>
guidance where to start, in order to speed up the search for the<br>
problem.<br>
<br>
Yours,<br>
        Florian<br>
<font color="#888888">--<br>
DI Florian Hackenberger<br>
<a href="mailto:florian@hackenberger.at">florian@hackenberger.at</a><br>
<a href="http://www.hackenberger.at" target="_blank">www.hackenberger.at</a><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>
</font></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 &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>
</div>