[R-sig-Geo] Subset SpatialGridDataFrame by retrieving xy coordinates from bounding box
Nathalie Morin
Nathalie.M.Morin at usherbrooke.ca
Tue Oct 16 20:23:14 CEST 2012
For information, it worked with Robert's suggestions for 1 layer raster with
:
e <- extent(457446, 457506, 5384573, 5384633)
b <- raster(tls.dtm)
bb <- crop(b, e)
# Or
b <- brick(tls.dtm)
b <- raster(b, 1)
bb <- crop(b, e)
Cheers,
Nathalie
--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Subset-SpatialGridDataFrame-by-retrieving-xy-coordinates-from-bounding-box-tp7581286p7581302.html
Sent from the R-sig-geo mailing list archive at Nabble.com.
More information about the R-sig-Geo
mailing list