[R-sig-Geo] Question about geoTIFF

Pascal Oettli kridox at ymail.com
Tue Mar 19 09:34:24 CET 2013


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
>



More information about the R-sig-Geo mailing list