[R-sig-Geo] creating a geotiff
Roger Bivand
Roger.Bivand at nhh.no
Thu Aug 13 18:14:21 CEST 2009
On Thu, 13 Aug 2009, Monica Pisica wrote:
>
> Hi,
>
> I have some data as it is required for the function "image" {graphics},
> that means a vector x for x coord, a vector y for y coord and a matrix m
> with x rows and y cols. I want to save this as a geotiff. If i
> transform my data to take the form of a 3 column data.frame i can use
> gridded and writeGDAL to obtain my geotiff, but sincerely it seems a
> little silly to do that. Is there any other way in doing it??? I've
> tried to transform this data in one of the sp objects but .... i was not
> able to. Any ideas??
Use image2Grid() in sp, contributed by Mike Sumner for exactly this
situation.
Roger
>
> Thanks for all the help,
>
> Monica
>
>
> _________________________________________________________________
> Get back to school stuff for them and cashback for you.
>
> B_BackToSchool_Cashback_BTSCashback_1x1
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no
More information about the R-sig-Geo
mailing list