[Therion] Build a map with all centerline and partial walls

Bill Gee bgee at campercaver.net
Tue Nov 26 17:02:08 CET 2024


Hi Pavel -

It might - but then I have to keep two copies of the centerline data. 
Might not be so bad now, but as more is added, I have to make sure both 
data sets are in sync.

===============
Bill Gee

On 11/26/24 09:56, Pavel Herich wrote:
> This should help a bit:
> 
> data normal from to tape compass clino ignoreall #ignore all lrud data 
> in centerline
> 14P  15P  7.91  345  2.5  1.6  0.2  1.5  0.3
> 15P  16P  5.4  25  -3  0  1.5  1.2  2
> ...
> 
> 
> Pavel
> 
> 
> 
> Dňa 2024-11-26 16:46 Bill Gee napísal(a):
>> Thank you all for your suggestions and hints.  I have figured out how 
>> to make this work - Mostly!
>>
>> Take a look at this map:
>>
>> https://campercaver.net/MiscFiles/CaveSpringCave-All.pdf
>>
>> This is very close to what I want.  The only problem is more of an 
>> annoyance.  It appears that adding the centerline as a survey makes 
>> Therion process the LRUDs to come up with a pseudo-wall.  I would like 
>> that to go away.  I tried adding "hide-symbol line wall" to the 
>> layout, but that made all of the walls go away.
>>
>> In the thconfig file I changed the "source" line to the new .th file, 
>> added a symbol-hide line for cross-sections and changed the name of 
>> the output file on the export line.  I also changed the "select" line 
>> to reference MainPlan-All.
>>
>> Here is how I set up the .th file:
>>
>> ========================
>> map MainPlan-All
>>   MainPlan
>>   MainCenterLine
>> endmap
>>
>> # Create the main map to include all submaps
>> map MainPlan -title "CaveSpringCave (SHN-017) - Plan View" -projection 
>> plan
>>
>> # X and Y upper level
>> X-Survey at CaveSpringCave
>> Y-Survey at CaveSpringCave
>>
>> # Main passages
>> MainPassages at CaveSpringCave
>>
>> # Lower stream passage
>> A-Entrance at CaveSpringCave
>> A-Survey at CaveSpringCave
>>
>> # T-Survey - Small side passage off upper trunk
>> T-Survey at CaveSpringCave
>> endmap
>>
>> survey MainCenterLine
>>   centreline
>>
>>   # Define the units that will be used.
>>   units compass degrees
>>   units clino degrees
>>   units length feet
>>   units depth feet
>>   units tape feet
>>   units altitude feet
>>   units dimensions feet
>>
>> # A separate file contains all of the survey data.  Use multiple files 
>> as needed
>>   input CaveSpringCave-Surveydata.txt
>>
>>   endcentreline
>> endsurvey
>>
>> survey CaveSpringCave -title "Cave Spring Cave"
>>
>>   centreline
>>
>>   # Define the units that will be used.
>>   units compass degrees
>>   units clino degrees
>>   units length feet
>>   units depth feet
>>   units tape feet
>>   units altitude feet
>>   units dimensions feet
>>
>> # A separate file contains all of the survey data.  Use multiple files 
>> as needed
>>   input CaveSpringCave-Surveydata.txt
>>
>>   endcentreline
>>
>>
>> # Lower stream passage A survey
>> input 20161107/CaveSpringCave-LowerEntrance.th2
>> input 20221013/CaveSpringCave-A3-A7.th2
>> input 20221013/CaveSpringCave-A7-A17.th2
>> [much more omitted ...]
>>
>> ==============================
>>
>> ===============
>> Bill Gee
>>
>> On 11/25/24 09:31, Bill Gee wrote:
>>> Actually, I would like full detail where it exists and centerline 
>>> only where it does not.  Martin's hints give me an idea how to get 
>>> this. It will take a day or two for me to set it up and test.
>>>
>>> I also want maps where only the drawn stuff is shown.  I think what I 
>>> need to do is leave those parts of *.th2 and thconfig alone, and add 
>>> new stuff as noted by Martin.
>>>
>>> One additional question regarding the "select" statement location ... 
>>> I think I need to put it in thconfig just before the layout and 
>>> export lines that creates the file, like this:
>>>
>>> ======================  thconfig  ============
>>> select MainPlan
>>>
>>> layout basics
>>> ...
>>> endlayout
>>>
>>> (more layout sections)
>>>
>>> export map  -proj plan -layout ChosenLayout -o Outputfile
>>>
>>> (several more "export map" commands to get Loch, Aven, KML etc files)
>>>
>>> select FullMap
>>>
>>> layout FullMapLayout
>>> ...
>>> endlayout
>>>
>>> export map -proj plan -layout FullMapLayout -o AnotherOutputFile
>>> ======================
>>>
>>> Is this about right?
>>>
>>> Another way I might do it is to create entirely new thconfig and 
>>> *.th2 files just for this map, then use a "system" call in the main 
>>> thconfig to launch another instance of therion with the alternate 
>>> thconfig as a command line option.
>>>
>>> ===============
>>> Bill Gee
>>>
>>> On 11/25/24 08:38, Martin Sluka via Therion wrote:
>>>> It means you want only centerline for all the data set and walls for 
>>>> only part of a cave. Correct?
>>>>
>>>> Define map which will contain only survey data.
>>>> Define other map, which will contain only sraps or maps from scraps 
>>>> for that part of the cave you want.
>>>> Define map, which will include both maps defined above.
>>>> Select this map in thconfig
>>>> Add to layout:
>>>> symbol-hide group all
>>>> symbol-show line wall
>>>> symbol-show group centerline
>>>> (or symbol-show line centerline)
>>>>
>>>> It should work
>>>>
>>>> M.
>>>>
>>>>
>>>> Odesláno z iPhonu
>>>>
>>>>> 25. 11. 2024 v 14:03, Bill Gee <bgee at campercaver.net>:
>>>>>
>>>>> I am looking at this entry in the Wiki:
>>>>>
>>>>> https://therion.speleo.sk/wiki/ 
>>>>> tips#showing_centreline_for_parts_of_a_cave_and_passage_walls_for_others
>>>>>
>>>>> My understanding it that this requires making two sets of 
>>>>> centerline data, then creating a survey for each set.  One of the 
>>>>> data sets is for that part of the cave which has walls/scraps and 
>>>>> the other is for the remainder of the cave.
>>>>>
>>>>> The thconfig file is set up with only one survey/endsurvey section. 
>>>>> I think this also would have to change into two sections.
>>>>>
>>>>> Is this correct?
>>>>>
>>>>> The cave I want to do this for has all centerline data in one big 
>>>>> file. It would be a huge pain to separate that into two files.  
>>>>> Even more of a pain would be moving the data as sketching is 
>>>>> completed.
>>>>>
>>>>> Thanks!
>>>>> -- ===============
>>>>> Bill Gee
>>>>>
>>>>> _______________________________________________
>>>>> Therion mailing list
>>>>> Therion at speleo.sk
>>>>> https://mailman.speleo.sk/listinfo/therion
>>>> _______________________________________________
>>>> Therion mailing list
>>>> Therion at speleo.sk
>>>> https://mailman.speleo.sk/listinfo/therion
>>>
>>> _______________________________________________
>>> Therion mailing list
>>> Therion at speleo.sk
>>> https://mailman.speleo.sk/listinfo/therion
>>
>> _______________________________________________
>> Therion mailing list
>> Therion at speleo.sk
>> https://mailman.speleo.sk/listinfo/therion
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion



More information about the Therion mailing list