[R-sig-Geo] Early version of gdalUtils (GDAL Utility Wrappers) now on R-forge

Jonathan Greenberg jgrn at illinois.edu
Sun Oct 20 18:32:40 CEST 2013


For MODIS users (which was, in many ways, the main reason to develop
this package -- Matteo is also one of the developers of the modis
package, incidentally), take a look at:
?get_subdatasets
for use with ?gdal_translate via the sd_index parameter (this is a
value-added parameter, not one that came with the command-line
gdal_translate).

I haven't tested these yet with HDF5 and NetCDF files but, in theory,
they should work since they use the same subdataset naming scheme
(SUBDATASET_n_NAME, where n is the value to pass to sd_index).

As a small note, as requested by a user who contacted me, I added
gdal_rasterize and gdaldem to the list of ported functions last night
(version 0.0.6 or later).  Again, if anyone has a GDAL function they'd
REALLY like to see ported ASAP, kick me an email -- it only takes
about 10-20 minutes to port/document each function at this point (we
wrote some helper functions to build the wrappers).  We'll eventually
get through all of them, but not in the next week.

We'd like to push the initial version to CRAN in a week or so, so let
us know ASAP if there are any bugs!  In particular, we'd really like
to know if our GDAL installation search tool is working (if you have
GDAL installed on your local system, this should search out the latest
version and use it, without you having to do anything).

--j

On Sat, Oct 19, 2013 at 11:16 PM, steven mosher <moshersteven at gmail.com> wrote:
>  Thanks so much for this, I'd managed to rework the runGDAL code from R
> Modis  so that I could work with Glass Albedo
> http://glcf.umd.edu/data/abd/  but it was just an ugly hack, worked, but
> ugly. Looking forward to the package.
>
>
> On Sat, Oct 19, 2013 at 8:08 AM, Jonathan Greenberg <jgrn at illinois.edu>
> wrote:
>>
>> r-sig-geo'ers:
>>
>> I wanted to draw your attention to the initial release of gdalUtils at:
>> install.packages("gdalUtils", repos="http://R-Forge.R-project.org")
>>
>> (https://r-forge.r-project.org/R/?group_id=1695)
>>
>> Matteo Mattiuzzi and I have been working to provide R wrappers for all
>> gdal utility programs.  Right now, we have gdal_translate, gdalinfo,
>> gdalwarp, and gdalsrsinfo completed.
>>
>> This package uses an *already-installed* GDAL on your system.  You
>> will need to install one before using this package.  gdalUtils will
>> search for your GDAL installation the first time you run it.
>>
>> In the case of Windows boxes, this package provides an easy way to
>> work with HDF4/5 files if you have had issues with this previously.
>>
>> For GDAL installations, check out:
>> http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries
>>
>> Note that the latest QGIS release
>> (http://www.qgis.org/en/site/forusers/download.html) provides, as far
>> as I know, the most up-to-date GDAL binaries for Windows boxes that
>> also support HDF files.
>>
>> For Macs, we recommend William Kyngesburye's GDAL Complete Framework:
>> http://www.kyngchaos.com/software:frameworks
>>
>> This is not designed to be a replacement for rgdal in any way, rather,
>> provides direct access to the various GDAL utility programs
>> (http://gdal.org/gdal_utilities.html).
>>
>> Please let us know if you have any suggestions/bug reports.  While we
>> will eventually wrap all of the utility programs up, but if there is
>> one you would like us to prioritize, let us know that as well!
>>
>> --jonathan
>>
>> --
>> Jonathan A. Greenberg, PhD
>> Assistant Professor
>> Global Environmental Analysis and Remote Sensing (GEARS) Laboratory
>> Department of Geography and Geographic Information Science
>> University of Illinois at Urbana-Champaign
>> 259 Computing Applications Building, MC-150
>> 605 East Springfield Avenue
>> Champaign, IL  61820-6371
>> Phone: 217-300-1924
>> http://www.geog.illinois.edu/~jgrn/
>> AIM: jgrn307, MSN: jgrn307 at hotmail.com, Gchat: jgrn307, Skype: jgrn3007
>>
>> _______________________________________________
>> R-sig-Geo mailing list
>> R-sig-Geo at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
>



-- 
Jonathan A. Greenberg, PhD
Assistant Professor
Global Environmental Analysis and Remote Sensing (GEARS) Laboratory
Department of Geography and Geographic Information Science
University of Illinois at Urbana-Champaign
259 Computing Applications Building, MC-150
605 East Springfield Avenue
Champaign, IL  61820-6371
Phone: 217-300-1924
http://www.geog.illinois.edu/~jgrn/
AIM: jgrn307, MSN: jgrn307 at hotmail.com, Gchat: jgrn307, Skype: jgrn3007



More information about the R-sig-Geo mailing list