<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>output r.out.ascii</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Hi list,<BR>
<BR>
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).<BR>
<BR>
However, If I run something in the lines of:<BR>
<BR>
r.out.ascii -h input=patch output=- null=* | sed 's/*//g' &gt; patch.values.txt<BR>
<BR>
the file still remains a whopping 20mb (the size of the raw data, including all spatial stuff)<BR>
<BR>
I also want to do this for small patches of say 10 pixels of information so this really is overhead.<BR>
<BR>
Any idea how to trim the fat on this one?<BR>
<BR>
Kind regards,<BR>
Koen</FONT>
</P>

</BODY>
</HTML>