start => en
Table of Contents



Please, feel free to add your own examples of your interesting solutions made with therion.

Parameters in layout

source .th file - "demo-cave.th"

Source scans and .th2 file

survey demo-jaskyna

input demo-jaskyna.th2

map vrch

  demo-jaskyna_s1
  break
  demo-jaskyna_s2
  endmap

centerline

  units compass grads
  units clino grads
  units tape metres
  
  team "RSDr. Jano/Mrkva CSc." #there are more than two strings in a name
  team "Jozo Zemiak"
  
  explo-team "Budaj"
  explo-date 2001.12.04
  
  date 2004.11.20
  
  data normal from to    length  compass   clino
  
         0         1      7.69    188        99   
         1         2      4.54     75         2   
         2         3      2.72    153         6   
         3         4      1.89    112        32   
         4         5      4.5     105         5   
         5         6      3.6     109       -20   
         6         7      3.36    104         7   
         7         8      4.89    145        22   
         8         9      3.2      90        -2   
         9        10      7.67    108       -11   
        10        11      7.05     90        -1   
        11        12      3.68     81        10   
        12        13      2.39     94        31   
        12        14      2.83     23        -1   
        11        15      3.85    338       -51   
        15        16      4.44     98       -16   
   
  endcenterline

endsurvey

—-

Only centerline

Note - the survey “demo-jaskyna” is a part of survey “centerline” now and there is a new map definition survey centerline -title “Demo cave - only centerline” #input demo-jaskyna.th2 #no any .th2 file necessary map vrch -projection plan #the “-projection” option must be here demo-jaskyna #this is the survey, not a scrap #demo-jaskyna_s1 #break #demo-jaskyna_s2 endmap survey demo-jaskyna #map vrch #demo-jaskyna_s1 #break #demo-jaskyna_s2 #endmap centerline .... endcenterline endsurvey demo-jaskyna endsurvey centerline The default centerline you may change to colored solid line with help of piece of Metapost code in layout section of thconfig file: code metapost def l_survey_cave (expr p) = draw p withpen PenD withcolor (0.1,0.3,0.1); enddef; Click on image to see the full resolution file —- ====3D export - vrml, map export - different language, legend off==== source demo-jaskyna #export model -fmt 3dmf #export model -fmt survex #export model -fmt compass export model -fmt vrml layout demo-jaskyna-header map-header 0 100 sw #language cz language sk #language en #language fr legend off #colour map-fg [80 80 80] #colour map-bg [70 90 70] #symbol-hide group all #symbol-show line wall #symbol-show line survey transparency on opacity 60 statistics topo-length off #on statistics explo-length off #on #code metapost #def l_survey_cave (expr p) = #draw p withpen PenD withcolor (0.5,0.3,0.3); #enddef; endlayout select vrch@demo-jaskyna export map -layout demo-jaskyna-header -output cave_00.pdf Click on picture to see original size ====No 3D export, map export - colored background and foreground, colored surveying lines, no legend==== source demo-jaskyna layout demo-jaskyna-header map-header 0 100 sw legend off colour map-fg [80 80 80] colour map-bg [70 90 70] code metapost def l_survey_cave (expr p) = draw p withpen PenD withcolor (0.5,0.3,0.3); enddef; endlayout export map -layout demo-jaskyna-header -output cave_01.pdf Click on picture to see original size —- ====Map export - legend on, colored foreground, background and surveying line==== source demo-jaskyna layout demo-jaskyna-header map-header 0 100 sw legend on #off colour map-fg [80 80 80] colour map-bg [70 90 70] code metapost def l_survey_cave (expr p) = draw p withpen PenD withcolor (0.5,0.3,0.3); enddef; endlayout export map -layout demo-jaskyna-header -output cave_02.pdf Click on picture to see original size —- ====Map export - another language, header in bottom left corner, legend off, colored foreground and surveying line==== source demo-jaskyna layout demo-jaskyna-header map-header 0 0 nw #language cz #language sk #language en language fr legend off #on colour map-fg [80 80 80] #colour map-bg [70 90 70] symbol-hide group all symbol-show line wall symbol-show line survey code metapost def l_survey_cave (expr p) = draw p withpen PenD withcolor (0,0,1); enddef; endlayout export map -layout demo-jaskyna-header -output cave_03.pdf Click on picture to see original size —- ====Map export - map header off, legend off, colored foreground, only walls==== source demo-jaskyna #export model -fmt 3dmf #export model -fmt survex #export model -fmt compass #export model -fmt vrml layout demo-jaskyna-header #map-header 0 0 nw map-header 0 0 off #language cz #language sk #language en #language fr legend off #legend on colour map-fg [10 10 10] #colour map-bg [70 90 70] symbol-hide group all symbol-show line wall #symbol-show line survey opacity 70 code metapost def l_survey_cave (expr p) = draw p withpen PenD withcolor (0,0,1); enddef; endlayout select vrch@demo-jaskyna export map -layout demo-jaskyna-header -output cave_04.pdf Click on picture to see original size —- ====Map export - colored background, only walls==== source demo-jaskyna layout demo-jaskyna-header #map-header 0 0 nw map-header 0 0 off legend off #legend on #colour map-fg [10 10 10] colour map-bg [70 70 70] symbol-hide group all symbol-show line wall #symbol-show line survey endlayout select vrch@demo-jaskyna export map -layout demo-jaskyna-header -output cave_05.pdf Click on picture to see original size —- ====Map export - default layout, rotated map==== Note: the profile is not rotated source demo-jaskyna layout demo-jaskyna-header rotate 30 export map -layout demo-jaskyna-header -output cave_06.pdf Click on picture to see original size —- ====Map export - grid, colored background and foreground==== source demo-jaskyna layout demo-jaskyna-header map-header 0 100 sw grid bottom grid-size 5 5 5 m colour map-fg [80 80 80] colour map-bg [70 90 70] endlayout select vrch@demo-jaskyna export map -layout demo-jaskyna-header -output cave_07.pdf Click on picture to see original size —- Bold Textuuu====== Level 1 Headline ====== ====Cachtice cave - example of quite complicated map==== made by Martin Sluka Click on picture to see original size// —-