Re: [R-sig-Geo] Attach metadata to raster object

2013-12-06 Thread Bastien Ferland-Raymond
Hello Étienne, I'm a little disappointed nobody replied to your question, as this is something I'm also interested in. The slot you are proposing to add metadata to raster* object could also be useful to allow categorical raster, something the raster package do not do. I think it would be great

Re: [R-sig-Geo] Attach metadata to raster object

2013-12-06 Thread Tom Philippi
Bastien-- I'm not sure what you need that isn't already available in the raster package. Have you looked at the ratify() function in raster? It sets up a RAT (raster attribute table) to make a raster object a factor, with integers in the raster, which may be what you need. I use it for thematic

Re: [R-sig-Geo] Attach metadata to raster object

2013-12-06 Thread Josh O'Brien
Bastien Ferland-Raymond wrote Hello Étienne, I'm a little disappointed nobody replied to your question, as this is something I'm also interested in. The slot you are proposing to add metadata to raster* object could also be useful to allow categorical raster, something the raster package

Re: [R-sig-Geo] Attach metadata to raster object

2013-12-06 Thread Bastien Ferland-Raymond
Thanks Tom and Josh, I'll take a look at ratify, it looks like exactly what I was looking for. The raster package is great! :) I love R so much... Bastien -- View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Attach-metadata-to-raster-object-tp7585254p7585296.html Sent