[Therion] Best approach for colouring elevations
Bruce Mutton
bruce at tomo.co.nz
Wed May 1 12:04:03 CEST 2019
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 at mycave that differs from foo's colour?
Bruce
-----Original Message-----
From: Therion <therion-bounces at speleo.sk> On Behalf Of Tarquin Wilton-Jones via Therion
Sent: Wednesday, 1 May 2019 20:47
To: therion at speleo.sk
Cc: Tarquin Wilton-Jones <tarquin.wilton-jones at ntlworld.com>
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 at mycave
lookup map
foo at 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
Therion at speleo.sk
https://mailman.speleo.sk/listinfo/therion
More information about the Therion
mailing list