[Therion] export cave-list

Stacho Mudrak s.m at group-s.sk
Thu Oct 30 15:38:21 CET 2008


Sorry for late answer, I was a little bit busy last weeks.

Your problem is very simple. You specify entrance like:

station RD21 entrance

but specification should be

station RD21 "RD21" entrance

... where "RD21" is the name of the cave and RD21 is just station
name. Station command has following syntax

station <station-name> <description> flags

If you will correct this, you should not receive empty file.

Best regards, S.

2008/10/22 Xavier Pennec <Xavier.Pennec at sophia.inria.fr>:
> I tried the export command below with a system containing many entrances
> (flagged with "station xxx entrance" in the different surveys) and all I can
> get is a completely empty file !
> Am I missing something or is that a bug?
>
> I included the files with a simple cave alone which is normally included in
> the larger system.
> I am running therion 5.2.1 on windows.
>
> Xavier
>
>
> Bruce Mutton a écrit :
>>
>> Just noticed a curious thing; a bug perhaps?
>>
>>
>> The following lines give me an output that includes altitudes of entrances
>> and no co-ordinates, as I would expect;
>>
>>
>> #!CAVE LIST EXPORT
>>
>> export cave-list -output ./Outputs/GLMESM_SystemCaves.html #\
>>
>> #  -location on
>>
>>
>> And the following gives entrance co-ordinates but no altitudes;
>>
>>
>> #!CAVE LIST EXPORT
>>
>> export cave-list -output ./Outputs/GLMESM_SystemCaves.html \
>>
>>  -location on
>>
>>
>> Why no altitudes?
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Therion mailing list
>> Therion at speleo.sk
>> http://mailman.speleo.sk/mailman/listinfo/therion
>>
>
>
> therion 5.2.1
> initialization file: C:\Program Files\Therion/therion.ini
> reading ... done
> configuration file: NaduelRD21.thconfig
> reading ... done
> reading source files ... done
> preprocessing database ... done
> scanning centreline tree ... done
> searching for centerline loops ... done
> calculating station coordinates ... done
> processing survey data ...
> ####################### cavern log file ########################
>  1> Survex 1.0.39
>  2> Copyright ¸ 1990-2006 Olly Betts
>  3> La topo n'a pas de points fixes. Par cons‚quent j'ai fix‚ 1 … (0,0,0)
>  4>
>  5> La topo contient 2 stations, connect‚es par 1 vis‚.
>  6> Il y a 0 bouclages.
>  7> Longueur totale de la topo =    1.60m (   1.60m adjust‚)
>  8> Longueur totale en projection horizontale =    1.60m
>  9> Longueur totale verticale =    0.07m
> 10> Interval vertical = 0.07m (de 2 … 0.07m jusqu'… 1 … 0.00m)
> 11> Interval Nord-Sud = 1.44m (de 1 … 0.00m jusqu'… 2 … -1.44m)
> 12> Interval Est-Ouest = 0.70m (de 1 … 0.00m jusqu'… 2 … -0.70m)
> 13>    2 1-noeuds.
> 14>
> ######################### transcription ########################
>  3> 1 : RD21 at NaduelRD21_2008
>  5> 2 : RD21-1 at NaduelRD21_2008 -- 1 : RD21 at NaduelRD21_2008
> 10> 2 : RD21-1 at NaduelRD21_2008 -- 1 : RD21 at NaduelRD21_2008
> 11> 1 : RD21 at NaduelRD21_2008 -- 2 : RD21-1 at NaduelRD21_2008
> 12> 1 : RD21 at NaduelRD21_2008 -- 2 : RD21-1 at NaduelRD21_2008
> 13> 2 : RD21-1 at NaduelRD21_2008
> #################### end of cavern log file ####################
> done
> calculating basic statistics ... done
> processing extended elevation ... done
> processing references ... done
> selecting export objects ... done
> processing projection plan ... done
> average distortion: 0.00%
> writing Scans/NaduelRD21.xvi ... done
> writing Topos/NaduelRD21_plan.pdf ...
> ####################### metapost log file ########################
> This is MetaPost, Version 0.641 (Web2c 7.5.2) (mem=mpost 2004.3.2)  22 OCT
> 2008 13:50
> **data.mp
> (data.mp [4001] [4002] [4003] [4004] [4005] [4006] [4007]
> [1] [2] [3] [4] [5] (mptextmp.mp) (mptextmp.mp) [6] [7] [8] [9] [10] [11]
> [12]
> [13] [14] [15] )
> Here is how much of MetaPost's memory you used:
>  860 strings out of 31350
>  11405 string characters out of 476397
>  28378 words of memory out of 1018118
>  1194 symbolic tokens out of 9500
>  8i,66n,16p,212b stack positions out of 300i,300n,150p,200000b
>  0 string compactions (moved 0 characters, 0 strings)
>
> 22 output files written: data.1 .. data.4007
>
> #################### end of metapost log file ####################
> converting scraps ... done
> making map ... done
> ######################## pdftex log file #########################
> This is pdfTeX, Version 3.141592-1.40.1 (Web2C 7.5.6) (format=pdftex
> 2007.1.8)  22 OCT 2008 13:50
> entering extended mode
> **data.tex
> (./data.tex (./th_enc.tex) (./th_texts.tex) (./th_resources.tex)
> (./th_fontdef.tex{c:/PROGRA~1/Therion/texmf/fonts/pdftex.map})
> (./th_formdef.tex) (./th_pagedef.tex) (./th_pages.tex)
>  59 numeric registers used out of 32768
>  [1] )
> Here is how much of TeX's memory you used:
>  236 strings out of 97159
>  2291 string characters out of 1208382
>  14795 words of memory out of 1506021
>  1448 multiletter control sequences out of 10000+50000
>  20080 words of font info for 63 fonts, out of 1000000 for 2000
>  14 hyphenation exceptions out of 1000
>  9i,5n,8p,238b,58s stack positions out of 5000i,500n,6000p,200000b,50000s
> <c:/PROGRA~1/Therion/texmf/fonts/type1/cmss10.pfb><c:/PROGRA~1/Therion/te
> xmf/fonts/type1/cmssi10.pfb>
> Output written on data.pdf (1 page, 21203 bytes).
> PDF statistics:
>  54 PDF objects out of 1000 (max. 8388607)
>  0 named destinations out of 1000 (max. 131072)
>  123 words of extra memory for PDF output out of 10000 (max. 10000000)
>
>
> ##################### end of pdftex log file #####################
> done
> writing Topos/NaduelRD21.lox ... [scrap_RD21_plan] done
> processing projection elevation ... done
> writing Scans/NaduelRD21_proj135.xvi ... done
> writing Topos/NaduelRD21_proj135.pdf ...
> ####################### metapost log file ########################
> This is MetaPost, Version 0.641 (Web2c 7.5.2) (mem=mpost 2004.3.2)  22 OCT
> 2008 13:50
> **data.mp
> (data.mp [4001] [4002] [4003] [4004] [4005] [4006] [4007]
> [1] [2] (mptextmp.mp) (mptextmp.mp) [3] [4] [5] [6] [7] [8] [9] [10] [11]
> [12] )
> Here is how much of MetaPost's memory you used:
>  850 strings out of 31350
>  11266 string characters out of 476397
>  28378 words of memory out of 1018118
>  1191 symbolic tokens out of 9500
>  8i,66n,11p,212b stack positions out of 300i,300n,150p,200000b
>  0 string compactions (moved 0 characters, 0 strings)
>
> 19 output files written: data.1 .. data.4007
>
> #################### end of metapost log file ####################
> converting scraps ... done
> making map ... done
> ######################## pdftex log file #########################
> This is pdfTeX, Version 3.141592-1.40.1 (Web2C 7.5.6) (format=pdftex
> 2007.1.8)  22 OCT 2008 13:50
> entering extended mode
> **data.tex
> (./data.tex (./th_enc.tex) (./th_texts.tex) (./th_resources.tex)
> (./th_fontdef.tex{c:/PROGRA~1/Therion/texmf/fonts/pdftex.map})
> (./th_formdef.tex) (./th_pagedef.tex) (./th_pages.tex)
>  55 numeric registers used out of 32768
>  [1] )
> Here is how much of TeX's memory you used:
>  232 strings out of 97159
>  2248 string characters out of 1208382
>  13576 words of memory out of 1504802
>  1444 multiletter control sequences out of 10000+50000
>  20080 words of font info for 63 fonts, out of 1000000 for 2000
>  14 hyphenation exceptions out of 1000
>  9i,5n,8p,238b,58s stack positions out of 5000i,500n,6000p,200000b,50000s
> <c:/PROGRA~1/Therion/texmf/fonts/type1/cmss10.pfb><c:/PROGRA~1/Therion/te
> xmf/fonts/type1/cmssi10.pfb>
> Output written on data.pdf (1 page, 15763 bytes).
> PDF statistics:
>  46 PDF objects out of 1000 (max. 8388607)
>  0 named destinations out of 1000 (max. 131072)
>  99 words of extra memory for PDF output out of 10000 (max. 10000000)
>
>
> ##################### end of pdftex log file #####################
> done
> writing Coordonnees.txt ... done
> writing xtherion file ... done
> compilation time: 5 sec
>
>
> ###################### scrap distortions #######################
>  PROJECTION: plan
>  AVERAGE  MAXIMAL  SCRAP
>   0.00%    0.00%  scrap_RD21_plan at NaduelRD21_2008
> ################### end of scrap distortions ###################
>
>
>
> encoding  utf-8
> source NaduelRD21_2008
> input ../../Layouts/LayoutTopoXav.thconfig
>
>
> layout xvi-export
> scale 1 100
> grid-size 10 10 10 m
> endlayout
>
> layout map_layout
>  copy LayoutTopoXav
>
>  doc-author "Xavier Pennec"
>  doc-keywords "Naduel RD21"
>  doc-subject "Plan de Naduel RD21"
>  doc-title "Naduel - RD21 - Plan"
>  map-comment "Echelle : 1/100"
>
>  #rotate 45 ## axe projection 315
>  # rotate 60
>   map-header 100 100 ne
> # debug on
>  scale 1 100
>  grid bottom
>  grid-size 10 10 10 m
> #  origin 13 22 0 m
> #  origin-label 100 K
> #  exclude-pages on 1,2,5
>  color map-bg 85
>  transparency on
>  opacity 60
>  language fr
>  statistics topo-length on
>  statistics explo-length on
>  legend off
> #  map-header 8 50 e
>  layers off
> endlayout
>
> layout atlas_layout
>  # debug on
>  copy LayoutTopoXav
>
>  doc-author "Xavier Pennec"
>  doc-keywords "Naduel RD21"
>  doc-subject "Plan de Naduel RD21"
>  doc-title "Naduel - RD21 - Plan"
>  map-comment "Echelle : 1/100"
>
>
>  scale 1 100
>  rotate 45 ## axe projection 315
>  ## page-setup 21 29.7 20 28.7 0.5 0.5 cm ##A4
>  ## size 18 22.2 cm ##A4
>  page-setup 42 29.7 41 28.7 0.5 0.5 cm ##A3 horiz
>  size 39 22.2 cm
>  transparency on
>  opacity 60
>  page-grid on
>  language fr
>  statistics topo-length on
>  statistics explo-length on
>  legend on
>  layers on
> endlayout
>
> export map -fmt xvi -o Scans/NaduelRD21.xvi -layout xvi-export
> export map   -o Topos/NaduelRD21_plan.pdf   -layout map_layout
> export model -o Topos/NaduelRD21.lox
>
> ## Coupe projetee
>
> export map -fmt xvi -o Scans/NaduelRD21_proj135.xvi -projection [elevation
> 315] -layout xvi-export
> export map   -o Topos/NaduelRD21_proj135.pdf -projection [elevation 315]
> -layout map_layout
>
>
> export cave-list -o Coordonnees.txt -location on
>
> encoding  utf-8
> survey NaduelRD21_2008 -title "Naduel RD21"
>
>  centerline
>    date 2008.04.21
>
>    #team "Xavier Pennec" notes compass clino
>    #team "Flavien Perazza" tape
>
>    data normal from to length compass clino  left right up down ignoreall
>    units compass clino degrees
>
>    station RD21 entrance
>    RD21    RD21-1  1.6  206 2.5 [1.10 1.10] [0 0] [- 1.5] [0 0]
>    #RD21-1 RD21-2 15 206 2.5 [1.10 1.10] [0 0] [1.5 1.5] [0 0]
>  endcenterline
>
>
>  input Scraps/NaduelRD21_2008_plan.th2
>  #input Scraps/NaduelRD21_2008_coupe.th2
>
>
>  map NaduelRD21_2008_plan
>    title "Nadule RD21 - Plan"
>    scrap_RD21_plan
>  endmap
>
> #  map NaduelRD21_2007_coupe
> #    title "Naduel RD21<br>Coupe projetée Az 315 deg (SSO-NNE)
> #    RD21_coupe
> #  endmap
>
>
>  endsurvey
>
>
> encoding  utf-8
> ##XTHERION## xth_me_area_adjust 17.0 -16.0 411.0 671.0
> ##XTHERION## xth_me_area_zoom_to 100
>
>
>
> scrap scrap_RD21_plan -projection plan -author 2005 "Xavier Pennec" -scale
> [0 0 1600 0 0.0 0.0 40.64 0.0 m]
>
> point 215.0 117.0 label -text "RD21" -align bl
>
> point 214.0 168.0 entrance -orientation 359.8
>
> point 208.0 503.0 altitude -align t
>
> point 217.0 314.0 water-flow -orientation 186.6
>
> point 235.0 433.0 water-flow -orientation 186.6
>
> point 255.0 479.0 sand
>
> point 178.0 469.0 sand
>
> point 191.0 434.0 sand
>
> point 166.0 363.0 sand
>
> line contour
>  162.0 238.0
>  265.0 236.0
> endline
>
> line floor-step
>  153.0 335.0
>  197.0 336.0
>  203.0 443.0
>  274.0 450.0
> endline
>
> line wall -subtype presumed
>  274.0 390.0
>  273.0 484.0
> endline
>
> line wall -reverse on -subtype presumed
>  151.0 383.0
>  150.0 474.0
> endline
>
> line wall -reverse on
>  154.0 234.0
>  151.0 383.0
> endline
>
> line wall
>  278.0 229.0
>  274.0 390.0
> endline
>
> point 270.0 380.0 station -name "RD21-1"
>
> point 273.0 248.0 station -name "RD21"
>
> endscrap
>
>
>
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> http://mailman.speleo.sk/mailman/listinfo/therion
>
>



More information about the Therion mailing list