Skip to main content
added 44 characters in body
Source Link
gisol
  • 560
  • 1
  • 6
  • 17

I have a set of geocoded, pixel-aligned rasters which I would like to use in a model in R. I would like to produce a table of data that can be imported to R, in which there are as many columns as rasters, and as many rows as pixelspoints at which data is extracted from the rasters. Say I have 3 rasters: r1, r2, r3. I would end up with a table that has r1, r2, r3 as the column headers. The rows would be point1, point2, point3 - and there would be as many rows as points in the layer used to define which points to extract data from. Forgive the bad table:

------r1---r2---r3

point1-1----4---2

point2-4----3---1

How can I do this? I've tried some Arc tools but they have failed or hung. I can use QGIS, Arc or Idrisi.

Is the Raster package for R a good approach?

I have a set of geocoded, pixel-aligned rasters which I would like to use in a model in R. I would like to produce a table of data that can be imported to R, in which there are as many columns as rasters, and as many rows as pixels.

How can I do this? I've tried some Arc tools but they have failed or hung. I can use QGIS, Arc or Idrisi.

Is the Raster package for R a good approach?

I have a set of geocoded, pixel-aligned rasters which I would like to use in a model in R. I would like to produce a table of data that can be imported to R, in which there are as many columns as rasters, and as many rows as points at which data is extracted from the rasters. Say I have 3 rasters: r1, r2, r3. I would end up with a table that has r1, r2, r3 as the column headers. The rows would be point1, point2, point3 - and there would be as many rows as points in the layer used to define which points to extract data from. Forgive the bad table:

------r1---r2---r3

point1-1----4---2

point2-4----3---1

How can I do this? I've tried some Arc tools but they have failed or hung. I can use QGIS, Arc or Idrisi.

Is the Raster package for R a good approach?

Source Link
gisol
  • 560
  • 1
  • 6
  • 17

Go from multiple rasters to R compatible table

I have a set of geocoded, pixel-aligned rasters which I would like to use in a model in R. I would like to produce a table of data that can be imported to R, in which there are as many columns as rasters, and as many rows as pixels.

How can I do this? I've tried some Arc tools but they have failed or hung. I can use QGIS, Arc or Idrisi.

Is the Raster package for R a good approach?