[R-sig-Geo] Using gdalUtils to reproject hdf file

2017-04-28 Thread Zhang Tianyi
Dear all, I am now working with GEFED dataset, which is a global wild file dataset.You can download one from FTP: fuoco.geog.umd.edu; Login name: fire; Password: burnt; The file is stored into gfed4/monthly/. Any one file will be example. My task is to translate the hdf file into tif, which

Re: [R-sig-Geo] sp::disaggregate() does not seem to add the necessary "comment" attribute to identify holes if Polygons does not contain exactly 1 polygon with 0 or 1 holes

2017-04-28 Thread Anne C. Hanna
Roger, This looks great, and I will try it out ASAP. I do have one reservation though --- it seems you are using createSPComment() to reconstruct the comments, and I have seen some discussion that that may not be reliable in all cases (e.g. if the initial polygons are wonky in some way). I

Re: [R-sig-Geo] sp::disaggregate() does not seem to add the necessary "comment" attribute to identify holes if Polygons does not contain exactly 1 polygon with 0 or 1 holes

2017-04-28 Thread Roger Bivand
I've pushed the fix to my fork: https://github.com/rsbivand/sp and created a pull request: https://github.com/edzer/sp/pull/28 Only one part of a complicated set if nested if() in disaggregate() was adding comments, but in some settings the existing comments survived the disaggregation. Now

[R-sig-Geo] patial distribution of the ecological niche of cowpea,

2017-04-28 Thread Soufianou Abou via R-sig-Geo
I want to model the spatial distribution of the ecological niche of cowpea, I have a set of data (environmental variables and bioclimatic) and data of presence of the varieties of cowpea.I wanted to use the software Maxent for do it; But I understood through the literature that the R software

Re: [R-sig-Geo] modélisation de la distribution spatiale du niébé

2017-04-28 Thread Bede-Fazekas Ákos
Cher Sadda, vous avez écrit que "J'ai voulu utilisé le logiciel Maxent pour le faire; mais j'ai compris à travers la littérature que le logiciel R est de nos jours largement utilisé.", mais vous pouvez utiliser MaxEnt via le logiciel R: install.packages("dismo") library(dismo) m <- maxent(x =

[R-sig-Geo] modélisation de la distribution spatiale du niébé

2017-04-28 Thread Soufianou Abou via R-sig-Geo
Bonsoir chers, j'aimerai modéliser la distribution spatiale de la niche écologique du niébé , je dispose d'un jeu de données (variables environnementales et bioclimatiques) et des données de présence des variétés du niébé.J'ai voulu utilisé le logiciel Maxent pour le faire; mais j'ai compris à

[R-sig-Geo] Extracting a single grid cell from a SpatialGrid keeping the grid structure

2017-04-28 Thread Martin Ivanov
Hello, I would like to extract a single grid cell from a SpatialGrid or a SpatialGridDataFrame object without destroying the grid structure, that is, the resulting object must be  a SpatialGrid or a SpatialGridDataFrame consisting of a single grid cell. Here is a minimum working example: