[Therion] Joining maps with the join command

Bruce Mutton bruce at tomo.co.nz
Sun Apr 14 09:01:32 CEST 2019


Tarquin

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.

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.

 

For one of the joins, we could use a simple (and recommended) scrap to scrap join, using scrap_ids;

 

  join GreenlinkUSumpsPlan_s2 at Greenlink GreenlinkFPlan_s1 at MiddleEarth  -smooth on

 

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;

 

   join jpwall04 at SwissM:end GUSwall02 at Greenlink:end 

   join jpwall03 at SwissM:00  GUSwall01 at Greenlink:0 

 

   join jpwall06 at SwissM:end GUSwall03 at Greenlink:0

   join jpwall07 at SwissM:end GUSwall04 at Greenlink:end  

   

    join uwall04 at SwissM:0 swall02 at Greenlink:end

    join secondwall01 at SwissM:0 swall05 at Greenlink:end

 

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].

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.

 

Bruce

 

 

-----Original Message-----
From: Therion <therion-bounces at speleo.sk> On Behalf Of Tarquin Wilton-Jones via Therion
Sent: Sunday, 14 April 2019 05:32
To: therion at speleo.sk
Cc: Tarquin Wilton-Jones <tarquin.wilton-jones at ntlworld.com>
Subject: [Therion] Joining maps with the join command

 

Hi,

 

I am currently learning how to use Therion to draw up a detailed survey.

 

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.

 

cave1.th:

survey cave1

input "cave1 plan.th2"

input "cave1 ee.th2"

map cave1MP

  scrap1

  scrap2

endmap

centreline

  ...

endcentreline

endsurvey

 

cave2.th:

survey cave2

input "cave2 plan.th2"

input "cave2 ee.th2"

map cave2MP

  scrapa

  scrapb

endmap

centreline

  ...

endcentreline

endsurvey

 

Then I have an overall file which combines the maps called allcaves.th:

survey allcaves

map allcavesMP

  cave1MP at cave1

  cave2MP at cave2

  join ____________

endmap

centreline

  ...

endcentreline

endsurvey

 

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?

 

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.

 

Many thanks for any information you can provide.

 

Tarquin

_______________________________________________

Therion mailing list

 <mailto:Therion at speleo.sk> Therion at speleo.sk

 <https://mailman.speleo.sk/listinfo/therion> https://mailman.speleo.sk/listinfo/therion

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20190414/982f50fc/attachment.htm>


More information about the Therion mailing list