Skip to content
Prev 16729 / 29559 Next

raster CRS changes on tis own

Your intuition was right. The problem is not present any more with:
Loading required package: rgdal
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 1.9.2, released 2012/10/08
Path to GDAL shared files: /usr/share/gdal/1.9
Loaded PROJ.4 runtime: Rel. 4.8.0, 6 March 2012, [PJ_VERSION: 480]
Path to PROJ.4 shared files: (autodetected)

Changes:
1. GDALinfo(paste(mosdir,"mosaico_envi.dat",sep="/"))
states that the CRS is
+proj=utm +zone=30 +ellps=GRS80 +units=m +no_defs
and not any more
+proj=utm +zone=30 +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs

2. subset() does not change the projection on its own any more:
[1] "+proj=utm +zone=30 +ellps=GRS80 +units=m +no_defs"


I can accept reproducing the R console was not the most readable option,
but linking to the original file was correct: Precisly, one problem
was that R was changing the CRS,
so I could not make an smaller version and gave access to the
original (and external) file, which had a correct hdr as I had
previoulsy checked.
On Tue, Nov 13, 2012 at 8:45 PM, Roger Bivand <Roger.Bivand at nhh.no> wrote:
Agus