encoding utf-8
source Marniosa-Agua-relationship.th
#select ../../../Marniosa/therion/MarniosaMasterPlan@MarniosaMaster
export map -layout local -o SobraValley_UrdonGorge_Master_Caves.pdf
#export model -o marniosaagua150merr.3d
# input the various layouts
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
statistics topo off
statistics topo-length off
symbol-hide point label
symbol-hide line label
symbol-hide line arrow
symbol-hide point gradient
scale 1 1000
base-scale 1 1500
map-header 10 13 w
map-image 20 15 n ..\..\..\..\XTherionFiles\TCP.png
#map-image 76 65 s ..\..\..\..\XTherionFiles\Overlays\Sobra_Urdon_Overlay_2021_2.jpg
#fonts-setup 6 12 16 40 60
fonts-setup 4 5 7 8 11
grid bottom
grid-size 200 200 200 m
scale-bar 200 m
color map-fg altitude
color-legend off
### 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
##HIDE LENGTH AND DEPTH
code tex-map
\cavelength={} %empty
\cavedepth={} %empty
\legendcontent={%
\hsize=\legendwidth
\ifnortharrow\vbox to 0pt{\line{\hfil\northarrow}\vss}\fi
\edef\tmp{\the\cavename} \ifx\tmp\empty \else
{\size[60]\the\cavename} \vskip1cm
\fi
\ifscalebar\scalebar\vskip1cm\fi
{\rightskip=0pt plus 3em\parskip=3bp
\edef\tmp{\the\comment} \ifx\tmp\empty \else
{\size[12]\the\comment} \par\medskip
\fi
\everypar{\hangindent=2em\hangafter=1}
\edef\tmp{\the\cavelength} \ifx\tmp\empty \else
{\size[12]\si\the\cavelengthtitle: \ss\the\cavelength\par}
\fi
\edef\tmp{\the\cavedepth} \ifx\tmp\empty \else
{\size[12]\si\the\cavedepthtitle: \ss\the\cavedepth\par}
\fi
\edef\tmp{\the\exploteam} \ifx\tmp\empty \else
{\size[12]\si\the\explotitle:
\ss\the\exploteam\quad\si\the\explodate\par}
\fi
\edef\tmp{\the\topoteam} \ifx\tmp\empty \else
{\size[12]\si\the\topotitle: \ss\the\topoteam\quad\si\the\topodate\par}
\fi
\edef\tmp{\the\cartoteam} \ifx\tmp\empty \else
{\size[12]\si\the\cartotitle:
\ss\the\cartoteam\quad\si\the\cartodate\par}
\fi
\edef\tmp{\the\copyrights} \ifx\tmp\empty \else
{\size[12]\ss\the\copyrights\par}
\fi
}
\formattedlegend
}
endcode
map-comment "Tresviso Caves Project www.tresvisocaves.info
BCRA Grade 5
Data: cave-registry.org.uk/svn/Andara/"
doc-author "Phil Walker"
doc-keywords "Cueva del Nacimiento - Cueva de la Marniosa Relationship Cantabria Spain"
doc-subject "Survey of Cueva del Nacimiento 2020"
doc-title "Cueva del Nacimiento Survey Tresviso Caves Project 2020"
endlayout