[Therion] offsets and colour by map

Andrew Atkinson andrew at wotcc.org.uk
Thu Sep 11 22:40:30 CEST 2014


Hello

On debian jessie Therion 5.3.14-1 (woops there is a new version, but I
doubt it changes be below)

For those who do not want to follow the whole long mail it can be
summerised as

- preview above/below fall of the page (bug?)

- can we have colour preview-above/below map to have the same colour
preview as the offset part

- a possible bug when trying to offset all parts - although could be
just my mis-use of the offset!

Now the detail.....

I have a cave (more of a bolder chock, really) that I have had the
misfortune to survey. now when I come to try and present it I am having
to think of novel ways that will make it useable, so have been looking
at offsets and maps.

This has lead to me finding bugs, or possibly it might be just pushing
the use well beyond where it was intended to go.

So I have used offsets and colour by maps successfully before, so have a
basic understanding of what they do.

All data available as usual at

http://www.cave-registry.org.uk/svn/Burrington/Reads/

not all these tries have been committed, it is work in progress so joins
and most of the detail have not been done....


So with the line in the thconfig file of

select ReadsM at Reads -map-level 1

and

colour map-fg map

In the th file I  have

map ReadsM
  Level1M [0 -20 m] below
  Level2M [0 -40 m] below
  Level3M [0 -60 m] below
  Level4M [0 -80 m] below
endmap

Which does not work as expected, each of the 4 levels is coloured, but
they are not in offset

So I played and changed to thconfig line map-level setting

select ReadsM at Reads -map-level 0

Offset works but they are not in colour (althugh it seems that the
programmer had not expected all levels to be displaces, so the 'shadow'
is now not on the page, which must be a bug)


So I decided to get round the none colour 'bug' by doing the offset to
inside the Level1M.

I had edited it to

map ReadsM
  Level1M
  Level2M [0 -40 m] below
  Level3M [0 -60 m] below
  Level4M [0 -80 m] below
endmap

map Level1M
  DryEntM at DryEnt [0 20 m] below
  MainChamberM at MainChamber [0 20 m] below
  JuncAlterRoute2M at JuncAlterRoute2 [0 20 m] below
  JuncAlterRouteM at JuncAlterRoute [0 20 m] below
  WaterM at Water [0 20 m] below
  WaterfallChamberM at WaterfallChamber [0 20 m] below
endmap

Which works fine, but a little tedious, unless there is a reason it
would be easier if the whole map could be offset, rather than having to
do every submap. Also the 'shadow' does not stay the same colour which
is a shame as I need the colour to make it clear where the ofset came
from. Which means this whole idea does not work, can I add this as a
feature request, anyone got any bright ideas of how it can be done, best
I have come up with is filling the colouring the maps and turning off
all the other but that would be a manual merge, which I would prefer not
to do

I also tried

map ReadsM
  Level1M
  Level1M_offset
  Level2M [0 -40 m] below
  Level3M [0 -60 m] below
  Level4M [0 -80 m] below
endmap

map Level1M
  DryEntM at DryEnt
  MainChamberM at MainChamber
  JuncAlterRoute2M at JuncAlterRoute2
  JuncAlterRouteM at JuncAlterRoute
  WaterM at Water
  WaterfallChamberM at WaterfallChamber
endmap

map Level1M_offset
  DryEntM at DryEnt [0 20 m] above
  MainChamberM at MainChamber [0 20 m] below
  JuncAlterRoute2M at JuncAlterRoute2 [0 20 m] below
  JuncAlterRouteM at JuncAlterRoute [0 20 m] below
  WaterM at Water [0 20 m] below
  WaterfallChamberM at WaterfallChamber [0 20 m] below
endmap

Which I do not understand why but both Level1M_offset and level1M come
out in the same colour, only slight problem is the detail is still on so
the overview map is more complicated than is should be.

There is the option of preview in the therion book and on the wiki page

http://therion.speleo.sk/wiki/doku.php/tbe:wiki3?s[]=preview#outline

it has

preview
There is also an option for the color of the background, “map-bg”. Other
objects that can be coloured are “preview-above” and “preview-below”

I have never understood this option so time to play

map ReadsM
  Level3M
  Level4M
  preview above Level1M
endmap

with

select ReadsM@@Reads -map-level 0

works but no colour and the same bug that the preview is not fully on
the page.

Making it

select ReadsM@@Reads -map-level 1

Colours level 3 and 4 but no preview

The therion book on page 31 has

preview <above/below> <other map id> will put the outline of the other
map in the
specified preview position relative to the current map.
Preview is displayed only if the map is in the map-level level as
specified by the
select command.
Use the revise command if you want to add maps from higher levels to the
preview.

But I don't understand why it is not in the same level?? Is is possible
to use the revise command to fix this.?




thanks

Andrew




More information about the Therion mailing list