encoding  utf-8
source NorthernLine.th
# Change name to the main therion file


#Surveys to output
#-----------------

select NorthernLinePlan@NorthernLine



#export map -proj plan -layout local -o NorthernLineOutput/NorthernLine.pdf
#export map -o NorthernLineOutput/NorthernLine.kml
export model -fmt survex -cs EPSG:27700 -o NorthernLineOutput/NorthernLine.3d
#export model  -o NorthernLineOutput/NorthernLine.lox
#export map -proj plan -o NorthernLineOutput/NorthernLine_Walls.3d
#Survex file showing walls only



####################layout Local###################
###########################################

####Uncomment (#) to activate or deactivate layout comands as needed####
####Any line with a # at the begining will be ignored####


layout local
base-scale 1 200
scale 1 500
symbol-set BCRA
#debug station-names
#debug on

#colour map-fg altitude
#colour map-fg scrap
#colour map-fg [97 86 38] ##Pale Yellow##
#colour map-bg [90 90 90] ##Light Grey##

north grid
  #grid top
  #grid bottom
  #grid-size 10 10 10 m
  #grid-coords all #border  ####Puts grid coords on intersections or at border if that is selected####
  
  #rotate -90
  # map-header 5 5 sw
  #legend on
  #transparency on

#symbol-colour area water [25 50 100]            ##Blue##
#symbol-colour area sump [10 10 100]             ##Lighter Blue##
#symbol-colour area flowstone [20 20 20]        ##  ##
#symbol-colour line water-flow [22 22 95]        ##Light Blue##
#symbol-colour point water-flow  [22 22 95]     ##Light Blue##
#symbol-colour point station [0 0 0] 
#symbol-colour group centerline [100 0 0]          ##Red##

#symbol-hide group centerline             # 1. Hides all centerline and survey station symbols in cave.
#symbol-hide point cave-station          # 2. Hides all survey stations in the cave but not centerline.                                                         
                                 
#symbol-hide group cave-centreline

####Add Topo Date to map####
####-------------------------------------------

#code tex-map
#/topodate {25 October 2017}
#endcode


 ####CODE TO PUT BORDER AROUND MAP####
####------------------------------------------------------------

#layout layoutMapBorder
#code tex-map
  #\framethickness=0.5mm
#endlayout #LayoutMapBorder


###############OVERIDES##############

##Overide Therion Map Header Data###
####-------------------------------------------------

####This adds a second and third line of text in the map header.####
####-------------------------------------------------------------------------------------

##Change the cave details in the { } to what you want##

#code tex-map
#\cavename={Tom Taylors Cave\medskip \size[30] How Stean Gorge\medskip \size[30]North Yorkshire}  
#endcode


####This adds a comment on the map####
####-----------------------------------------------------

#map-comment "How Stean Gorge"


####Overide cave length and depth automatically shown on map header to remove surface leg data etc####
####-----------------------------------------------------------------------------------------

#code tex-map
    #\topoteam{BSD}           ##Change team details in the { } to what you want##
    #\cavelength{164m}      ##Change numbers in the { } to what you want##
   #\cavedepth{12m}
#endcode

endlayout