[Raster-commits] r232 - pkg/raster/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Feb 2 03:27:34 CET 2009
Author: rhijmans
Date: 2009-02-02 03:27:33 +0100 (Mon, 02 Feb 2009)
New Revision: 232
Modified:
pkg/raster/man/project.Rd
Log:
Modified: pkg/raster/man/project.Rd
===================================================================
--- pkg/raster/man/project.Rd 2009-01-31 15:54:22 UTC (rev 231)
+++ pkg/raster/man/project.Rd 2009-02-02 02:27:33 UTC (rev 232)
@@ -53,16 +53,16 @@
# proj.4 projection description
newproj <- "+proj=lcc +lat_1=48 +lat_2=33 +lon_0=-100"
# this is equivalent to
-newproj2 <- makeProj("lcc", "lat_1=48", "lat_2=33", "lon_0=-100", ellp="WGS84", datum="")
+#newproj2 <- makeProj("lcc", "lat_1=48", "lat_2=33", "lon_0=-100", ellp="WGS84", datum="")
# create a new RasterLayer with a BoundingBox with the new projection
-projras <- projectBbox(r, newproj)
+#projras <- projectBbox(r, newproj)
# Adjust the cell size
-projras <- setRes(projras, 100000)
+#projras <- setRes(projras, 100000)
# project the values of RasterLayer 'r' to the new RasterLayer 'projras'
-projras <- projectRaster(r, projras)
+#projras <- projectRaster(r, projras)
# inverse projection, back to the properties of 'r'
-inverse <- projectRaster(projras, r)
+#inverse <- projectRaster(projras, r)
}
More information about the Raster-commits
mailing list