encoding  utf-8

source scorpions 

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


export map -projection extended -o ./topos/g_scorpions_coupe.pdf 
#-layout water-blue

export map -projection plan -o ./topos/g_scorpions_plan.pdf 
#-layout water-blue 

#export map -o ./topos/g_huttes_plan.xvi -layout-scale 1 39.5

#export map -projection extended -o ./topos/g_huttes_coupe.xvi -layout-scale 1 39.5

# kml
export model -o ./topos/g_scorpions.kml

# shapefile (esri)
export model -o ./topos/g_scorpions -format esri  

# 3D loch ceci sert a faire la 3D
export model -o ./topos/g_scorpions.lox

# export SQL
export database -o ./sql/g_scorpions.sql
