[GRASSLIST:1346] Re: r.in.ascii reflection

Markus Neteler neteler at geog.uni-hannover.de
Mon Jan 8 12:19:11 EST 2001


On Mon, Jan 08, 2001 at 09:18:24AM +1100, Gordon Keith wrote:
> I'm using grass5b10 and r.in.ascii to read an raster image generated by 
> another package.
> 
> Unfortunately, this package seems to have written lines in the reverse 
> order from grass so that the northern end of the image appears at the 
> southern end in grass and vice-versa.
> 
> Is there any program in grass to perform raster transformations, such as 
> reflection? or can anyone point to any unix utilities that reverses the 
> line order of an ASCII file?
> 
> Thanks in advance
> 
Hi Gordon,

I think m.flip should do the job:
http://www.geog.uni-hannover.de/grass/gdp/html_grass5/html/m.flip.html

Hope this helps

 Markus




More information about the grass-user mailing list