Displaying 5 results from an estimated 5 matches for "getrasterdata".
2010 Sep 24
2
Reading in .aux (ESRI raster files) into R
...;))
Error in
readAsciiGrid("F:/GIS.LandcoverEuropeForRisk/Sept10kmmaps/Sp10KPointID.aux")
:
object 'cellsize' not found
My original data in Arc GIS is have a cell size an i'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(&q...
2004 Jan 22
0
help on rgdal package
...DriverLongName(getDriver(x))
[1] "USGS Optional ASCII DEM"
> saveDataset(x,"xxx.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
2008 Aug 10
0
possible problem with rgdal
...0
columns 660
bands 1
ll.x -55.5
ll.y -14.5
res.x 0.008333334
res.y 0.008333334
oblique.x 0
oblique.y 0
driver GTiff
projection +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs
file dummy.tif
> nrow(a)
[1] 420
> ncol(a)
[1] 660
> dummy = getRasterData(a)
> nrow(dummy)
[1] 660
> ncol(dummy)
[1] 420
> test = matrix(0, nrow=420, ncol=660)
> putRasterData(a,test)
Error in putRasterData(a, test) :
GDAL Error 5: Access window out of range in RasterIO(). Requested
(0,0) of size 420x660 on raster of 660x420.
Also, it appears that the l...
2008 Jan 11
2
clipping a large image on R
Dear all,
I have a so large image (43,000 x 18,000 pixels) and I need clip this image with a smallest one (1000x1000 pixels). I can read the second image using rgdal package. But the first image canĀ“t be read on my system because if memory limitation (I have about 2GB availabe).
So I would like hear from you if anyone have some suggestin in this regards. I have also ArcGis 8.6 ans Erdas 8.3
2005 Nov 21
3
PNG-import into R
Hi there
I'm looking for a function to read PNG-bitmap-images from a file into R.
I only found:
- the pixmap-package which cannot import png or similar formats
- the rimage-package which can only import lossy jpeg-images (the
convertion from png to jpeg modifies the data!)
Is there any possibility to read PNG-files?
Thanks for any help
Dominic Sydler