encoding  utf-8
source torca_joyu.th

export map -proj extended -layout local -layout elevation -layout-map-header 0 0 off -o TorcaJoyuE.pdf
export map -proj plan -layout local -layout PDF -layout-map-comment "Plan & Extended Elevation" -o ../../../Outputs/Tresviso/TorcaJoyu.pdf
export map -proj plan -o ../../../Outputs/Tresviso/TorcaJoyu.kml

export model -o ../../../Outputs/Tresviso/TorcaJoyu.lox

input ..\..\..\XTherionFiles\_translations.txt  # custom Spanish translations for legend
input ..\..\..\XTherionFiles\_layouts.mp        # Allows scaling of Photos and makes water blue
input ..\..\..\XTherionFiles\_globallayouts.thc #allows the same symbols to be used across all surveys

layout PDF
copy custom_border
scale 1 500
map-image 100 55 sw TorcaJoyuE.pdf
map-header 0 -10 nw
map-image 120 -50 nw ..\..\..\XTherionFiles\TCP.png
colour map-fg [97 93 43]
endlayout

layout elevation
grid top                  #above the cave
grid-size 50 50 10 meters #one line every 50 metres of depth
grid-coords border        #show numbers at the edge of the survey
#grid-origin 0 0 844 m
endlayout


layout local
grid top
grid-size 20 20 20 m
#north grid
scale-bar 20 m
symbol-colour area water [25 50 100]
scale 1 500
fonts-setup 6 12 16 40 60

### index of file options from _layouts.mp
  copy custom_snow
  copy custom_flowstone
  #copy custom_water_blue
  #copy custom_legend_large_format_5U
  copy custom_scalebar #borrowedstolen base from AndrewAtkinson Wookeyhole template
  #copy custom_continuations
  
### index of file options from _globallayouts.thc
  copy global_symbols
  copy global_color
  #copy global_medium_cave
  #copy global_small_cave

  
map-comment "WGS84 UTM 30T 0364606 4790859 Alt: 844m<br><br>Tresviso Caves Project www.tresvisocaves.info<br>BCRA Grade 5<br>Data: cave-registry.org.uk/svn/Andara/"
doc-author   "Phil Walker"
doc-keywords "T6 Torca del Joyu Tresviso Spain"
doc-subject  "Survey of T6 Torca del Joyu 2022"
doc-title    "T6 T1 Torca del Joyu Survey Tresviso Caves Project 2022"

endlayout