encoding  utf-8
source sistema_tere_master.th

#select sistema_tereE@sistema_tere_master

export map -proj extended -layout standard -layout elevation -o ../../../Outputs/VegasAndara/SistemaTere(Elevation).pdf
export map -proj plan -layout standard -layout plan -o ../../../Outputs/VegasAndara/SistemaTere(Plan).pdf
export map -proj plan -o ../../../Outputs/VegasAndara/SistemaTere.kml
#export model -o sistema_tere_master.3d

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 plan
#page-grid on
map-header 15 10 w
map-image 45 10 w ..\..\..\XTherionFiles\TCP.png
scale-bar 25 m
scale 1 250
colour map-fg [97 93 43]

#color-legend off
grid bottom
grid-size 25 25 25 metres
#north grid
endlayout

layout elevation
scale 1 1000
grid bottom               #behind the cave
grid-size 50 50 50 meters #one line every 50 metres of depth
grid-coords border        #show numbers at the edge of the survey
#grid-origin 0 0 1820 m
map-header 10 20 w
map-image 35 20 w ..\..\..\XTherionFiles\TCP.png
colour map-fg [97 93 43]
endlayout

layout standard
legend-width 15 cm # printed size, based on scale
legend off
fonts-setup 6 12 16 40 60
symbol-colour area water [25 50 100]
colour map-fg [97 93 43]

### index of file options from _layouts.mp
  copy custom_border
  copy custom_snow
  copy custom_flowstone
  copy custom_water_blue
  #copy custom_legend_large_format_5U
  copy custom_scalebar 
  #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 0361608 4785227 1820m\
<br><br>Tresviso Caves Project www.tresvisocaves.info\
<br>BCRA Grade 5b & 3b<br>Data: cave-registry.org.uk/svn/Andara/"
doc-author   "Phil Walker"
doc-keywords "Sistema Tere Vegas de Andara Andara Spain"
doc-subject  "Sistema Tere 2020"
doc-title    "Sistema Tere Survey Tresviso Caves Project 2020"
  
endlayout