Dear all,

I am trying to read a - almost for me - small map on R using rgdal package. 
This image have dimension of 1701x1401 and are stored on native ArcGis GRID 
format. When I see the files sizes, it is less then one megabyte. But 
unfortunately when I try read using readGDAL function it return a memory.size() 
error. I don“t know why it occours, if it is a small map. Below you can see 
GDALinfo(), readGDAL() = with the error, sessionInfo() and memory.size() 
outputs.

Any idea?

Kind regards,

miltinho
Brazil

> GDALinfo('al001_frag')
Closing GDAL dataset handle 0x0134d310...  destroyed ... done.
rows        1701 
columns     1401 
bands       1 
ll.x        0.5 
ll.y        1701.5 
res.x       1 
res.y       1 
oblique.x   0 
oblique.y   0 
driver      AIG 
projection  NA 
file        al001_frag 
> tst<-readGDAL("al001_frag")
al001_frag has GDAL driver AIG 
and has 1701 rows and 1401 columns
Closing GDAL dataset handle 0x020d7c68...  destroyed ... done.
Warning messages:
1: Reached total allocation of 479Mb: see help(memory.size) 
2: Reached total allocation of 479Mb: see help(memory.size) 
 *************************************************
> sessionInfo()
R version 2.5.0 (2007-04-23) 
i386-pc-mingw32 
locale:
LC_COLLATE=English_Jamaica.1252;LC_CTYPE=English_Jamaica.1252;LC_MONETARY=English_Jamaica.1252;LC_NUMERIC=C;LC_TIME=English_Jamaica.1252
attached base packages:
[1] "stats"     "graphics"  "grDevices" "utils"     "datasets"  "methods"  
[7] "base"     
other attached packages:
   rgdal       sp 
"0.5-13" "0.9-14" 
> memory.size()
[1] 218914992


       
____________________________________________________________________________________

http://yahoo.com.br/oqueeuganhocomisso 
        [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to