[GRASS5] [bug #2691] (grass) r.out.ascii parameter width doesn't work

this bug's URL: http://intevation.de/rt/webrt?serial_num=2691
-------------------------------------------------------------------------

Subject: r.out.ascii parameter width doesn't work

Platform: GNU/Linux/i386
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: CVS checked out 20041101

Hi,

I tried to use the width parameter in r.out.ascii
width = Number of values printed before wrapping a line

but this feature doesn't work.

  Otto

-------------------------------------------- Managed by Request Tracker

Request Tracker wrote:

this bug's URL: http://intevation.de/rt/webrt?serial_num=2691

Subject: r.out.ascii parameter width doesn't work

I tried to use the width parameter in r.out.ascii
width = Number of values printed before wrapping a line

but this feature doesn't work.

The width= option is only used when writing SURFER or MODFLOW format
(-s/-M switches); the GRASS format always writes one text row per map
row.

If that's intentional, it should be more clearly documented.

--
Glynn Clements <glynn@gclements.plus.com>

On Mon, Nov 15, 2004 at 12:12:52PM +0000, Glynn Clements wrote:

Request Tracker wrote:

> this bug's URL: http://intevation.de/rt/webrt?serial_num=2691

> Subject: r.out.ascii parameter width doesn't work

> I tried to use the width parameter in r.out.ascii
> width = Number of values printed before wrapping a line
>
> but this feature doesn't work.

The width= option is only used when writing SURFER or MODFLOW format
(-s/-M switches); the GRASS format always writes one text row per map
row.

If that's intentional, it should be more clearly documented.

In GRASS 5.7-CVS:
I have changed the width parm documentation to reflect the "limitation".
Also changed -M to -m for consistency.

Markus