Skip to content
Prev 2833 / 29559 Next

change projection?

On Thu, 22 Nov 2007, Ingo Holz wrote:

            
SpatialGridDataFrame (SGDF).
You should be able to construct a string to represent this projection 
(which is more likely +proj=lcc than +proj=laea), although I cannot see it 
in the EPSG list as such.
This is a different projection, which means that the regular raster cells 
in the input will become irregular polygons in the output in general, and 
you need to warp from one to the other. You can interpolate to a regular 
grid in the output projection using standard interpolation tools.
proj4string(SGDF) <- CRS("<myprj>")

or if a *.prj file is present, readGDAL() may detect it.

Roger