[GRASS5] [bug #844] (grass) cheated by r.contour

Glynn Clements glynn.clements at virgin.net
Fri Nov 16 12:20:45 EST 2001


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 at virgin.net>



More information about the grass-dev mailing list