GRASS Programmer's Manual
6.4.2(2012)
|
00001 #!/usr/bin/env python 00002 # 00003 ############################################################################ 00004 # 00005 # MODULE: d.rast3d 00006 # 00007 # AUTHOR(S): Martin Landa <landa.martin gmail.com> 00008 # 00009 # PURPOSE: Wrapper for wxGUI to add 3D raster map into layer tree 00010 # 00011 # COPYRIGHT: (C) 2008, 2010 by the GRASS Development Team 00012 # 00013 # This program is free software under the GNU General 00014 # Public License (>=v2). Read the file COPYING that 00015 # comes with GRASS for details. 00016 # 00017 ############################################################################# 00018 00019 #%module 00020 #% description: Displays 3D raster map layer. 00021 #% keywords: display, raster3d 00022 #%end 00023 00024 #%option 00025 #% key: map 00026 #% type: string 00027 #% gisprompt: old,grid3,3d-raster 00028 #% description: 3D raster map to be displayed 00029 #% required : yes 00030 #%end 00031 00032 from grass.script import core as grass 00033 00034 if __name__ == "__main__": 00035 options, flags = grass.parser() 00036 main()