Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
You can use: writeGDAL(x, drivername="AAIGrid", ...) or simply use a ".asc" file extention: writeRaster(x, filename="fileName.asc", ...) See raster::WriteFormats(). --Mel. On 7/24/2016 11:41 AM, Pascal Title wrote: > I am trying to convert some rasters...
Sandeep, You can take a look at the Hydrological R taskview (under section Hydrograph Analysis) https://cran.r-project.org/web/views/Hydrology.html for a list of relevant packages and functions, in particular the vignette for package *HydroTSM*. --Mel...
You could also check into the `pander` package (documented at http://rapporter.github.io/pander/#helper-functions). AFAIK there's no helper function to output SAR/CAR or GWR objects directly, but you might be able to work with `pander...
Hi, I have a data.frame with 100 variables and I have assigned a "label", "units" and "category" attribute to each variable. I would like to reorder the variables in the data.frame by the "category" attributes but can't...
Isaque, check this thread on StackExchange: http://gis.stackexchange.com/questions/177423/r-aggregate-raster-with-mode-function-how-does-it-work --Mel. On 8/26/2016 10:07 PM, Isaque Daniel wrote: > Hi dear all, > > > I need to resample...
Tim, Both `leaflet` and `tmap` currently offer quick interactive visualization of geospatial data in R. Does `mapview` provide different functionality at this point? https://rstudio.github.io/leaflet/ https://cran.r-project.org/web/packages/tmap/vignettes/tmap-nutshell.html...
Interesting problem, it seems the exact approach is given by Fischer, 2003 and is implemented in a C++ CGAL package (see http://stackoverflow.com/questions/9063453/how-to-compute-the-smallest-bounding-sphere-enclosing-other-bounding-spheres). I haven't...
Hi, I'm getting weird results trying to rbind a list of SpatialPolygonsDataFrames with R 3.2.1 and raster 2.5.8. I believe the code below used to merge all 3 country boundaries, but instead I now get...
Maybe create a function that takes a date as input and returns a meteorological season, and pass this function to `zapply(by=fun)`. --Mel. On 8/16/2016 8:38 PM, Thiago V. dos Santos via R-sig-Geo wrote...
In addition, you could also take a look at IIASA global data: http://www.iiasa.ac.at/web/home/research/modelsData/models-tools-data.html --Mel. > > Hi, > About Vegetation can you use the Tree Cover map, develop by Hansen team...
POSTING DATE: JUNE 9, 2011 CLOSING DATE: JUNE 30, 2011, OR UNTIL FILLED The International Food Policy Research Institute (IFPRI) seeks to recruit a Technical Writer into its HarvestChoice team in the Environment and Production Technology Division. This is a...
No self promotion, but in case you're looking for code examples using leaflet plugins (scalebar and minimap) available through `tmap` : http://tools.harvestchoice.org/ar/ (code is linked at the bottom of the page). --Mel. On 7/18/2016...
Edzer, Rolf, Many thanks for the clarification! Just to confirm that Rolf's `do.call()` example works for me using the latest GitHub commit. > m <- lapply(c("TZA", "ETH", "GHA"), function(x) getData("GADM", country=x, level=1)) # with sp...
Marta, Option 1) using CreateSegments() seems to do what you want. Why don't you simply use rgeos::over() or rgeos::gTouches() between your old and new SLDFs to match the index positions of your old attributes to your new...
Chris, Thanks, using `weights=TRUE` to compute the means fixed the problem. Perfect, --Mel. On 10/18/2016 11:10 AM, chris english wrote: > > Mel, > > Looking at detail in cjg.png the northmost missing data island shows > approx 20-25...
Chris, Actually I take that back, using extract() with `weights=TRUE` returned `0` instead of NA values for these problematic coastal admin units. Think I might have to impute them manually. --Mel. On 10/18/2016 2:33 PM, Bacou...
Isaque, If your LandScan raster is at 30m resolution, then best might be to `aggregate()` to as close as 250m (e.g. using `fact=8` or `fact=9` and `fun=modal`), and then use `projectRaster()`: projectRaster(from, to, method="bilinear...
Vijay, `rasterPCA` returns an object of class `rasterPCA` (a list). The actual raster layers (components) can be accessed via its `map` element. See example below. --Mel. library(raster) library(RStoolbox) bio <- getData("worldclim", var="bio", res=10, path="~/WorldClim") # You...
Robert, Great, thanks for pointing `raster::bind()` out as well. Guess I should re-read the vignette periodically! --Mel. On 7/23/2016 5:04 PM, Robert J. Hijmans wrote: > The raster way would be: > > library(raster) > m <- lapply(c...
Tony, I can confirm this seems like an issue with `projectRaster()`. Using `gdalwarp` instead on the same tile seems to work. # Download geoTIFF BS.terra <- curl::curl_download("https://lance.modaps.eosdis.nasa.gov/imagery/subsets/?subset=BeringSea.2016182.terra...
Can't find what you're looking for? Try searching with Google .