d.rast3d.py 897 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #!/usr/bin/env python
  2. #
  3. ############################################################################
  4. #
  5. # MODULE: d.rast3d
  6. #
  7. # AUTHOR(S): Martin Landa <landa.martin gmail.com>
  8. #
  9. # PURPOSE: Wrapper for wxGUI to add 3D raster map into layer tree
  10. #
  11. # COPYRIGHT: (C) 2008, 2010 by the GRASS Development Team
  12. #
  13. # This program is free software under the GNU General
  14. # Public License (>=v2). Read the file COPYING that
  15. # comes with GRASS for details.
  16. #
  17. #############################################################################
  18. #%module
  19. #% description: Displays a 3D raster map layer.
  20. #% keyword: display
  21. #% keyword: raster3d
  22. #%end
  23. #%option
  24. #% key: map
  25. #% type: string
  26. #% gisprompt: old,grid3,3d-raster
  27. #% description: 3D raster map to be displayed
  28. #% required : yes
  29. #%end
  30. from grass.script import core as grass
  31. if __name__ == "__main__":
  32. options, flags = grass.parser()
  33. main()