encoding utf-8
source esperanza_master.th
# Proposed rewrite, Dec 2026 - same structure as sistema_castillo_master / sistema_ramazosa
# Paths: this file is in MinasMazarrasa\therion\Esperanza, so TresvisoRepo is three levels up
select minas_esperanza@esperanza_master # full plan (survey + 1974 schematics)
select minas_esperanzaE@esperanza_master # full extended elevation
export map -proj extended -layout standard -layout elevation -o ../../../Outputs/MinasMazarrasa/esperanza_masterE.pdf
export map -proj plan -layout standard -layout plan -o ../../../Outputs/MinasMazarrasa/esperanza_master.pdf
export map -proj plan -layout kml -o ../../../Outputs/MinasMazarrasa/esperanza_master.kml
# Working copy with station names, for checking joins (not for publishing)
#export map -proj plan -layout standard -layout check -o esperanza_master_check.pdf
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
#hide some legend entries (covered by area equivalent)
text en "line wall:debris" ""
text en "line rock-border" ""
text en "point gradient" ""
text en "point station:temporary" ""
lookup map -title "Minas Esperanza"
# [Map ID]@[Sub-Survey].[Master-Survey] [R G B] "Legend Label"
m1p@esperanza_entrance_2005.esperanza_master [20 80 40] "Esperanza entrance (2025)"
m1p@Esperanza_Up_Pitch.esperanza_master [50 0 80] "Up Pitch (2026)"
m1p@Esperanza_Mine.esperanza_master [70 0 70] "Main level (2026)"
m1p@Aurelia_entrance.esperanza_master [0 70 60] "Aurelia entrance (2026)"
m1p@esperanza_schematics.esperanza_master [97 93 43] "Esperanza mine schematic (1974)"
m1p@aurelia.esperanza_master [60 60 60] "Aurelia mine schematic (1974)"
endlookup
layout plan
copy custom_border
scale 1 500
scale-bar 25 m
map-header 0 100 ne # title/legend block sits outside the map, to its left
map-image 0 6 se ..\..\..\XTherionFiles\TCPSmaller.png
map-image 0 0 se ..\..\..\XTherionFiles\by-nc-sa.png # under the TCP logo
color map-fg map # colour by lookup above
color-legend on
grid bottom
grid-size 25 25 25 m
map-comment "Plan
1974 mine schematics shown for context, not to survey grade\
WGS84 UTM 30T\
T425 Esperanza 0360686 4785595 1828m\
T444 Aurelia (new entrance) 0360717 4785501 1847m\
Tresviso Caves Project www.tresvisocaves.info
\
BCRA Grade 5D (schematics 1A)
\
Data: cave-registry.org.uk/svn/Andara/"
endlayout
layout elevation
color preview-below [0 0 0] #set to black
copy custom_border
scale 1 500
scale-bar 25 m
map-header 0 100 ne
map-image 0 20 se ..\..\..\XTherionFiles\TCPSmaller.png
map-image 0 0 se ..\..\..\XTherionFiles\by-nc-sa.png # under the TCP logo
grid bottom
grid-size 25 25 25 m
grid-coords border
color map-fg altitude # as Castillo / Ramazosa elevations
color-legend on
map-comment "Extended Elevation
Aurelia entrance level shown 25 m lower for clarity\
WGS84 UTM 30T\
T425 Esperanza 0360686 4785595 1828m\
T444 Aurelia (new entrance) 0360717 4785501 1847m\
Tresviso Caves Project www.tresvisocaves.info
\
BCRA Grade 5D
\
Data: cave-registry.org.uk/svn/Andara/"
endlayout
layout check
symbol-show point station
debug station-names
endlayout
layout standard
fonts-setup 6 12 16 40 60
legend-width 15 cm
legend off
symbol-colour area water [25 50 100]
symbol-hide group sections
symbol-hide line section
symbol-hide point section
### index of file options from _layouts.mp
copy custom_snow
copy custom_entrance
copy custom_water_blue
copy custom_legend_large_format_5U
copy custom_scalebar
### index of file options from _globallayouts.thc
copy global_symbols
copy global_color
statistics topo off
# Survey totals without the 1974 schematics (Survex esperanza2026, Dec 2026 register)
code tex-map
\cavelength={1696 m}
\cavedepth={44 m}
endcode
doc-author "Tresviso Caves Project"
doc-keywords "Minas Esperanza Aurelia Minas de Mazarrasa Andara Picos de Europa Spain"
doc-subject "Survey of Minas Esperanza and Aurelia, Minas de Mazarrasa 2026"
doc-title "Minas Esperanza, Minas de Mazarrasa - Tresviso Caves Project 2026"
endlayout
layout kml
colour-model rgb
colour map-fg [90 0 0]
endlayout