Re: [R-sig-Geo] Error reading hdf files with rgdal

2017-01-13 Thread Kelly McCaffrey
Here are the startup messages and the sessionInfo() output: > library(raster) Loading required package: sp > library(rgdal) rgdal: version: 1.2-5, (SVN revision 648) Geospatial Data Abstraction Library extensions to R successfully loaded Loaded GDAL runtime: GDAL 2.0.1, released 2015/09/15

Re: [R-sig-Geo] Error reading hdf files with rgdal

2017-01-13 Thread Roger Bivand
Please provide the output of the startup messages from the loaded packages, and of sessionInfo(). Roger Bivand Norwegian School of Economics Bergen, Norway Fra: Kelly McCaffrey Sendt: fredag 13. januar, 20.51 Emne: [R-sig-Geo] Error reading hdf files with rgdal Til: R-sig-geo mailing list

[R-sig-Geo] Error reading hdf files with rgdal

2017-01-13 Thread Kelly McCaffrey
Hello all, I'm working with some .hdf files containing MODIS satellite data, but I have been unable to read them into R using rgdal and gdalUtils since the last rgdal update. Has anyone else experienced these issues and does anyone have a suggested fix? The code I'm attempting to use and error

Re: [R-sig-Geo] MODIS package released to CRAN

2017-01-13 Thread Forrest Stevens
Great stuff to finally see it make it! Well done to all involved! On Fri, Jan 13, 2017 at 8:24 AM Matteo Mattiuzzi wrote: > Dear list, > > > We would like to announce the release of the MODIS package to CRAN. This > was finally possible thanks to the constant efforts of

Re: [R-sig-Geo] Elevation data

2017-01-13 Thread Miluji Sb
Dear Loic, Thank you for your reply! Re. aggregation, I agree - I will use either mean or median. gcp_grid are points as below structure(list(longitude = c(-179L, -178L, -177L, -177L, -177L, -176L), latitude = c(-15L, -15L, -14L, 51L, 52L, -22L)), .Names = c("longitude", "latitude"), row.names

Re: [R-sig-Geo] Elevation data

2017-01-13 Thread Loïc Dutrieux
On 13/01/2017 10:59, Miluji Sb wrote: > Thank you for your reply. This is what I did: > > ### > library(data.table) > library(raster) > library(rgdal) > library(foreign) > > elevation_world <- getData('worldclim', var='alt', res=2.5) > > # Aggregate Elevation to 1 degree >

[R-sig-Geo] MODIS package released to CRAN

2017-01-13 Thread Matteo Mattiuzzi
Dear list, We would like to announce the release of the MODIS package to CRAN. This was finally possible thanks to the constant efforts of Florian Detsch, whom I would like to say thank you! Some months ago we decided to move the development from R-Forge to GitHub and we are thankful for any

Re: [R-sig-Geo] shortestPath in a loop

2017-01-13 Thread marta azores
Thanks for your quick reply to my question, This ten points are ordered by time (date + time), and I know ,the points are all connected. I didn't include the column with the time in this example, to make it simple. After read your messages, I was looking the minimum spanning tree for the

Re: [R-sig-Geo] Elevation data

2017-01-13 Thread Miluji Sb
Thank you for your reply. This is what I did: ### library(data.table) library(raster) library(rgdal) library(foreign) elevation_world <- getData('worldclim', var='alt', res=2.5) # Aggregate Elevation to 1 degree elevation_world_1deg <- aggregate(elevation_world, fact = 24, fun = sum) # Extract

Re: [R-sig-Geo] sp::spDists*

2017-01-13 Thread Edzer Pebesma
A new version of gstat, fixing the same bug, is now also on CRAN. On 09/01/17 11:39, Roger Bivand wrote: > New versions of spdep and spgwr fixing the same bug are now on CRAN. > > Roger > > On Thu, 8 Dec 2016, Edzer Pebesma wrote: > >> While building support for geosphere distance functions in