<div dir="ltr"><div dir="ltr"><br><br>On Wed, May 8, 2019 at 2:34 PM Moritz Lennert <<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a>> wrote:<br>><br>> On 8/05/19 11:44, Martin Landa wrote:<br>> > Hi,<br>> ><br>> > st 8. 5. 2019 v 11:31 odesílatel Moritz Lennert<br>> > <<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a>> napsal:<br>> >> I don't think we have a tool for this currently. However, I'm not sure that right and left are relevant terms for this case. Also: what do you do in the case when three lines meet at a node. What would be the 'next_left_edge line' ?<br>> ><br>> > right, these terms comes from TopoGeo model based described in ISO 13249-3:2006.<br>> ><br>> > See eg.<br>> ><br>> > <a href="http://freegis.fsv.cvut.cz/gwiki/PostGIS_Topology">http://freegis.fsv.cvut.cz/gwiki/PostGIS_Topology</a><br>> > <a href="https://trac.osgeo.org/postgis/attachment/ticket/3046/error_in_getRingedge.png">https://trac.osgeo.org/postgis/attachment/ticket/3046/error_in_getRingedge.png</a><br>><br>> Right. That does make sens. I didn't think of left and right in that way.<br>><br>> I don't know what use cases are for this feature, compared to the ones I<br><div>> listed in my previous mail...</div><div><br></div><div>If I understand all this correctly, there is a next_left_edge, next_right_edge,  previous_left_edge, previous_right_edge. Left would be equivalent to going CW from the current node, right would be going CCW from the current node. Next would be the end node, previous would be the start node.</div><div><br></div><div>GRASS example (different from PostGIS terminology): if there are no other lines connected at the start node of line 1, previous_left_edge = next_edge_edge = 1, conforming to the GRASS topology model. The corresponding function to get the next/previous line is dig_angle_next_line().<br></div><div><br></div><div>Markus M<br></div><br></div></div>