<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=utf-8"><meta name=Generator content="Microsoft Word 15 (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;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></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-NZ link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoPlainText>Tarquin<o:p></o:p></p><p class=MsoPlainText>As Benedikt mentioned, scraps are joined, not maps. If you join scraps, the maps that use those scraps will automatically show the join, so the maps themselves are not relevant to the joining process.<o:p></o:p></p><p class=MsoPlainText>I have an example of a three cave system that we surveyed and subsequently joined in 2007-2008. The highlighted words are the names of the respective cave surveys.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>For one of the joins, we could use a simple (and recommended) scrap to scrap join, using scrap_ids;<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText> join GreenlinkUSumpsPlan_s2<span style='background:yellow;mso-highlight:yellow'>@Greenlink</span> GreenlinkFPlan_s1<span style='background:yellow;mso-highlight:yellow'>@MiddleEarth</span> -smooth on<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>For the other pair of caves, I have lots of lines within each scrap that crossed from one to the other, so I had to use the more complicated line by line joining, that you seem to be trying to follow, using line_ids;<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText> join jpwall04<span style='background:yellow;mso-highlight:yellow'>@SwissM</span>:end GUSwall02<span style='background:yellow;mso-highlight:yellow'>@Greenlink</span>:end <o:p></o:p></p><p class=MsoPlainText> join jpwall03<span style='background:yellow;mso-highlight:yellow'>@SwissM</span>:00 GUSwall01<span style='background:yellow;mso-highlight:yellow'>@Greenlink</span>:0 <o:p></o:p></p><p class=MsoPlainText> <o:p></o:p></p><p class=MsoPlainText> join jpwall06<span style='background:yellow;mso-highlight:yellow'>@SwissM</span>:end GUSwall03<span style='background:yellow;mso-highlight:yellow'>@Greenlink</span>:0<o:p></o:p></p><p class=MsoPlainText> join jpwall07<span style='background:yellow;mso-highlight:yellow'>@SwissM</span>:end GUSwall04<span style='background:yellow;mso-highlight:yellow'>@Greenlink</span>:end <o:p></o:p></p><p class=MsoPlainText> <o:p></o:p></p><p class=MsoPlainText> join uwall04<span style='background:yellow;mso-highlight:yellow'>@SwissM</span>:0 swall02<span style='background:yellow;mso-highlight:yellow'>@Greenlink</span>:end<o:p></o:p></p><p class=MsoPlainText> join secondwall01<span style='background:yellow;mso-highlight:yellow'>@SwissM</span>:0 swall05<span style='background:yellow;mso-highlight:yellow'>@Greenlink</span>:end<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Although looking at it now, with the benefit of 10 more years of experience, I wonder if I could have used a simpler scrap to scrap join, with the -count 3 option. [Refer to the description of join on page 40-41 of The Therion Book].<o:p></o:p></p><p class=MsoPlainText>Depending on the details of your data structure, there may need to be subtle differences in the way you reference the scraps, but looking at your description below, I think the style of scrap referencing I have used should work for you (probably). If it does not, you could try removing the (highlighted) cave survey names.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Bruce<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><span lang=EN-US>-----Original Message-----<br>From: Therion <therion-bounces@speleo.sk> On Behalf Of Tarquin Wilton-Jones via Therion<br>Sent: Sunday, 14 April 2019 05:32<br>To: therion@speleo.sk<br>Cc: Tarquin Wilton-Jones <tarquin.wilton-jones@ntlworld.com><br>Subject: [Therion] Joining maps with the join command</span></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Hi,<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>I am currently learning how to use Therion to draw up a detailed survey.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>My survey is split into several "caves", each of which has its own .th and .th2 file. In the .th file for each cave is a separate "map", so that the cave can be rendered separately.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>cave1.th:<o:p></o:p></p><p class=MsoPlainText>survey cave1<o:p></o:p></p><p class=MsoPlainText> input "cave1 plan.th2"<o:p></o:p></p><p class=MsoPlainText> input "cave1 ee.th2"<o:p></o:p></p><p class=MsoPlainText> map cave1MP<o:p></o:p></p><p class=MsoPlainText> scrap1<o:p></o:p></p><p class=MsoPlainText> scrap2<o:p></o:p></p><p class=MsoPlainText> endmap<o:p></o:p></p><p class=MsoPlainText> centreline<o:p></o:p></p><p class=MsoPlainText> ...<o:p></o:p></p><p class=MsoPlainText> endcentreline<o:p></o:p></p><p class=MsoPlainText>endsurvey<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>cave2.th:<o:p></o:p></p><p class=MsoPlainText>survey cave2<o:p></o:p></p><p class=MsoPlainText> input "cave2 plan.th2"<o:p></o:p></p><p class=MsoPlainText> input "cave2 ee.th2"<o:p></o:p></p><p class=MsoPlainText> map cave2MP<o:p></o:p></p><p class=MsoPlainText> scrapa<o:p></o:p></p><p class=MsoPlainText> scrapb<o:p></o:p></p><p class=MsoPlainText> endmap<o:p></o:p></p><p class=MsoPlainText> centreline<o:p></o:p></p><p class=MsoPlainText> ...<o:p></o:p></p><p class=MsoPlainText> endcentreline<o:p></o:p></p><p class=MsoPlainText>endsurvey<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Then I have an overall file which combines the maps called allcaves.th:<o:p></o:p></p><p class=MsoPlainText>survey allcaves<o:p></o:p></p><p class=MsoPlainText> map allcavesMP<o:p></o:p></p><p class=MsoPlainText> cave1MP@cave1<o:p></o:p></p><p class=MsoPlainText> cave2MP@cave2<o:p></o:p></p><p class=MsoPlainText> join ____________<o:p></o:p></p><p class=MsoPlainText> endmap<o:p></o:p></p><p class=MsoPlainText> centreline<o:p></o:p></p><p class=MsoPlainText> ...<o:p></o:p></p><p class=MsoPlainText> endcentreline<o:p></o:p></p><p class=MsoPlainText>endsurvey<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Imagine the two caves join in scrap1 (id "foo":0) and scrapb (id "bar":end), and I want to use a join command to make the scraps join neatly (I have already positioned the passage ends very close to each other). Could you please tell me the syntax needed to make the join command reference the correct points of the correct lines inside the correct scraps inside the correct maps?<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Every example of the "join" command I could find assumes you were trying to join scraps inside the same map, and did not show how to reference items in a sub-map. As a result, I have not been able to work out how to construct a valid join command for this situation.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Many thanks for any information you can provide.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Tarquin<o:p></o:p></p><p class=MsoPlainText>_______________________________________________<o:p></o:p></p><p class=MsoPlainText>Therion mailing list<o:p></o:p></p><p class=MsoPlainText><a href="mailto:Therion@speleo.sk"><span style='color:windowtext;text-decoration:none'>Therion@speleo.sk</span></a><o:p></o:p></p><p class=MsoPlainText><a href="https://mailman.speleo.sk/listinfo/therion"><span style='color:windowtext;text-decoration:none'>https://mailman.speleo.sk/listinfo/therion</span></a><o:p></o:p></p></div></body></html>