encoding  utf-8
source AN60.th

export map -proj extended -layout local -layout elevation -layout-map-header 0 0 off -o AN60E.pdf
export map -proj plan -layout local -layout PDF -o ../../../../Outputs/HoyoOscuro/AN60.pdf
export map -proj plan -o ../../../../Outputs/HoyoOscuro/AN60.kml

layout PDF
map-header 15 -15 n
map-image 95 -100 n ..\..\..\..\XTherionFiles\TCP.png
map-image 140 0 w AN60E.pdf
copy custom_border
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 2040 m
endlayout

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 local
grid bottom
grid-size 20 20 20 m
scale 1 500
scale-bar 20 m
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 03610224784837 Alt: 2040m<br><br>Tresviso Caves Project www.tresvisocaves.info<br>BCRA Grade 3c<br>Data: cave-registry.org.uk/svn/Andara<br><br>Length: 30m<br>Depth: -70m"
doc-author   "Phil Walker"
doc-keywords "AN-60 Hoyo Oscuro Spain"
doc-subject  "Survey of AN-60 2020"
doc-title    "AN60- Survey Tresviso Caves Project 2020"

endlayout