[GRASS-user] [GRASSLIST:1183] how to rotate raster in GRASS ?
ArcGIS better than GRASS ?? I hope NO!!
Pierluigi De Rosa
sisma66 at tiscali.it
Thu Aug 31 12:48:51 EDT 2006
Yes, unfortunately I have to rotate a DEM for a specifica angle so do a
transposition is not a good method.
I kwon ArcGIS can rotate DEM but I hope this thinks is possible also in
GRASS...
Pierluigi
Alle 18:29, giovedì 31 agosto 2006, Jarek Jasiewicz ha scritto:
> Pierluigi De Rosa napisa?(a):
> > Thanks Jarek for your answer!!
> >
> > Yes I have to rotate a DEM, so I wont to lose the orientation North
> > South... I would to rotate a DEM of a specific angle.
> >
> > R can do it?
> > After importing DEM in R which is the R command to rotate a spatial data
> > frame??
> >
> > Pierluigi
>
> I have did it on that way:
>
>
> DEM imported you will have as SpatialGridDataFrame
> 1) convert it to matrx
>
> matrix=as.matrix(yoDEM)
>
> 2) next transpose it
>
> tmatrix=t(matrix)
>
> 3) see what you have:
>
> image(tmatrix)
>
> that all - convert it to data grame again, or export from srictly from R
>
> but if you want rotate to spacific angle - for example 37 grads hmmm....
>
> this is not a way
>
> mayby try georeference .... but aI'm not sure about result
>
> As I remember ArcView/Info has posibilities to rotate raster during
> georeferencing mayby use it...
>
> regards
>
> Jarek
--
Pierluigi De Rosa
Department of Enviromental & Civil engineering
Faculty of Engineering
Perugia (Italy)
More information about the grass-user
mailing list