[GRASS-SVN] r33710 - grass/trunk/gui/scripts

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Oct 7 02:52:30 EDT 2008


Author: glynn
Date: 2008-10-07 02:52:30 -0400 (Tue, 07 Oct 2008)
New Revision: 33710

Removed:
   grass/trunk/gui/scripts/d.colors.sh
   grass/trunk/gui/scripts/r.colors.rules
   grass/trunk/gui/scripts/r.reclass.file
   grass/trunk/gui/scripts/r.reclass.rules
   grass/trunk/gui/scripts/r.recode.file
   grass/trunk/gui/scripts/r.recode.rules
   grass/trunk/gui/scripts/r.support.sh
Log:
Remove redundant scripts


Deleted: grass/trunk/gui/scripts/d.colors.sh
===================================================================
--- grass/trunk/gui/scripts/d.colors.sh	2008-10-07 06:50:44 UTC (rev 33709)
+++ grass/trunk/gui/scripts/d.colors.sh	2008-10-07 06:52:30 UTC (rev 33710)
@@ -1,38 +0,0 @@
-#!/bin/sh
-#
-############################################################################
-#
-# MODULE:	d.colors.sh for GRASS 6
-# AUTHOR(S):	Michael Barton 
-# PURPOSE:	    Make xterm module d.colors useable from the GUI
-# COPYRIGHT:	(C) 2005 by the GRASS Development Team
-#
-#		This program is free software under the GNU General Public
-#		License (>=v2). Read the file COPYING that comes with GRASS
-#		for details.
-#
-#############################################################################
-
-
-#%Module
-#%  description: d.colors.sh - Interactively modify color table for integer raster map
-#%End
-#%option
-#% key: input
-#% type: string
-#% gisprompt: old,cell,raster
-#% description: Name of raster map with color table to modify
-#% required : yes
-#%end
-
-
-if  [ -z "$GISBASE" ] ; then
- echo "You must be in GRASS GIS to run this program."
- exit 1
-fi   
-
-if [ "$1" != "@ARGS_PARSED@" ] ; then
-  exec g.parser "$0" "$@"
-fi
-
-exec "$GISBASE/etc/grass-xterm-wrapper" -e "$GISBASE/etc/grass-run.sh" d.colors "map=$GIS_OPT_INPUT"

Deleted: grass/trunk/gui/scripts/r.colors.rules
===================================================================
--- grass/trunk/gui/scripts/r.colors.rules	2008-10-07 06:50:44 UTC (rev 33709)
+++ grass/trunk/gui/scripts/r.colors.rules	2008-10-07 06:52:30 UTC (rev 33710)
@@ -1,54 +0,0 @@
-#!/bin/sh
-#
-############################################################################
-#
-# MODULE:	r.colors.rules
-# AUTHOR(S):	Michael Barton, Glynn Clements, Hamish Bowman
-# PURPOSE:	Permit use of color rules in r.colors from GUI
-# COPYRIGHT:	(C) 2004 by the GRASS Development Team
-#
-#		This program is free software under the GNU General Public
-#		License (>=v2). Read the file COPYING that comes with GRASS
-#		for details.
-#
-#############################################################################
-
-
-#%Module
-#%  description: Use rules to set colors for raster map
-#%End
-#%option
-#% key: input
-#% type: string
-#% gisprompt: old,cell,raster
-#% description: Name of raster map for color management
-#% required : yes
-#%end
-#%Option
-#% key: file
-#% type: string
-#% required: no
-#% multiple: no
-#% key_desc: name
-#% description: Name of rules file (if not given user is prompted for interactive entry)
-#% gisprompt: old_file,file,input
-#%End
-
-
-if  [ -z "$GISBASE" ] ; then
-   echo "You must be in GRASS GIS to run this program." 1>&2
-   exit 1
-fi
-
-if [ "$1" != "@ARGS_PARSED@" ] ; then
-   exec g.parser "$0" "$@"
-fi
-
-if [ -n "$GIS_OPT_FILE" ] ; then
-   # get from file
-   exec r.colors "map=$GIS_OPT_MAP" color=rules < "$GIS_OPT_FILE"
-else
-   # manually entered from a xterm
-   exec "$GISBASE/etc/grass-xterm-wrapper" -e "$GISBASE/etc/grass-run.sh" \
-     r.colors "map=$GIS_OPT_INPUT" color=rules
-fi

Deleted: grass/trunk/gui/scripts/r.reclass.file
===================================================================
--- grass/trunk/gui/scripts/r.reclass.file	2008-10-07 06:50:44 UTC (rev 33709)
+++ grass/trunk/gui/scripts/r.reclass.file	2008-10-07 06:52:30 UTC (rev 33710)
@@ -1,52 +0,0 @@
-#!/bin/sh
-#
-############################################################################
-#
-# MODULE:	r.reclass.file for GRASS 6
-# AUTHOR(S):	Michael Barton 
-# PURPOSE:	Permit use of rules in r.reclass from GRASS 6
-# COPYRIGHT:	(C) 2005 by the GRASS Development Team
-#
-#		This program is free software under the GNU General Public
-#		License (>=v2). Read the file COPYING that comes with GRASS
-#		for details.
-#
-#############################################################################
-
-
-#%Module
-#%  description: r.reclass.file - Use ascii rules file to reclassify categories in raster map
-#%End
-#%option
-#% key: input
-#% type: string
-#% gisprompt: old,cell,raster
-#% description: Name of raster map to reclassify
-#% required : yes
-#%end
-#%option
-#% key: output
-#% type: string
-#% gisprompt: new,cell,raster
-#% description: Name of reclassified raster map
-#% required : yes
-#%end
-#%option
-#% key: rules_file
-#% type: string
-#% gisprompt: old_file,file,file
-#% description: ASCII file containing reclassification rules
-#% required : yes
-#%end
-
-
-if  [ -z "$GISBASE" ] ; then
- echo "You must be in GRASS GIS to run this program."
- exit 1
-fi   
-
-if [ "$1" != "@ARGS_PARSED@" ] ; then
-  exec g.parser "$0" "$@"
-fi
-
-eval `exec r.reclass input=$GIS_OPT_INPUT output=$GIS_OPT_OUTPUT < $GIS_OPT_RULES_FILE`

Deleted: grass/trunk/gui/scripts/r.reclass.rules
===================================================================
--- grass/trunk/gui/scripts/r.reclass.rules	2008-10-07 06:50:44 UTC (rev 33709)
+++ grass/trunk/gui/scripts/r.reclass.rules	2008-10-07 06:52:30 UTC (rev 33710)
@@ -1,45 +0,0 @@
-#!/bin/sh
-#
-############################################################################
-#
-# MODULE:	r.colors.rules for GRASS 5.7
-# AUTHOR(S):	Michael Barton
-# PURPOSE:	Permit use of rules in r.reclass from GRASS 5.7
-# COPYRIGHT:	(C) 2004 by the GRASS Development Team
-#
-#		This program is free software under the GNU General Public
-#		License (>=v2). Read the file COPYING that comes with GRASS
-#		for details.
-#
-#############################################################################
-
-
-#%Module
-#%  description: r.reclass.rules - Use rules to reclassify categories in raster map
-#%End
-#%option
-#% key: input
-#% type: string
-#% gisprompt: old,cell,raster
-#% description: Name of raster map to reclassify
-#% required : yes
-#%end
-#%option
-#% key: output
-#% type: string
-#% gisprompt: old,cell,raster
-#% description: Name of reclassified raster map
-#% required : yes
-#%end
-
-
-if  [ -z "$GISBASE" ] ; then
- echo "You must be in GRASS GIS to run this program."
- exit 1
-fi   
-
-if [ "$1" != "@ARGS_PARSED@" ] ; then
-  exec g.parser "$0" "$@"
-fi
-
-exec "$GISBASE/etc/grass-xterm-wrapper" -e "$GISBASE/etc/grass-run.sh" r.reclass "input=$GIS_OPT_INPUT" "output=$GIS_OPT_OUTPUT"

Deleted: grass/trunk/gui/scripts/r.recode.file
===================================================================
--- grass/trunk/gui/scripts/r.recode.file	2008-10-07 06:50:44 UTC (rev 33709)
+++ grass/trunk/gui/scripts/r.recode.file	2008-10-07 06:52:30 UTC (rev 33710)
@@ -1,51 +0,0 @@
-#!/bin/sh
-#
-############################################################################
-#
-# MODULE:	r.recode.file for GRASS 6
-# AUTHOR(S):	Michael Barton 
-# PURPOSE:	Permit use of rules in r.recode from GRASS 6
-# COPYRIGHT:	(C) 2003 by the GRASS Development Team
-#
-#		This program is free software under the GNU General Public
-#		License (>=v2). Read the file COPYING that comes with GRASS
-#		for details.
-#
-#############################################################################
-
-
-#%Module
-#%  description: r.recode.rules - Use ascii rules file to recode categories in raster map
-#%End
-#%option
-#% key: input
-#% type: string
-#% gisprompt: old,cell,raster
-#% description: Name of raster map to recode
-#% required : yes
-#%end
-#%option
-#% key: output
-#% type: string
-#% gisprompt: old,cell,raster
-#% description: Name of recoded raster map
-#% required : yes
-#% end
-#%option
-#% key: rules_file
-#% type: string
-#% gisprompt: old_file,file,file
-#% description: ASCII file containing reclassification rules
-#% required : yes
-#%end
-
-if  [ -z "$GISBASE" ] ; then
- echo "You must be in GRASS GIS to run this program."
- exit 1
-fi   
-
-if [ "$1" != "@ARGS_PARSED@" ] ; then
-  exec g.parser "$0" "$@"
-fi
-
-eval `exec r.recode input=$GIS_OPT_INPUT output=$GIS_OPT_OUTPUT < $GIS_OPT_RULES_FILE` 

Deleted: grass/trunk/gui/scripts/r.recode.rules
===================================================================
--- grass/trunk/gui/scripts/r.recode.rules	2008-10-07 06:50:44 UTC (rev 33709)
+++ grass/trunk/gui/scripts/r.recode.rules	2008-10-07 06:52:30 UTC (rev 33710)
@@ -1,43 +0,0 @@
-#!/bin/sh
-#
-############################################################################
-#
-# MODULE:	r.colors.rules for GRASS 5.7
-# AUTHOR(S):	Michael Barton 
-# PURPOSE:	Permit use of rules in r.recode from GRASS 5.7
-# COPYRIGHT:	(C) 2004 by the GRASS Development Team
-#
-#		This program is free software under the GNU General Public
-#		License (>=v2). Read the file COPYING that comes with GRASS
-#		for details.
-#
-#############################################################################
-
-
-#%Module
-#%  description: r.recode.rules - Use rules to recode categories in raster map
-#%End
-#%option
-#% key: input
-#% type: string
-#% gisprompt: old,cell,raster
-#% description: Name of raster map to recode
-#% required : yes
-#%end
-#%option
-#% key: output
-#% type: string
-#% gisprompt: old,cell,raster
-#% description: Name of recoded raster map
-#% required : yes
-
-if  [ -z "$GISBASE" ] ; then
- echo "You must be in GRASS GIS to run this program."
- exit 1
-fi   
-
-if [ "$1" != "@ARGS_PARSED@" ] ; then
-  exec g.parser "$0" "$@"
-fi
-
-exec "$GISBASE/etc/grass-xterm-wrapper" -e "$GISBASE/etc/grass-run.sh" r.recode "input=$GIS_OPT_INPUT" "output=$GIS_OPT_OUTPUT"

Deleted: grass/trunk/gui/scripts/r.support.sh
===================================================================
--- grass/trunk/gui/scripts/r.support.sh	2008-10-07 06:50:44 UTC (rev 33709)
+++ grass/trunk/gui/scripts/r.support.sh	2008-10-07 06:52:30 UTC (rev 33710)
@@ -1,38 +0,0 @@
-#!/bin/sh
-#
-############################################################################
-#
-# MODULE:	r.support.sh for GRASS 5.7
-# AUTHOR(S):	Michael Barton; 
-# PURPOSE:	Runs r.support from GIS Manager GUI
-# COPYRIGHT:	(C) 2004 by the GRASS Development Team
-#
-#		This program is free software under the GNU General Public
-#		License (>=v2). Read the file COPYING that comes with GRASS
-#		for details.
-#
-#############################################################################
-
-
-#%Module
-#%  description: r.support.sh - Manage raster support files (header, statistics, categories, colors, history, nulls)
-#%End
-#%option
-#% key: input
-#% type: string
-#% gisprompt: old,cell,raster
-#% description: Name of raster map for support file management
-#% required : yes
-#%end
-
-
-if  [ -z "$GISBASE" ] ; then
- echo "You must be in GRASS GIS to run this program."
- exit 1
-fi   
-
-if [ "$1" != "@ARGS_PARSED@" ] ; then
-  exec g.parser "$0" "$@"
-fi
-
-eval `exec "$GISBASE/etc/grass-xterm-wrapper" -e r.support map=$GIS_OPT_INPUT`



More information about the grass-commit mailing list