encoding  utf-8
cs EPSG:27572 ## Lambert II
input Layouts/LayoutTopoXav.thconfig

source HierleGeneral.th
#source Cartes/SaintLaurentGeneral.th 
####source Cartes/SaintLaurent_MasDuPre_Carte.th
source Cartes/SaintLaurentPousNaduel.th
#source Cartes/PousNaduel_PhotoAerienneCadastreHydro.th


select Hierle_plan

layout map_layout
  copy LayoutTopoXav
  #sketches on
  symbol-hide line survey
  symbol-hide line section
  symbol-hide point section
  symbol-hide point section
  symbol-hide point altitude
  symbol-hide line gradient
  symbol-hide line contour
  symbol-hide line flowstone
  symbol-hide line rock-edge
  symbol-hide line rock-border
  symbol-hide line border
  symbol-hide point label
  symbol-hide point stalactite
  symbol-hide point soda-straw
  symbol-hide point stalagmite
  symbol-hide point air-draught
  symbol-hide point sand
  symbol-hide point pebbles
  symbol-hide point root
  symbol-hide point clay
  symbol-hide point archeo-material
  symbol-hide point debris
  symbol-hide point breakdown-choke
  
  symbol-hide area pebbles
  symbol-hide area water
  symbol-hide area sand
  
  symbol-show line survey
  symbol-hide point station
  
  cs EPSG:27572 ## Lambert II
  

  #rotate 30 
# debug on

# debug station-names

  overlap 11 cm  #this add the empty border around the map
  #map-header-bg on #this add the white color under header
  north true
  scale 1 5000
  base-scale 1 1000 
  units metric 


  color map-fg altitude
  #color map-fg 60  #90 is too light

  #grid bottom
  #grid-size 100 100 10 m
  ## putt coords on the border of the grid
  #grid-coords border # [border/all]

  
  transparency on
  opacity 100
  language fr
  
  legend off
  #statistics topo all
  #statistics explo all
  #statistics carto all
  #statistics copyright all
  map-header 110 50 s
  #header off
#  layers off

  surface bottom 
  #surface-opacity 80
  
    code tex-map
    \def\maplayout{
    \legendbox{78}{31}{NW}{}}
  endcode
endlayout



#export map -fmt xvi -o Topos/HierleGeneral.xvi -layout xvi-export 
#export atlas -o Topos/HierleGeneral.pdf -layout atlas_layout
export map   -o Topos/HierleGeneral.pdf   -layout map_layout -fmt pdf
# export map   -o Topos/HierleGeneral.svg   -layout map_layout -fmt svg
export model -o Topos/HierleGeneral.lox
export model -fmt survex -o Topos/HierleGeneral.3d


export map -o Topos/HierleGeneral.dxf   -layout map_layout -fmt dxf
export map -o Topos/HierleGeneral.esri   -layout map_layout -fmt esri


export model -o Topos/HierleGeneral3D.dxf  -fmt dxf 

#!CAVE LIST EXPORT

export cave-list -o Topos/Coordonnees.html  -location on
