34

Visualization of the Kilueau Mapset

After the registration process, it is possible to explore your mapset with the use of several of the GRASS commands and the SG3d program.
   SGI Irix 7% grass4.1
   
  GRASS 4.1
  
  LOCATION: This is the name of an available geographic location.
  -spearfish is the sample data base for which all tutorials are
  written.
  
  MAPSET:   Every GRASS session runs under the name of a MAPSET.
  Associated with each MAPSET is a rectangular COORDINATE REGION
  and a list
  of any new maps created.
  
  DATABASE: This is the unix directory containing the geographic
  databases The REGION defaults to the entire area of the chosen
  LOCATION.
  
  You may change it later with the command: g.region
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  - - - -
  
  LOCATION: kil.tutor.xy__(enter list for a list of locations)
  MAPSET:   schwehr_______(or mapsets within a location)
  DATABASE: /home/schwehr/grass/data__________________________
  AFTER COMPLETING ALL ANSWERS, HIT <ESC> TO CONTINUE
            (OR <Ctrl-C> TO CANCEL)
  
  list
  ________
  Available locations:
  ----------------------
  den.utm.z12    kil.tutor.tar       mars.tutor.xy denver.aea.2
  kil.tutor.xy   spearfish           denver.in.1
  denver.ll      kill.dan.xy         kil.sample.xy.tar.Z
  mars.in.xy
  ----------------------
  Hit RETURN -->
  
  GRASS 4.1
  
  LOCATION: This is the name of an available geographic location.
  -spearfishis the sample data base for which all tutorials are
  written.
  
  MAPSET:   Every GRASS session runs under the name of a MAPSET.
  Associated with each MAPSET is a rectangular COORDINATE REGION
  and a list
  of any new maps created.
  
  DATABASE: This is the unix directory containing the geographic
  databases The REGION defaults to the entire area of the chosen
  LOCATION.
  
  You may change it later with the command: g.region
  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  - - - -
  LOCATION: kil.tutor.xy_____(enter list for a list of locations)
  MAPSET:   schwehr_______(or mapsets within a location)
  DATABASE: /home/schwehr/grass/data__________________________
  
  AFTER COMPLETING ALL ANSWERS, HIT <ESC> TO CONTINUE
            (OR <Ctrl-C> TO CANCEL)
  
  
  Welcome to GRASS 4.1 (Spring 1993) Update package 4
  Geographical Resources Analysis Support Systems (GRASS) is a
  Trademark of U.S. Army Construction Engineering Research
  Laboratories (USACERL)
  New releases of GRASS are coordinated and produced by the Office
  of GRASS Integration (OGI) located at USACERL, and incorporate
  software contributions from numerous sources
  This version running thru the C Shell (/bin/csh)
  Help is available with the command: g.help
  When ready to quit enter:             exit
  
   GRASS 4.1 > g.list rast
   
  ---------------------------------------------
  raster files available in mapset schwehr: kildem    skil12n2
  skil12n4  skil12n7
  ----------------------------------------------
If the Iris window is already running type:
   
   GRASS  4.1 > d.mon unlock=iris
   GRASS  4.1 > d.mon sel=iris
Otherwise type:
   
   GRASS  4.1 > d.mon start=iris
Continue with :
   
   GRASS  4.1 >
   GRASS  4.1 > d.frame -e
   GRASS  4.1 > slide.show.sh mapset=schwehr
   GRASS  4.1 > slide.show.sh help
   
  Unrecognized option: help
  Options: across=#maps_across down=#_maps_down Defaults:
       across =   4
       down   =   3
   
   GRASS  4.1 > slide.show.sh across=2 down=2 mapset=schwehr
Figure 9: slide.show.gif:

   GRASS  4.1 > setenv DISPLAY machine name:0
   GRASS  4.1 > SG3d
   
  OPTION:   Raster file for Elevation
            key: elevation
  required: YES
  
  Enter the name of an existing Raster file Enter 'list' for a
  list of existing Raster files
  Hit RETURN to cancel request
  > list
  
  <list>
  ---------------------------------------------
  Raster files available in mapset schwehr: kildem    skil12n2
  skil12n4  skil12n7
  ----------------------------------------------
  
  Enter the name of an existing Raster file
  Enter 'list' for a list of existing Raster files Hit RETURN to
  cancel request
  > kildem
  <kildem>
  OPTION:   Raster file(s) for Color (1 or 3 files) key: color
  required: YES
  multiple: YES
  
  Enter the name of an existing Raster file
  Enter 'list' for a list of existing Raster files
  Hit RETURN to cancel request
  > skil12n2
  <skil12n2>
  Enter the name of an existing Raster file
  Enter 'list' for a list of existing Raster files
  Hit RETURN to accept the default
  >
  <>
  OPTION:   Vector overlay file
            key: vector
  required: NO
  
  Enter the name of an existing Vector file
  Enter 'list' for a list of existing Vector files
  Hit RETURN to cancel request
  >
  <>
  
  OPTION:   3D viewing parameters
            key: 3dview
  required: NO
  Enter the name of an existing 3dview file
  Enter 'list' for a list of existing 3dview files
  Hit RETURN to cancel request
  >
  <>
  OPTION:   Sites overlay file
            key: sites
  required: NO
  
  Enter the name of an existing Sites file
  Enter 'list' for a list of existing Sites files
  Hit RETURN to cancel request
  >
  <>
  OPTION:   Raster file for site category color key: scolor
  required: NO
  
  Enter the name of an existing Raster file
  Enter 'list' for a list of existing Raster files
  Hit RETURN to cancel request
  >
  OPTION:   Automatically run script file
            key: script
  required: NO
  enter option >
  FLAG: Set the following flag?
  Enable writing to script files?(y/n) [n]
  FLAG: Set the following flag?
       Use site category as Z value?(y/n) [n] Initial load of
  data:  Loading data:  Done. elevation range: 3165.000000 to
  4097.000000 Done.
  recalculating normals...100
   
   GRASS 4.1 > SG3d

First you will see a wire frame representation of the topography as in Figure3: SG3d.1.gif:

Click on the draw button to see a rendered version that looks like figure10: SG3d.2.gif:

To finish, click on the `quit' button to exit back to GRASS.

Now we'll merge together three image bands. The first will be red, the second green, and the third green. This will give the impression of 'color' from the images.

  
  OPTION:   Raster file for Elevation
       key: elevation
  required: YES
  Enter the name of an existing Raster file
  Enter 'list' for a list of existing Raster files
  Hit RETURN to cancel request
  > list
  
  <list>
  ---------------------------------------------
  Raster files available in mapset schwehr: kildem    skil12n2
  skil12n4  skil12n7
  ----------------------------------------------
  
  Enter the name of an existing Raster file
  Enter 'list' for a list of existing Raster files
  Hit RETURN to cancel request
  > kildem
  <kildem>
  OPTION:   Raster file(s) for Color (1 or 3 files) key: color
  required: YES
  multiple: YES
  Enter the name of an existing Raster file
  Enter 'list' for a list of existing Raster files
   Hit RETURN to cancel request
  > skil12n2
  <skil12n2>
  
  Enter the name of an existing Raster file
  Enter 'list' for a list of existing Raster files
  Hit RETURN to accept the default
  > skil12n4
  <skil12n4>
  
  Enter the name of an existing Raster file
  Enter 'list' for a list of existing Raster files
  Hit RETURN to accept the default
  > skil12n7
  <skil12n7>
  
  Enter the name of an existing Raster file
  Enter 'list' for a list of existing Raster files
  Hit RETURN to accept the default
  >
  <>
  OPTION:   Vector overlay file
       key: vector
  required: NO
  Enter the name of an existing Vector file
  Enter 'list' for a list of existing Vector files
  Hit RETURN to cancel request
  >
  <>
  OPTION:   3D viewing parameters
            key: 3dview
  required: NO
  Enter the name of an existing 3dview file
  Enter 'list' for a list of existing 3dview files
  Hit RETURN to cancel request
  >
  <>
  OPTION:   Sites overlay file
            key: sites
  required: NO
  Enter the name of an existing Sites file
  Enter 'list' for a list of existing Sites files
  Hit RETURN to cancel request
  >
  
  OPTION:   Raster file for site category color key: scolor
  required: NO
  Enter the name of an existing Raster file
  Enter 'list' for a list of existing Raster files
  Hit RETURN to cancel request
  >
  <>
  OPTION:   Automatically run script file
            key: script
  required: NO
  enter option >
  FLAG: Set the following flag?
  Enable writing to script files?(y/n) [n]
  FLAG: Set the following flag?
       Use site category as Z value?(y/n) [n] Initial load of
  data:  Loading data:  Done. elevation range: 3165.000000 to
  4097.000000 Done.

  See 12: SG3d.3.gif:



  recalculating normals...100
  recalculating normals...100 200 300 recalculating normals...100
  recalculating normals...100 200 300 recalculating normals...100
  LEFT MOUSE BUTTON to mark center of scale ESCAPE key to cancel
  <scale set>
  LEFT MOUSE BUTTON to mark center of scale ESCAPE key to cancel
  <scale set>
  LEFT MOUSE BUTTON to mark first letter of label ESCAPE key to
  cancel
  <label set>
  LEFT MOUSE BUTTON to mark first letter of label
  ESCAPE key to cancel
  <label set>
  LEFT MOUSE BUTTON to mark first letter of label ESCAPE key to
  cancel
  <label set>
  LEFT MOUSE BUTTON to mark first letter of label ESCAPE key to
  cancel
  <label set>
  LEFT MOUSE BUTTON to mark first letter of label ESCAPE key to
  cancel
  <label set>
   
   :
   \GRASS 4.1 > exit
   
  GRASS 4.1 >
  
  GRASS SESSION WRAPUP
  You have just finished working on mapset: <schwehr>
  The following RASTER maps belong to it:
   kildem    skil12n2  skil12n4  skil12n7
  There are no VECTOR maps in this mapset
  There are no SITES maps in this mapset
  Shall the mapset <schwehr> be saved? y/n [y]
  Do you wish to selectively remove data files? y/n [n]
  GOOD BYE from GRASS
  SGI Irix 8% exit
  SGI Irix 9% logout
The output: Figure 4: SG3d.final.gif:
[Prev] [Next]
Email to:
Kurt Schwehr schwehr@cs.stanford.edu -- Dan Delgado renata@eos.arc.nasa.gov

Tree Kurt's Homepage