[Therion] How to "equate" between two caves

Wookey wookey at wookware.org
Mon Apr 30 22:48:29 CEST 2018


On 2018-04-26 09:51 -0500, Bill Gee via Therion wrote:

> The combined map is generated from a single thconfig file that uses "source" 
> commands to bring in the .th files from each of the member caves.
>  
> Now we have surveyed a link between two of the four caves.  I need to set up 
> an "equate" command so that the two caves actually link up. 

> Based on a message from Martin, I added a .th file which contains a "survey" 
> command.  However, that is generating an error from Therion:

...
   
> ==========  BigCavernRanch.th  ===========
> # Bring in subsidiary files
> 
> # Name the input caves
> source ../AllieSpringCaveSurvey/AllieSpringCave.th
> source ../MillCreekCaveSurvey/MillCreekCave.th
> source ../ShiftyRockPit/ShiftyRockPit.th
> source ../CascadeCaverns/CascadeCaverns.th
> 
> survey all
>   equate AA42 at ShiftyRockPit DR23 at AllieSpringCave
> endsurvey

'source' is a command that goes in a thconfig file.
'survey' is a command that goes in a .th file.

thconfig and .th files have different formats. So even though you've
called the file 'BigCavernRanch.th', it's being treated as a thconfig
file.

I think if you change:
input BigCavernRanch.th 
to 
source BigCavernRanch.th
that should do the trick.

input is 'insert file as if it was written here'
source is 'read this .th data file here'

Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20180430/733a392f/attachment.sig>


More information about the Therion mailing list