[GRASS-user] Export multiple files with r.out.arc
Micha Silver
micha at arava.co.il
Thu May 31 09:53:50 PDT 2012
On 05/31/2012 07:44 PM, Micha Silver wrote:
> On 05/31/2012 07:23 PM, Daniel Lee wrote:
>>
>
Ooops, typo error: r.out.arc NOT r.out.asc
> Try like this:
>
> RASTS=`g.mlist rast pat="*fill_mnat*"`
> for r in $RASTS; do
> echo "Processing raster $r"
> g.region rast=$r
> r.out.asc $r out=$r.asc
^^^^^^
> done
>
> Note the backticks (`) in the first line.
> Also, be aware that some software reads the asc header as cell
> *centers* and some as cell *corners*. GRASS outputs each pixel to the
> asc file as cell corners. If you need it as centers, add a '-c' to the
> r.out.asc command.
>
>> This mail was received via Mail-SeCure System.
>>
>>
>> _______________________________________________
>> grass-user mailing list
>> grass-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-user
>>
>> This mail was received via Mail-SeCure System.
>>
>>
>
>
>
> This mail was received via Mail-SeCure System.
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
> This mail was received via Mail-SeCure System.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20120531/2e487ea2/attachment.html>
More information about the grass-user
mailing list