Skip to content
Prev 15530 / 29559 Next

How to open and work with an .hdf map

Another option is the GDAL tools, if you can deal with the translation
of (potentially) 3+D arrays into GIS-alike raster layers. You'd have
to build your own rgdal with HDF support on Windows (which is hard),
but you can use the GDAL command-line tools that come with an OSGeo4W
installation.

These pages describe the details and usage:

http://www.gdal.org/frmt_hdf4.html
http://www.gdal.org/frmt_hdf5.html

A default gdal_translate will produce a GeoTIFF which can be read
directly by rgdal::readGDAL or raster::raster.

I will try your file if I can.

Cheers, Mike.
On Fri, Jul 6, 2012 at 8:39 PM, Matthew Landis <landis at isciences.com> wrote: