d.rast3d 973 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #!/bin/sh
  2. #
  3. ############################################################################
  4. #
  5. # MODULE: d.rast3d
  6. #
  7. # AUTHOR(S): Martin Landa <landa.martin gmail.com>
  8. #
  9. # PURPOSE: Wrapper for wxGUI -- add 3d raster map layer into layer tree
  10. #
  11. # COPYRIGHT: (C) 2008 by the GRASS Development Team
  12. #
  13. # This program is free software under the GNU General Public
  14. # License (>=v2). Read the file COPYING that comes with GRASS
  15. # for details.
  16. #
  17. #############################################################################
  18. #%Module
  19. #% description: Displays 3d raster data in the active frame on the graphics monitor.
  20. #% keywords: display, raster3d
  21. #%End
  22. #%option
  23. #% key: map
  24. #% type: string
  25. #% gisprompt: old,grid3,3d-raster
  26. #% description: 3D raster map to be displayed
  27. #% required : yes
  28. #%END
  29. if [ -z "$GISBASE" ] ; then
  30. echo "You must be in GRASS GIS to run this program." >&2
  31. exit 1
  32. fi
  33. if [ "$1" != "@ARGS_PARSED@" ] ; then
  34. exec g.parser "$0" "$@"
  35. fi
  36. exit 0