Skip to content

Problem merging rasters after conversion and reprojection of .hdf file

3 messages · Justin Michell, Jonathan Greenberg

#
Justin:

Couple of comments:

1) In general, I find it easier to mosaic FIRST and then reproject
SECOND -- when you reproject first, mosaic second, you can get weird
issues particularly along the seams.
2) Since you are already using gdalUtils, have you tried
?mosaic_rasters (which will be faster than merge() in all likelihood,
since it uses the base GDAL mosaicking capabilities)?  Make sure
separate=FALSE for this particular application.

--j
On Mon, Apr 28, 2014 at 7:18 AM, Justin Michell <jwm302 at gmail.com> wrote:

  
    
#
Also note you can use ?batch_gdal_translate to do your HDF -> TIF conversions.

--j
On Mon, Apr 28, 2014 at 8:12 AM, Jonathan Greenberg <jgrn at illinois.edu> wrote: