encoding  utf-8
source ./survey/fouillac

layout water-blue
  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


# cartographie
export map -projection plan -o ./topos/fouillac_plan.pdf -layout water-blue
export map -projection extended -o ./topos/fouillac_coupe.pdf -layout clean

# SIG
#export map -projection plan  -format esri -o ./sig

# 3D
export model -o ./topos/fouillac.lox
#export model -fmt survex -o ./topos/fouillac.svx
