[Therion] Multiple caves on one map with an offset

Martin Sluka martinsluka at mac.com
Thu Nov 14 10:58:57 CET 2019


As always, bathroom effect ;)

There is a typical problem in data - badly used name spaces.

You defined in file BigCavernRanch.th: 

survey all -title "Big Cavern Ranch"

# Name the input caves
input ../AllieSpringCaveSurvey/AllieSpringCave.th
input ../MillCreekCaveSurvey/MillCreekCave.th
input ../ShiftyRockPit/ShiftyRockPit.th
input ../CascadeCaverns/CascadeCaverns.th

map MapGroup -projection plan
# Allie Spring Cave
 MainPassages at AllieSpringCave 
…

but the map MainPassages is not part of name space AllieSpringCave! It is defined outside of survey AllieSpringCave, so after you input AllieSpringCave.th file into survey all it will become part of the name space all.

Correct definition of map all should be:

map MapGroup -projection plan
# Allie Spring Cave
 MainPassages
... 

because map MapGroup is defined inside survey (name space) all so map and submap are in the same name space.

I assume it is the case of other submaps too.

Martin
 


> 14. 11. 2019 v 3:46, Bill Gee <bgee at campercaver.net>:
> 
> Hi Bruce and everyone else -
>  
> It is time to revisit this topic.  We had our big survey weekend a few days ago, and now I am trying to get the group map to display the offsets.  There is something bloody obvious that I am missing.
>  
> Attached are three sample files.  The thconfig file is from the group map BigCavernRanch.  I also included the .th file from BigCavernRanch, and the .th file from one of the individual caves.
>  
> This set of files compiles without error but the offsets are NOT displayed.
>  
> I tried creating a map statement in the BigCavernRanch .th file which mentioned the four main maps, then doing a "select" on that map in the thconfig.  That produced errors saying that objects did not exist.
>  
> If I open the BigCavernRanch files in xtherion and then look at the boxes for survey structure and map structure, they are completely empty.
>  
> The individual cave maps all compile correctly and display offsets the way they should.  The survey and map structure boxes in xtherion are not empty.
>  
> -- 
> Bill Gee
>  
>  
> 
> On Wednesday, October 30, 2019 1:17:46 PM CST Bruce Mutton wrote:
> > Bill
> > 
> > As Martin suggested, you just need to define a top-level map, and select
> > that for output.
> > 
> >  
> > 
> > Here is a snip of a top level map that is part of a set of maps I have used
> > to highlight chronology in atlas outputs.
> > 
> >  
> > 
> > map 2009-2011PlanMap \
> > 
> >   -title "MiddleEarth 2009-2011 Plan" \
> > 
> >   -projection plan
> > 
> >   preview above 2017-PlanMap      
> > 
> >   preview above 2014-2015-PlanMap    
> > 
> >   preview above 2013-PlanMap   
> > 
> >   preview above 2012-PlanMap   
> > 
> >  
> > 
> >   #Deck Extension
> > 
> >   DB-DeckExtensionPlan at MiddleEarth
> > 
> >   DD-SandyWayPlan at MiddleEarth
> > 
> >   DE-BermudaTriPlan at MiddleEarth
> > 
> >   DF-DeckEndPlan at MiddleEarth
> > 
> >   DO-UpperBermudaPlan at MiddleEarth
> > 
> >   IZ-wotsumpPlan at MiddleEarth
> > 
> >   
> > 
> >   preview below 1995-2008PlanMap         
> > 
> >   preview below 1983-1994PlanMap
> > 
> >   preview below 1979-1982PlanMap
> > 
> >   preview below 1974-1978PlanMap
> > 
> > endmap
> > 
> >  
> > 
> > Your relationship of scraps and maps to surveys is different to what I use,
> > so the namespace relationship will be different.
> > 
> > The first time, you may need to figure it out yourself, but once you have
> > done that you can compile your project, then in the compiler window, double
> > click on the component map to select it with its correct path.
> > 
> > 
> > 
> >  
> > 
> > Bruce
> > 
> >  
> > 
> > From: Therion <therion-bounces at speleo.sk <mailto:therion-bounces at speleo.sk>> On Behalf Of Bill Gee
> > Sent: Thursday, 31 October 2019 03:37
> > To: therion at speleo.sk <mailto:therion at speleo.sk>
> > Subject: [Therion] Multiple caves on one map with an offset
> > 
> >  
> > 
> > Hi Bruce -
> > 
> >  
> > 
> > Yes, I am now referring to PDF outputs. It has not bothered me enough to
> > chase down the solution. I am pretty sure there is some combination of map
> > and select statements that will do the trick. The last time I thought much
> > about this, the problem I came up with was how to tell the BigCavernRanch.th <http://bigcavernranch.th/>
> > file the names of the various maps in the other .th files. I don't know how
> > the scope of the name spaces works in this kind of configuration.
> > 
> >  
> > 
> > The issue will probably become more annoying in a few weeks. We are planning
> > a major survey expedition to these caves for Nov 10-11, and I will have a
> > lot of new data to work with. The passage that I want to offset is
> > particularly difficult, less than 12 inches high for most of its known
> > length, so there are very few people who are willing to do survey in there.
> > At least it is in dry clay! No water to deal with.
> > 
> >  
> > 
> > The old maps you have may not include this passage. It takes off from the
> > top of Texas Dome, which is in the far north part of Allie Spring Cave. We
> > call the passage "Top of Texas". It runs pretty much directly above other
> > passages. Even with transparency it makes for a rather confused presentation
> > unless it is offset to the side.
> > 
> > > > There is one feature I have found that does not work. . One of my four
> > 
> > > maps has a section where two passages run pretty much the same way, one
> > 
> > > directly above the other. In the single-cave map I handled this by setting
> > 
> > > the upper passage off to the side. That does not come through to the group
> > 
> > > map. The two passages are drawn on top of each other. 
> > 
> > > 
> > 
> > > 
> > 
> > > 
> > 
> > > Bill
> > 
> > > 
> > 
> > > I presume you are now referring to exported map pdf outputs?
> > 
> > > 
> > 
> > > I was looking for something that fitted that description in an old copy of
> > 
> > > your Big Cavern Ranch project that I got from one of your posts last year,
> > 
> > > but didn't find anything.
> > 
> > > 
> > 
> > > In general, if you select and export a map that has offsets defined, they
> > 
> > > will be honoured.
> > 
> > > 
> > 
> > > I you do not specifically select a map with the offsets defined, then the
> > 
> > > scraps will be plotted in their true position - no offset. I do this
> > 
> > > intentionally for overview maps of multiple caves, as offsets at small
> > 
> > > scales (1:2,000, 1:10,000) provide a misleading impression of the cave.
> > 
> > > 
> > 
> > > It seems like you have done this as well, perhaps unwittingly.
> > 
> > > 
> > 
> > > Your source BigCavernRanch.th <http://bigcavernranch.th/> contains a survey named 'all' but there is
> > no
> > 
> > > corresponding map defined as far as I can see. Therefore despite each of
> > 
> > > those caves referenced having maps defined, they are not used - every
> > scrap
> > 
> > > defined is used instead. So no offsets.
> > 
> > > 
> > 
> > > 
> > 
> > > 
> > 
> > > >From the Therion Book.
> > 
> > > 
> > 
> > > 'select'
> > 
> > > Description: selects objects (surveys and maps) for export. By default,
> > all
> > 
> > > survey objects
> > 
> > > are selected. If there is no map selected, all scraps belonging to
> > selected
> > 
> > > surveys are
> > 
> > > selected by default for map export.
> > 
> > > 
> > 
> > > 
> > 
> > > 
> > 
> > > You can easily control what is plotted by defining a 'map all' in your
> > 
> > > BigCavernRanch.th <http://bigcavernranch.th/> file (or elsewhere) and then selecting it in your 'all'
> > 
> > > thconfig.
> > 
> > > 
> > 
> > > 
> > 
> > > 
> > 
> > > Bruce
> > 
> > > 
> > 
> > > 
> > 
> > > 
> > 
> > > 
> > 
> > > 
> > 
> > > 
> > 
> >  
> > 
> >  
> > 
> > 
>  
>  
> <thconfig.txt><BigCavernRanch.th><AllieSpringCave.th>_______________________________________________
> Therion mailing list
> Therion at speleo.sk <mailto: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/20191114/24d5ab0f/attachment.htm>


More information about the Therion mailing list