[R-sig-Geo] Subset SpatialGridDataFrame by retrieving xy coordinates from bounding box

Nathalie Morin Nathalie.M.Morin at usherbrooke.ca
Tue Oct 16 20:27:25 CEST 2012


Rolf,

I converted my raster from SpatialGridDataFrame to SpatialPointsDataFrame,
then to Spatial Point Pattern in spatstat :

tls.dtm.SPDF <- SpatialPointsDataFrame(xy.sp, z.df)
tls.dtm.spp <- as(tls.dtm.SPDF, "ppp")

But what method do you suggest next for subsetting the spp ?

Nathalie



--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Subset-SpatialGridDataFrame-by-retrieving-xy-coordinates-from-bounding-box-tp7581286p7581303.html
Sent from the R-sig-geo mailing list archive at Nabble.com.



More information about the R-sig-Geo mailing list