Re: [R-sig-Geo] Cleaning small spatial polygons

2015-11-05 Thread Roger Bivand
On Wed, 4 Nov 2015, Roger Bivand wrote: On Wed, 4 Nov 2015, Eduardo Diez wrote: Is there any way of doing this or should i forget it and go on using GRASS through rgrass7? I suggest working with Emmanuel Blondel (cleangeo maintainer) to extend cleangeo (also suggested in an earlier

Re: [R-sig-Geo] gUnaryUnion Not Dissolving Correctly

2015-11-05 Thread Roger Bivand
On Thu, 5 Nov 2015, Roger Bivand wrote: On Wed, 4 Nov 2015, Matt Strimas-Mackey wrote: The original study area shapefile is a boundary of the Indonesia half of New Guinea. The file as well as the code to construct the hexagonal grids are here:

Re: [R-sig-Geo] How to perform cross-year date operations on rasters?

2015-11-05 Thread Dominik Schneider
Could you use water years for your dates? so Oct-Sep is the same year and then subset based on month and water year. On Thu, Nov 5, 2015 at 11:17 AM, Thiago V. dos Santos < thi_vel...@yahoo.com.br> wrote: > Thanks for your input Michael. With slight modifications on your > suggestion, I almost

Re: [R-sig-Geo] How to perform cross-year date operations on rasters?

2015-11-05 Thread Thiago V. dos Santos
Thanks for your input Michael. With slight modifications on your suggestion, I almost got there: library(raster) library(zoo) # Create a rasterStack similar to cmip5 - same dimensions and layer names r <- raster(ncol=180, nrow=90) s <- stack(lapply(1:1825, function(x) setValues(r,

Re: [R-sig-Geo] gUnaryUnion Not Dissolving Correctly

2015-11-05 Thread Matt Strimas-Mackey
Thanks for explaining this in such detail! I have a greater appreciation for the importance of thinking about these topological issues and for the role machine precision plays. I constructed a series of simple examples to demonstrate to myself how these sorts of problems arise and how setScale,

[R-sig-Geo] clusterR + rasterToPoints

2015-11-05 Thread Guillermo E. Ponce-Campos
Is it possible to take advantage of multi-cores with function rasterToPoints for converting a stack of several rasters into a x,y,z data frame ? Thanks, Guillermo [[alternative HTML version deleted]] ___ R-sig-Geo mailing list