Re: [Therion] Main route through a cave

2021-06-13 Thread Steve Clark
For cave-diving purposes, we added a custom line type to represent the 
dive line with the cave. We can then change the properties of this if we 
want to turn it on/off or change the style in one place.


Added this code to layout :

def l_u_caveline (expr P) =
T:=identity;
pickup PenB;
thdraw P withcolor (1, 0.5, 0);
enddef;
initsymbol("l_u_caveline");

We then drew the line on in each relevant scrap. Generally, it followed 
the centre-line but it can be drawn in the centre of the passage instead.


example pdf here, the cave line is orange :

https://www.dropbox.com/s/watp4mkphcsd1zj/St_Georges_1-1000_v1.4.pdf?dl=0

We also used custom areas to represent the water, using invisible 
borders where necessary. You could maybe colour areas on the main route.


Steve Clark


On 13/06/2021 19:47, Tarquin Wilton-Jones via Therion wrote:

On 13/06/2021 12:17, Axel wrote:

an additional thought just occoured to me:
If u draw a mainroute-line wouldn't it be possible for the coding-gurus
to get the length and maybe the altitude difference of that line type?

I would have thought the easier way would be a "flags" switch that could
do it for you. "flags mainroute". It wouldn't even be an estimate. Maybe
some of the Survex folks on this list could shed some light on how
feasible that would be. Might require a Survex modification though.
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


[Therion] Google Earth Pro

2015-02-01 Thread Steve Clark
Just a quick note to say Google have just removed the fee from the 
Google Earth Pro licence (previously $400). This has a few features that 
are not available in normal google earth, including some export options 
and the ability to record movie fly-by's and zooms.

I hoped it would allow the import of 3d .kml profiles which could be 
viewed in through a semi-transparent terrain. Unfortunately, it doesn't.

You can, however, view the 3d .kml (for centrelines) for all altitudes 
above 0m (sea level) as follows :

Turn of the 'terrain' rendering in the 'Layers' box (unavailable in 
normal google earth)
Open up the 'Therion KML Export' in the Temporary Places section by 
clicking the small arrow.
Right click on the three small dots and bring up the properties box.
Select the altitude tab and change from 'Clamped to Ground' to 'Absolute'

You can now view a cave centreline in 3d, hovering above the aerial 
photography.

Steve Clark



[Therion] Xtherion - User defined areas in Map Editor

2014-05-21 Thread Steve Clark
I may be missing something here, apologies if I'm making an obvious error!

I am having difficultly with user defined areas in the Map Editor (v. 
5.3.14)

When I want to draw a user defined line (eg. u:divingline), I just enter 
u:divingline in the 'type' box  of the Lines section and it works fine.

When I try to draw a user-defined area (eg. u:lake), I enter u:lake in 
the 'type' box it automatically fills in the 'options' box with -subtype 
lake. I can't seem to find any way of entering a user-defined area in 
the Map Editor such that it appears correctly in the text of the .th2 
file as 'area u:lake'

I can correct it by manually editing the .th2 file in the text editor 
and it works fine, but whenever I open and then save the .th2 file again 
in the map editor it reverts to 'u -subtype lake'.

Any help much appreciated.

Regards,

Steve Clark



[Therion] Selective display of survey lines

2014-05-20 Thread Steve Clark
On a related note to Alvaro's questions regarding show and hide of 
survey lines, I'm looking for some advice on the best way to handle the 
selective displaying of some survey lines, but not others.

We have a project surveying a mainly submerged (diving) cave. The vast 
majority of our survey stations and connecting lines are an actual 
continuous physical line in the cave (say 300 stations). Some stations 
(maybe 50) do not have physical lines connecting them (e.g. gaps/jumps 
in the line and dry disto survey).

We would like to be able to :

1. Produce a map with with no lines at all (seems easy, use 'symbol-hide 
line survey' & 'symbol-hide point station' )
2. Produce a map with only the physical lines shown, but not the other 
survey lines. This is as a resource for divers to show the line 
configuration and navigation etc. but not the other survey information.

What is the best way to achieve 2? I've considered making a user-defined 
line type 'u:caveline' and drawing it in all the scraps where submerged 
line exists. Then hide all survey lines and stations. This would be 
laborious but may give most flexibility.

Is this the best way or can anyone suggest an alternative approach?

Regards,

Steve Clark



[Therion] Surface profile in elevation maps

2013-09-05 Thread Steve Clark
 > I'll add the gpsvisualizer to the Therion wiki, as it looks like a 
good way to get a smoothed ground profile over a cave centreline. >Just 
so I'm clear, did you just upload your therion generated kml file here?

Yes, I used the 'model' version of the .kml file, with the x, y 
centreline coordinates. For the output, I just copy and pasted from the 
website text box, added station names in excel and pasted back into 
therion as fixed stations. The only issue I have noticed is that you 
seem to get an extra point at the end of the dataset that is back at the 
start of the path.


I think I understand the map & survey structuring a bit better now. 
Thanks for the links. I can see I need to create a scrap for the surface 
to make it visible. My structure, albeit non-existent, wasn't the problem!

I have used the following process to add the ground profile to both the 
extended and elevation pdf projections:

Export a .kml model of the cave centreline
Import to gpsvisualiser to add the ground altitudes to each co-ordinate
Create a new centreline survey with fixed stations for this set of lat, 
long, alt coordinates
Export an .xvi of this survey
Import the .xvi into therion graphical editor
Create a scrap, referencing some of the stations
Trace the stations with a line (I have currently used 'walls', but I am 
open to suggestions for a better line to use?).
Include this scrap and the centreline survey in the exported map.

Sample work-in-progress here :
https://dl.dropboxusercontent.com/u/4064739/draft_extended_04sep2013.pdf

 From a cave diving perspective, it would be useful to add local zero 
depth lines using a similar process. Is there an appropriate line type 
to use for this?

Steve



[Therion] Surface profile in elevation maps

2013-09-04 Thread Steve Clark
Martin,

Picking points from GoogleEarth works very well. Thank you for the 
suggestion. I found a very useful tool here :

http://www.gpsvisualizer.com/elevation

By simply importing the .kml file of the cave centreline data 
(lat-long), this online tool will create a list of coordinates including 
the ground altitude at each point from one of it's datasets. Very easy 
to use and copy-paste the data back into therion as fixed stations. I 
imagine it would be easy to extract a full DTM surface grid using this tool.

Bruce,

Your suggestion worked great. It is a little odd when used in extended 
projection, but seems correct in elevation projection.

I do have a bit of a problem in exporting to pdf, and this may be me 
missing something more fundamental in how survey/maps are structured and 
therion builds up the plot :

When I just plot centreline data, I can see cave centreline and the new 
ground surface centreline for the complete cave length. When I include a 
single cave scrap, I no longer see any centreline data outside this 
single scrap. Is there a way to over-ride this behaviour or 
alternatively how should I structure my survey/map objects to avoid this?

Thanks to all for your help,

Steve



[Therion] Surface profile in elevation maps

2013-08-31 Thread Steve Clark
[re-sent due to email address error]

I am looking for some advice on the best way to add the profile of the 
ground surface to a cave elevation (for pdf export). Apologies if this 
is in the book and I've missed it.

Currently, I have the background colour as a light grey, with cave the 
foreground in white. This works well, is easy to read and looks good. 
Sample section here : 
https://dl.dropboxusercontent.com/u/4064739/draft_section_18may2013.pdf

Assuming I can draw the ground profile, is there a simple way to change 
the colour above the ground (i.e. the sky) to white too?

If not, and it's better to make everything white, what is the most 
consistent way to draw the ground profile as a line in a scrap? Should I 
be using a 'walls' line but inside-out or is there a better/correct way 
to do this?

Any help much appreciated,

Steve