encoding  utf-8

source survey/Cabanelles 

layout coupe
  doc-author "P. Vernant"
  map-header 80 1 sw
endlayout

layout plan
  doc-author "P. Vernant"
  map-header 100 100 nw
  symbol-show line survey
  symbol-show point station
  debug station-names
endlayout

layout water-blue
# doc-author "P. Vernant"
#  map-header 100 100 nw
  language fr
  legend on
  symbol-hide line survey
  code metapost
  def a_water (expr p) =
    T:=identity;
    thfill p withcolor (0.0, 0.5, 1.0);
  enddef;
  def a_ice (expr p) =
    T:=identity;
    thfill p withcolor (0.7, 0.7, 0.9);
  enddef;
  def a_bedrock (expr p) =
    T:=identity;
  #  thfill p withcolor (0.3, 0.3, 0.3);
  thfill p withcolor (0.90, 0.90, 0.90);
  enddef;
  color map-bg 90
  #def p_entrance_UIS (expr P,R,S,A)=
  #U:=(.2u,.5u);
  #T:=identity aligned A rotated R scaled S shifted P;
  #thfill (-.2u,-.5u)--(0,.5u)--(.2u,-.5u)--cycle;
  #enddef;
  #initsymbol("p_entrance_UIS");
#  debug station-names
#  debug scrap-names
  symbol-hide line survey
  symbol-hide point station
  scale 1 500

endlayout



# map and cross-section
export map -projection extended -o ./output/cabanelles_coupe_fil.pdf -layout clean -layout-scale 1 1000
export map -projection plan -o ./output/cabanelles_plan.pdf -layout plan -layout-scale 1 1000


# kml
export model -o ./output/cabanelles.kml

# 3D loch
export model -o ./output/cabanelles3D.lox

# export SQL
export database -o ./output/cabanelles.sql
