Details Ticket 844


Comment | Reply | Take | Open


Serial Number 844
Subject cheated by r.contour
Area none
Queue grass
Requestors jidanni@yahoo.com.tw
Owner none
Status resolved
Last User Contact Fri Nov 16 20:27:51 2001 (7 yr ago)
Current Priority 70
Final Priority 70
Due No date assigned
Last Action Sat Nov 17 20:19:48 2001 (7 yr ago)
Created Fri Nov 16 16:39:49 2001 (7 yr ago)

Transaction History Ticket 844


Fri, Nov 16 2001 16:39:49    Request created by jidanni@yahoo.com.tw  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Resent-Message-Id <200111161539.fAGFdiv29631@thuille.itc.it.>
To Markus Neteler <neteler@itc.it>
Subject cheated by r.contour
From Dan Jacobson <jidanni@yam.com.tw>
Reply-To jidanni@yahoo.com.tw
Date 16 Nov 2001 22:27:26 +0800
Message-ID <m2elmy23ld.fsf@Mdan.jacobson.tw>
User-Agent Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Resent-From neteler@itc.it
Resent-Date Fri, 16 Nov 2001 16:39:44 +0100
Resent-To grass-bugs@intevation.de
$ r.contour

OPTION:   Name of an existing raster map
     key: input
required: YES

Enter the name of an existing raster file
Enter 'list' for a list of existing raster files
Hit RETURN to cancel request
> topo
<topo>

OPTION:   List of contour levels
     key: levels
required: NO
multiple: YES
enter option > 

OPTION:   Minimum contour level
     key: minlevel
required: NO <<<<<<<<<<<<<<<<<<<<<<see, it says NO
enter option > 

OPTION:   Maximum contour level
     key: maxlevel
required: NO
enter option > 

OPTION:   Increment between contour levels
     key: step
required: NO
enter option > 

OPTION:   Minimum number of points for a contour line (0 -> no limit)
     key: cut
 default: 0
required: NO
enter option > 

OPTION:   Name of output vector file
     key: output
required: YES
enter option > contour

You have chosen:
  output=contour
Is this correct? (y/n) [y] y

FLAG: Set the following flag?
    Suppress progress report & min/max information?(y/n) [n] 

FLAG: Set the following flag?
    Suppress single crossing error messages?(y/n) [n] 
Reading data.
Percent complete:  100%
FPRange of data:    min =  40.000000 max = 278.000000
ERROR: Minimum parameters not set. <<<<<<<<<<<<<<<<<but it said it wasn't required
Either a step or a list of levels must be specified
ERROR:
1grass$ 


Fri, Nov 16 2001 18:36:39    Priority changed to 70 by mneteler  
Fri, Nov 16 2001 19:28:28    Mail sent by glynn.clements@virgin.net  
Return-Path <glynn.clements@virgin.net>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn.clements@virgin.net>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <15349.19181.299022.231727@cerise.nosuchdomain.co.uk>
Date Fri, 16 Nov 2001 17:20:45 +0000
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #844] (grass) cheated by r.contour
In-Reply-To <20011116153949.C64E013A10@lists.intevation.de>
References <20011116153949.C64E013A10@lists.intevation.de>
X-Mailer VM 6.94 under 21.4 (patch 4) "Artificial Intelligence (candidate #1)" XEmacs Lucid
Request Tracker wrote:

> $ r.contour
> 
> OPTION:   Name of an existing raster map
>      key: input
> required: YES
> 
> Enter the name of an existing raster file
> Enter 'list' for a list of existing raster files
> Hit RETURN to cancel request
> > topo
> <topo>
> 
> OPTION:   List of contour levels
>      key: levels
> required: NO
> multiple: YES
> enter option > 
> 
> OPTION:   Minimum contour level
>      key: minlevel
> required: NO <<<<<<<<<<<<<<<<<<<<<<see, it says NO
> enter option > 

Yes; but this isn't what it's complaining about.

> OPTION:   Maximum contour level
>      key: maxlevel
> required: NO
> enter option > 
> 
> OPTION:   Increment between contour levels
>      key: step
> required: NO
> enter option > 
> 
> OPTION:   Minimum number of points for a contour line (0 -> no limit)
>      key: cut
>  default: 0
> required: NO
> enter option > 
> 
> OPTION:   Name of output vector file
>      key: output
> required: YES
> enter option > contour
> 
> You have chosen:
>   output=contour
> Is this correct? (y/n) [y] y
> 
> FLAG: Set the following flag?
>     Suppress progress report & min/max information?(y/n) [n] 
> 
> FLAG: Set the following flag?
>     Suppress single crossing error messages?(y/n) [n] 
> Reading data.
> Percent complete:  100%
> FPRange of data:    min =  40.000000 max = 278.000000
> ERROR: Minimum parameters not set. <<<<<<<<<<<<<<<<<but it said it wasn't required
> Either a step or a list of levels must be specified

It isn't saying that the "minimum" parameter is required. It's saying
that you haven't provided enough parameters. Saying "Insufficent
parameters" may have been clearer.

How about:

	ERROR: neither "levels" nor "step" parameter specified.

?

-- 
Glynn Clements <glynn.clements@virgin.net>


Fri, Nov 16 2001 20:27:51    Mail sent by hmitaso@unity.ncsu.edu  
Return-Path <hmitaso@unity.ncsu.edu>
Delivered-To grass-bugs@lists.intevation.de
Sender helena@rz.Uni-Osnabrueck.DE
Message-ID <3BF55C59.A03B28A9@unity.ncsu.edu>
Date Fri, 16 Nov 2001 12:35:05 -0600
From Helena <hmitaso@unity.ncsu.edu>
Organization NCSU
X-Mailer Mozilla 4.73 [en] (X11; U; Linux 2.2.16-3 i686)
X-Accept-Language en
MIME-Version 1.0
To Glynn Clements <glynn.clements@virgin.net>
Cc Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
Subject Re: [GRASS5] [bug #844] (grass) cheated by r.contour
References <20011116153949.C64E013A10@lists.intevation.de> <15349.19181.299022.231727@cerise.nosuchdomain.co.uk>
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Glynn Clements wrote:

> Request Tracker wrote:
>
> > $ r.contour
> >
> > OPTION:   Name of an existing raster map
> >      key: input
> > required: YES
> >
> > Enter the name of an existing raster file
> > Enter 'list' for a list of existing raster files
> > Hit RETURN to cancel request
> > > topo
> > <topo>
> >
> > OPTION:   List of contour levels
> >      key: levels
> > required: NO
> > multiple: YES
> > enter option >
> >
> > OPTION:   Minimum contour level
> >      key: minlevel
> > required: NO <<<<<<<<<<<<<<<<<<<<<<see, it says NO
> > enter option >
>
> Yes; but this isn't what it's complaining about.
>
> > OPTION:   Maximum contour level
> >      key: maxlevel
> > required: NO
> > enter option >
> >
> > OPTION:   Increment between contour levels
> >      key: step
> > required: NO
> > enter option >
> >
> > OPTION:   Minimum number of points for a contour line (0 -> no limit)
> >      key: cut
> >  default: 0
> > required: NO
> > enter option >
> >
> > OPTION:   Name of output vector file
> >      key: output
> > required: YES
> > enter option > contour
> >
> > You have chosen:
> >   output=contour
> > Is this correct? (y/n) [y] y
> >
> > FLAG: Set the following flag?
> >     Suppress progress report & min/max information?(y/n) [n]
> >
> > FLAG: Set the following flag?
> >     Suppress single crossing error messages?(y/n) [n]
> > Reading data.
> > Percent complete:  100%
> > FPRange of data:    min =  40.000000 max = 278.000000
> > ERROR: Minimum parameters not set. <<<<<<<<<<<<<<<<<but it said it wasn't
required
> > Either a step or a list of levels must be specified
>
> It isn't saying that the "minimum" parameter is required. It's saying
> that you haven't provided enough parameters. Saying "Insufficent
> parameters" may have been clearer.
>
> How about:
>
>         ERROR: neither "levels" nor "step" parameter specified.

Glynn, you could change the error message although that may still not satisfy
some users - in GRASS there are probably more programs with parameters like this
and it was assumed that user reads the manual (or at least thinks), so this isn't
really
a bug. The clean solution would be that if no parameters are given, but the name
of
output
file is given the program gives warning that sufficient parameters were not set
and runs some default output, in this case
it can draw ten contours between minimum and max values.

But this really is not of great priority, unless it is an easy thing to do. It
is not
too difficult
for any thinking person to figure out that he needs to give some info on which
contours
to draw.

Helena

>
>
> ?
>
> --
> Glynn Clements <glynn.clements@virgin.net>
> _______________________________________________
> grass5 mailing list
> grass5@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5


Sat, Nov 17 2001 20:19:48    Status changed to resolved by gclements  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request