Message-ID: <51482310.90806@ymail.com>
Date: 2013-03-19T08:34:24Z
From: Pascal Oettli
Subject: Question about geoTIFF
In-Reply-To: <C5353251F5B2EB419DBD9D1341E24F3B48BBC1CB@exdb1.ad.skogoglandskap.no>
Hi,
If you use the "raster" package to read the geoTIFF, you can use
"getValues" (whole data) or "extract" (spatial selection).
HTH,
Pascal
On 19/03/13 17:02, Daniel Fl? wrote:
> Hi,
>
> I have downloaded forestry inventory file in geoTIFF format successfully, and the goal is to extract the data of the cells in the geoTIFF file for use in R calculations. So far, I use the raster package to handle the TIFF file (display map etc), but I cannot figure out how to extract the data and store it to a .csv file. Any one that can help?
>
> Thank you.
>
> Daniel Fl?
> PhD Fellow, Forest Health
> The Norwegian Forest and Landscape Institute
> Pb 115, NO-1431 ?s
> Office: (+47) 64 94 90 28
> Mobile: (+47) 91 14 52 74
> Skype: floe.daniel
> -----------------------------------------------------------------
> www.skogoglandskap.no<http://www.skogoglandskap.no/>
> -----------------------------------------------------------------
>
>
> [[alternative HTML version deleted]]
>
>
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>