[GRASS-user] output r.out.ascii
Moritz Lennert
mlennert at club.worldonline.be
Mon Dec 15 10:41:56 EST 2008
On 11/12/08 03:20, Hamish wrote:
> Hufkens Koen wrote:
>> I'm trying to use r.out.ascii to dump a map (or better
>> a masked part of it) to stdout. I would then use sed to
>> clean up the data so I'm only left with the pixel values
>> and no spatial information (don't need it).
>
> in newer versions of grass try r.out.xyz, e.g.
>
> r.out.xyz fields | cut -f3 -d'|'
>
> for older grass versions use "r.stats -1gn"
Pure curiosity: Any reason not to use this anymore in newer grass version ?
Moritz
More information about the grass-user
mailing list