25. 11. 2019 v 11:33, Torsten Schnitter via Therion <therion@speleo.sk>:

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
I can't remember how to get the final file  but there was still some work to do on that file.

I just experimented a bit with gpsvisualiser:

1.export model in format .kml
2. manually remove altitude from station coordinates between commands <LineString><coordinates> </coordinates></LineString>. Quite easy with help of spreadsheet. Don’t forget to add first row with headers and column with names of stations. Export as .csv (coma delimited data) file.

name,longitude,latitude
0,-86.23860000000001,37.72083333333334
...

3. use this page https://www.gpsvisualizer.com/elevation - where you may find altitude of surface above lat-long coordinates of stations from DEM model.
4. export .txt file

The result should looks as this:

type latitude longitude altitude (m) name
W	37.720833333	-86.238600000	211.1	0
W	37.720837031	-86.238605393	211.1	1
W	37.720852666	-86.238627797	210.9	2
W	37.720836572	-86.238632999	210.9	3
W	37.720859584	-86.238609790	210.9	4
W	37.720880946	-86.238602835	210.9	5
W	37.720906567	-86.238586683	210.8	6
W	37.720922277	-86.238569001	210.7	7
W	37.720941550	-86.238578853	210.5	8
W	37.720979796	-86.238600593	210.4	9
5. convert data to valid .th file and generate .xvi file.

Martin