[Therion] How to rotate XVI?
Bruce Mutton
bruce at tomo.co.nz
Tue Nov 26 09:37:04 CET 2019
Thanks for the comprehensive answers Torsten
I was a little disappointed that the surface ‘line’ turns out to be a clever adaption of a long skinny ‘area’, but it is effective I suppose. I seem to recall there was a conversation about creating a line with shading along one side recently… That would be easier for the draughtsperson if someone has solved that one. All the same, I think I may use your method one day.
The legend scaling is interesting, and I see now that you posted this previously. I wonder if a similar approach could be taken to scaling all the passage cross sections, with a simple ‘switch’?
I guess your \def\maplayout{ also contains a couple of \loadpicture statements, one for the Hidden river logo and one for the elevation. Are you using absolute paths to specify the file to load, or environment variables? I am interested in ways to make it easier for projects that are used with version control across a number of different versioned branches and computer systems. I have not got the time to experiment, but if the environment variable has to point to the exact folder (as this page implies https://therion.speleo.sk/wiki/tex#changing_the_look_or_layout_of_a_map_output), I can imagine it becomes unworkable on a computer system with dozens of cave projects, each comprising a number of caves.
This post by Martin B <https://www.mail-archive.com/therion@speleo.sk/msg05519.html> in 2015 suggests we can define a root folder with an environment variable, and then spell out an absolute path relative to that. Unfortunately if one uses a version control system that stores different development branches in different folders, both approaches are even more problematic.
Sorry that this thread is rambling around topics that bear little relation to the original message.
Bruce
From: Therion <therion-bounces at speleo.sk> On Behalf Of Torsten Schnitter via Therion
Sent: Monday, 25 November 2019 23:33
To: List for Therion users <therion at speleo.sk>
Cc: Torsten Schnitter <torsten.schnitter at netcologne.de>
Subject: [Therion] ***UNCHECKED*** Re: How to rotate XVI?
Hi
I got the answer for rotation XVI file already from Stephen Clark.
In the end it's easy and as Alastair also mentioned:
export map -fmt xvi -proj [elevation 45 deg] -o ....
Concerning the questions from Bruce:
1. Ground profile
You have to export a kml file from your passages. But only these survey lines you would like to have the surface profile from.
There is a website where you can transform this kml data to surface data. You will get an endless list with stations and added surface altitude. The website is www.gpsvisualizer.com <http://www.gpsvisualizer.com>
I can't remember how to get the final file but there was still some work to do on that file.
In the end you need a file like this to generate a XVI file from that:
survey
centreline
date ....
cs lat-long
walls off
mark temporary
flags surface
fix 1 44.1234567 1.345678 123.4
.... more fix stations ....
data nosurvey from to
1 2
2 3
.....
endcentreline
endsurvey
2. Code for the surface line:
scrap
line wall -id surface_line -outline none -clip off
...
endline
line border -id lower_line -subtype invisible -clip off
...
endline
area u:surface_grey -clip off
surface_line
lower_line
endarea
endscrap
The code for area surface_grey is attached to this mail.
(I'm not realy sure anymore about all the "-clip off" !?)
3. Text boxes and layout changes
This is a bit more complex. I will put this infos into an extra email later.
Just give me some time to sort it out and to make it "readable" for everyone.
regards,
Torsten
Bruce Mutton <bruce at tomo.co.nz <mailto:bruce at tomo.co.nz> > hat am 25. November 2019 um 02:32 geschrieben:
I like your map Torsten.
I hope Alistair’s solution is what you were looking for.
I have some questions so that I might make such a nice map.
1. How did you obtain the ground profile? I presume you may have walked it with a gps to obtain ‘real’ survey data or extracted it from Google Earth.
2. I like the line you used for the ground profile. Would you share the code for that?
3. I like the layout of the text information boxes. Would you share an example of the code for those? (cave name, location, surveyed, thanks, exploration history)
Regards
Bruce
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20191126/63302a48/attachment.htm>
More information about the Therion
mailing list