[Raster-commits] r359 - pkg/raster/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Mar 14 09:14:19 CET 2009
Author: rhijmans
Date: 2009-03-14 09:14:19 +0100 (Sat, 14 Mar 2009)
New Revision: 359
Modified:
pkg/raster/R/xyValues.R
Log:
Modified: pkg/raster/R/xyValues.R
===================================================================
--- pkg/raster/R/xyValues.R 2009-03-14 08:06:40 UTC (rev 358)
+++ pkg/raster/R/xyValues.R 2009-03-14 08:14:19 UTC (rev 359)
@@ -53,7 +53,6 @@
stop('xyCoords has wrong dimensions; there should be 2 columns only' )
}
-
if (method == 'bilinear') {
for (i in seq(nlayers(object))) {
r <- asRasterLayer(object, i)
@@ -75,8 +74,7 @@
} else {
stop('invalid method argument. Should be simple or bilinear.')
}
-
- }
+ }
)
More information about the Raster-commits
mailing list