Re: [R-sig-Geo] ASCII grid file - extracting data after import with readGDAL()

2011-08-26 Thread Michał Kwieciński
Learning about existence of "band1" was what I actually needed. Apart from one bigger spatial econometrics project, I haven't done much work with R yet, so I still lack some knowledge on basic operations - I will try to remember about the names() function next time. I thought the problem would lie

[R-sig-Geo] ASCII grid file - extracting data after import with readGDAL()

2011-08-26 Thread Michał Kwieciński
Hi, I am having difficulty in reading data for further use that is in ASCII grid format (it's the UN population data from http://sedac.ciesin.columbia.edu/gpw). I used readGDAL function which leaves me with SpatialGridDataFrame class object, but apart from creating simple image with map = readGDA