[GRASS-user] output r.out.ascii

Hufkens Koen koen.hufkens at ua.ac.be
Wed Dec 10 08:11:07 EST 2008


Hi list,

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).

However, If I run something in the lines of:

r.out.ascii -h input=patch output=- null=* | sed 's/*//g' > patch.values.txt

the file still remains a whopping 20mb (the size of the raw data, including all spatial stuff)

I also want to do this for small patches of say 10 pixels of information so this really is overhead.

Any idea how to trim the fat on this one?

Kind regards,
Koen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20081210/6aa05b68/attachment.html


More information about the grass-user mailing list