Sorry С уважением, I may have taken over your post!
> I suspect the kml exports are not reporting the hierarchy however.
I was wrong, export cave-list -fmt kml does report the full hierarchy, and may
even behave better than the html output.
But it is a bit complicated – I did some testing…
Using this general form of survey definition…
survey 01 -title “Some Cave name” -entrance 1
#defining the entrance here as part of survey definition tells Therion ‘it is a
cave’
centerline
cs lat-long
fix 0 11:22:33.4 22:33:44.5 1234 # set the GPS coordinates and elevation
of station 0
station 3 "Some other entrance name" entrance
# Mark station 3 as another entrance of ‘Some Cave name’ cave, and
display it’s name also
…
endcenterline
endsurvey
And using these exports….
#html
export cave-list \
-surveys on \ # on = show survey, cave hierarchy, & entrances so long as
location is on,
# off = show caves only, not entrances, no hierarchy
-location on \ # on = show cave coords, and entrance coordinates only if
surveys are on
# off = no coordinates
-output ./Output/RiwakaSystemCaves.html
#kml
export cave-list \
-surveys on \ # on = show survey, cave & entrances hierarchy
# off = show caves only, not entrances, no hierarchy
-location on \ # on|off = no difference
-output ./Output/RiwakaSystemCaves.kml
Some examples using variations of the above. In outputs below there are four
caves explicitly defined; H-Hawkes Cave, Hawkes Kairuru Middle Cave, Kairuru
Cave, Kairuru 3030. And one cave that Therion has deduced as it is implied by
the survey structure; Ngarua cave, Takaka Hill. (Unfortunately I have not been
disciplined with naming, so apologies that it is confusing).
“Kairuru 3030” is defined as a cave, and it has two entrances defined in the
centrelines (that are therefore part of Kairuru 3030 Cave, which has three
entrances in total).
It is one of many caves in a Therion project that the outputs below are taken
from.
Here the word ‘cave’ is used to mean the main entrance (ie ‘cave’ is an
entrance and a cave, whereas ‘entrance’ is just an entrance that is usually a
part of an already defined cave).
HTML Outputs
Html surveys on location on (the survey, cave and entrance hierarchy is shown.
Caves have a length reported, entrances do not)
Html surveys on location off (the survey and cave hierarchy is shown, but not
entrances*. Caves have a length reported, entrances do not)
* Could this be a bug? Maybe, maybe not.
The last two records ARE entrances, but they have no survey legs associated,
they are gps fixes only. Maybe that is why Therion treats them differently and
displays these but not others.
Therion has used the survey hierarchy to infer it is a cave called “Ngarua
Cave, Takaka Hill” even though there is no cave entrance defined in the survey
definition.
Html surveys off location on (No hierarchy, caves only, no entrances – except
fixed entrances, has coordinates columns)
Html surveys off location off (No hierarchy, caves only, no entrances – except
fixed entrances, no coordinates)
KML Outputs
Kml surveys on location on (the survey, cave and entrance hierarchy is shown.
Does not distinguish bottom level records as either cave or entrance, could be
either)
Kml surveys on location off (same)
Kml surveys off location on,
Kml surveys off location off (both look the same, both contain coordinates -
kml would be boring without locations!)
Hope that helps :)
Bruce
From: Bruce Mutton [mailto:[email protected]]
Sent: Sunday, 28 January 2018 11:58 AM
To: List for Therion users <[email protected]>
Subject: Re: [Therion] Экспорт в KML
Yes it does make a difference. Define a cave with the survey definition. Define
secondary entrances within centrelines.
See the difference if you export caves to a html file. For best effect you can
do this for a multi cave project where each cave has multiple entrances. I
will post example outputs later.
I suspect the kml exports are not reporting the hierachy however.
Bruce
Sent from my Samsung device, hence the typo's
-------- Original message --------
From: Владимир Георгиев via Therion <[email protected]
<mailto:[email protected]> >
Date: 28/01/18 10:16 (GMT+12:00)
To: List for Therion users <[email protected] <mailto:[email protected]> >
Cc: Владимир Георгиев <[email protected] <mailto:[email protected]> >
Subject: Re: [Therion] Экспорт в KML
Bruce
Yes, that's right, you can define any number of entrances like this.
Although I admit I haven't used the "survey 01 -title “Some Cave name”
-entrance 1" syntax. So far I have always listed the entrances within the
surveys with several "station XX "Some other entrance name" entrance" lines.
Does it make a difference which syntax is used?
Vlad
On Sat, Jan 27, 2018 at 11:01 PM, Bruce Mutton via Therion <[email protected]
<mailto:[email protected]> > wrote:
And I have no Russian, but making assumptions based on Vladimir’s response…
(and apologising for using English)
There are more subtle nuances that can be conveyed.
Have a look at
https://therion.speleo.sk/wiki/drawingchecklist?s[]=entrance#points
<https://therion.speleo.sk/wiki/drawingchecklist?s%5b%5d=entrance#points> and
scroll down to ‘Passage Ends’ point entrance.
You can tell Therion to define a cave, and further, specifically define all the
entrances that the ‘cave’ has.
To expand on and change Vladimir’s example
survey 01 -title “Some Cave name” -entrance 1
#defining the entrance here as part of survey definition tells Therion ‘it is a
cave’
centerline
cs lat-long
fix 0 11:22:33.4 22:33:44.5 1234 # set the GPS coordinates and elevation
of station 0
station 3 "Some other entrance name" entrance
# Mark station 3 as another entrance of ‘Some Cave name’ cave, and
display it’s name also
…
endcenterline
endsurvey
Have I got that right Vlad?
Bruce
From: Therion [mailto:[email protected]
<mailto:[email protected]> ] On Behalf Of ???????? ???????? via Therion
Sent: Sunday, 28 January 2018 7:18 AM
To: List for Therion users <[email protected] <mailto:[email protected]> >
Cc: Владимир Георгиев <[email protected] <mailto:[email protected]> >
Subject: Re: [Therion] Экспорт в KML
Hi
My Russian is not that good, so I will reply in English.
The kml model can export the entrances, if that is what you mean by "объектов".
To get the name of the cave to display, you have to mark one or more stations
as entrances. Something like this:
centerline
cs lat-long
fix 0 11:22:33.4 22:33:44.5 1234 # set the GPS coordinates and elevation
of station 0
station 0 "Some cave name" entrance # Mark station 0 as an entrance and
set the name to be displayed. Not necessarily the same station as the one with
the coords.
...
Vladimir
2018-01-26 11:08 GMT+02:00 Кунгурская лаборатория-стационар via Therion
<[email protected] <mailto:[email protected]> >:
Здравствуйте. Подскажите, пожалуйста. Я пытаюсь экспортировать данные
в KML-файл. Вот строка
export model -fmt kml -output Kungur_Z.kml
При просмотре kml-файла он не отображает названия объектов, а
отображаются только линии.
Подскажите, пожалуйста, как сделать так, чтобы названия объектов тоже
отображались?
_______________________________________________
Therion mailing list
[email protected] <mailto:[email protected]>
https://mailman.speleo.sk/listinfo/therion
_______________________________________________
Therion mailing list
[email protected]
https://mailman.speleo.sk/listinfo/therion