doubt with readGDAL
On Sun, 4 Oct 2009, Jos? Manuel Blanco Moreno wrote:
Thank you very much for the info, and excuse my confusion: I have copied and pasted different chunks of code while trying both the ascii file and the geotiff, which can be obtained with: download.file(url='http://srtm.geog.kcl.ac.uk/portal/srtm41/srtm_data_geotiff/srtm_37_04.zip',destfile='srtm_37_04_tif.zip') However, I get exactly the same problem with both files when I set up the output.dim argument.
Fixed rgdal submitted to CRAN, should appear soon. There was a similar problem in the Eastings - in both cases the offset was being multiplied by the decimated (coarser) cell resolution rather than by the appropriate value. The offset is now rescaled by the degree of decimation. Roger
Jos? M.
Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43 e-mail: Roger.Bivand at nhh.no