encoding  utf-8
source far_upstream_sump_2024.th

export map -proj extended -layout local -layout elevation -layout-map-header 0 0 off -o far_upstream_sump2024E.pdf
export map -proj plan -layout local -layout PDF -o far_upstream_sump_2024.pdf
#export model -o sump.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 elevation
grid-coords border 
grid bottom               #behind the cave
grid-size 50 50 50 meters #one line every x metres of depth
scale 1 750
endlayout

layout PDF
 copy custom_border
  grid bottom               #behind the cave
  grid-size 50 50 50 meters #one line every x metres of depth
  rotate 160  
  map-header 10 40 n
  map-image 20 10 n ..\..\..\..\..\XTherionFiles\TCP.png
  map-image 45 -20 n far_upstream_sump2024E.pdf
endlayout

layout local
legend-width 15 cm # printed size, based on scale
legend off
scale-bar 50 m
scale 1 500
symbol-colour area water [25 50 100]
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 "Plan & Extended Elevation<br><br>Tresviso Caves Project www.tresvisocaves.info<br>BCRA Grade 3B<br>Data: cave-registry.org.uk/svn/Andara"
doc-author   "Phil Walker"
doc-keywords "Cueva del Nacimiento Tresviso Spain"
doc-subject  "Survey of Cueva del Nacimiento Tresviso 2024"
doc-title    "Cueva del Nacimiento Survey Tresviso Caves Project 2024"

endlayout