search for: gdalreadonlydataset

Displaying 3 results from an estimated 3 matches for "gdalreadonlydataset".

2010 Sep 24
2
Reading in .aux (ESRI raster files) into R
...;mm curious as to how to make sure all the details are included. I also tried to use Spain10km<-getRasterData("F://RMap//sp10kpointid1", ,band=NULL, offset=c(0,0),region.dim=dim(sp10kpointid1, output.dim=region.dim,interleave=c(0,0),as.is=FALSE)) Error in assertClass(dataset, "GDALReadOnlyDataset") : Object is not a member of class GDALReadOnlyDataset Spain10km <- system.file("F://RMap//sp10kpointid1", package="rgdal") #These lines were used to then try to get it to recognise sp10kpointid1 as a member og the GDALReadOnly Dataset. > x <- new("GDALRe...
2004 Jan 22
0
help on rgdal package
...x.data") Error in .local(.Object, ...) : GDAL Error 6: GDALDriver::Create() ... no create method implemented for this format. Or should the dataset be raster data? Then I get: > rd<-getRasterData(x) > saveDataset(rd,"test.data") Error in .assertClass(dataset, "GDALReadOnlyDataset") : Object is not a member of class GDALReadOnlyDataset Does anybody see what am I doing wrong? Thanks. Hana Sevcikova
2005 Aug 04
3
how to read individual values from a pixmap object
Hi All, I have a greyscale image that I am reading in through RGDAL and placing in a pixmap object. As an example use the logo.jpg file that comes with the RGDAL package: #Read the file logo <- system.file("pictures/logo.jpg", package="rgdal")[1] x <- new("GDALReadOnlyDataset", logo) #Create the pixmap object xGrey <- getPixmapGDAL(x) Now I would like to read individual pixel values and store them in a separate vector. However I have not found a straight-forward way to do this. I thought that something like: x <- xGrey[1,1] would return the pixel va...