Skip to content
Prev 7602 / 29559 Next

Reversed raster after readGDAL()

On Wed, 10 Feb 2010, Agustin Lobo wrote:

            
Sorry, can't find such a posting - maybe my search keys were wrong - you 
could try the nabble archive.
No, it is 345.0078, 194.0195.
SW in R is 424389, 4635822
or SW cell centre 424561.5, 4635919.0 which is the SW corner plus 0.5* the 
resolution.

Try:

GDALinfo(system.file("pictures/cea.tif", package = "rgdal")[1])
system(paste("gdalinfo", system.file("pictures/cea.tif", package =
   "rgdal")[1]))

to see the oddness of gdalinfo on your raster. The SW (LL) corner is north 
of the NW (UL) one. The provided raster is OK, so I guess one might think 
that yours isn't?
How is the plugin writing the GTiff?

Roger