Tarquin
Chances are you are forging new ground here.  It is a new feature, so bugs 
might be expected.  I have not really used 'lookup map', I just played a little 
so that I could write the wiki page :)  Of the variants, I probably used 
'lookup altitude' the most.
It could be that red is the first colour in the default map colour list, so it 
may be coincidental that it matches the colour you chose, and not at all 
responding to your foo colour definition.
It could be that if the map exported does not have an explicitly defined colour 
when others do, Therion gets buggy (or helpful) as you suggest.
What if you add to the below sequence a lookup colour specification for 
bar@mycave that differs from foo's colour?
 Bruce

-----Original Message-----
From: Therion <[email protected]> On Behalf Of Tarquin Wilton-Jones via 
Therion
Sent: Wednesday, 1 May 2019 20:47
To: [email protected]
Cc: Tarquin Wilton-Jones <[email protected]>
Subject: Re: [Therion] Best approach for colouring elevations

Fun fact;
You don't even have to select the map for map lookups to find the scraps inside 
it.

mycave.th:
survey mycave
  map foo
    myscrap
  endmap
  map bar
    myscrap
  endmap
  ...
endsurvey

thconfig:
source "mycave.th"
select bar@mycave
lookup map
  foo@mycave [100 0 0]
endlookup
layout elevation265
  color map-fg map
endlayout
export map -proj plan -layout local -o "mycave.pdf"

myscrap will be red, because it is in foo, even though bar is selected.
Needless to say, this is a little unpredictable (is it a feature or a bug?), 
and means things get coloured even when you didn't expect them to be.
_______________________________________________
Therion mailing list
[email protected]
https://mailman.speleo.sk/listinfo/therion

_______________________________________________
Therion mailing list
[email protected]
https://mailman.speleo.sk/listinfo/therion

Reply via email to