[GRASSLIST:642] Re: how to turn raster

H Bowman hamish_nospam at yahoo.com
Mon Jul 7 08:09:43 EDT 2003


> is it possible to turn a raster-file (or only the display) clockwise
> or  counterclockwise in grass5.0?  


g.region rast=RasterName
r.out.png in=RasterName out=raster.png
pngtopnm raster.png | pnmflip -ccw | pnmtopng > raster_rotated.png
rm raster.png


Hamish




More information about the grass-user mailing list