<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi Bruce,</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I have added</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">log extend</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">feature to thconfig. It should log the traversing sequence of extend algorithm to therion.log file.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">HTH, S.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 14 Nov 2019 at 19:29, Bruce Mutton <<a href="mailto:bruce@tomo.co.nz">bruce@tomo.co.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-NZ"><div class="gmail-m_-2375846719616717444WordSection1"><p class="MsoNormal">Thanks Stacho, <u></u><u></u></p><p class="MsoNormal">I have had a look through my projects, and I don’t think I have ever used an ‘extend ignore station’ because of its unpredictable results (but I have used many ‘extend ignore leg’, which usually work as expected).  A quick check seems to indicate all my projects are unaffected by your latest update 094ac85fc5.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Having a play with Tarquin’s example, it looks like an effect of ‘extend ignore station’ is to cause the map-connection break to occur at that station.  That is conceptually quite nice for users.  It seems to be consistent in that behaviour for the simple example, and is only ineffective if the station chosen is not in a loop (as you might expect). I did not test it where there is a pair of open branches though – that is a common scenario that should be checked.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">One more wish list for extend.  I would like a;<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">debug extend<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">statement.  This would enumerate in the log file the sequence of stations/legs that the extend algorithm is traversing.  In complex survey networks with many loops it can seem impossible to unravel a sensible extended centreline.  For example, if there are six survey branches coming into a single station, how do you isolate the particular leg that you want?  A textual debug might help find the answer.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Bruce<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Therion <<a href="mailto:therion-bounces@speleo.sk" target="_blank">therion-bounces@speleo.sk</a>> <b>On Behalf Of </b>Stacho Mudrak<br><b>Sent:</b> Friday, 15 November 2019 00:09<br><b>To:</b> List for Therion users <<a href="mailto:therion@speleo.sk" target="_blank">therion@speleo.sk</a>><br><b>Subject:</b> Re: [Therion] Breaking a loop at a specific station on extended elevation<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal"><span style="font-family:Tahoma,sans-serif">Normally, <u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:Tahoma,sans-serif"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:Tahoma,sans-serif">extend ignore 6<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:Tahoma,sans-serif"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:Tahoma,sans-serif">should do the job. But there was a bug in the code, so it did not work as intended.<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:Tahoma,sans-serif"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:Tahoma,sans-serif">It should be fixed now in the latest commit. If some of you have more complex entended elevation projects, could you please check, whether this change does not introduce new errors?<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:Tahoma,sans-serif">The behaviour of "extend ignore <from> <to>" should not be affected.<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:Tahoma,sans-serif"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-family:Tahoma,sans-serif">Thanks, S.<u></u><u></u></span></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Sun, 10 Nov 2019 at 12:08, Tarquin Wilton-Jones via Therion <<a href="mailto:therion@speleo.sk" target="_blank">therion@speleo.sk</a>> wrote:<u></u><u></u></p></div><blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm"><p class="MsoNormal">What can I say?!<br><br>Bruce, that was some black magic. I don't quite understand why asking it<br>to ignore a leg then changing your mind and asking it to draw it anyway,<br>would cause it to then split it at the point you want. I wonder if I<br>will be able to make sense out of that in future.<br><br>What is makes me wonder is; why doesn't this exist?<br>extend break 6<br><br>This could cause a centreline "weakness", and prefer (but not mandate)<br>breaking at that point. It would massively simplify this control, and be<br>much more predictable.<br><br>> try to change the line in your .th file from:<br>> <br>> extend ignore 6 5<br>> <br>> to:<br>> <br>> extend ignore 5 6<br>> <br>> There is no leg 6-5 in your data, but there is leg 5-6.<br><br><br>This does not work. I assume that is because it is trying to extend the<br>centreline from left to right, so it steps backwards through that oxbow<br>(compared with the data). Or maybe I have not played with Bruce's<br>solution enough...<br><br>Cheers!<br><br>Tarquin<br>_______________________________________________<br>Therion mailing list<br><a href="mailto:Therion@speleo.sk" target="_blank">Therion@speleo.sk</a><br><a href="https://mailman.speleo.sk/listinfo/therion" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><u></u><u></u></p></blockquote></div></div></div>_______________________________________________<br>
Therion mailing list<br>
<a href="mailto:Therion@speleo.sk" target="_blank">Therion@speleo.sk</a><br>
<a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><br>
</blockquote></div>