mosaic_tiles: Mosaic raster tiles

Description Usage Arguments Details Value See Also

Description

This function can be used to mosaic the NED tiles downloaded from nationalmap.gov

Usage

1
mosaic_tiles(dir_tiles, chunksize = 10L, fname_grid_ned, format, ...)

Arguments

dir_tiles

A character string. The path to the directory where the folders of each tile are stored on disk.

chunksize

An integer value. The number of tiles that are mosaic-ed per function call.

fname_grid_ned

A character string. The path with file name (with or without file extension) of the final NED raster.

format

A character string or missing. The file type. For possible values see raster::writeFormats.

...

Additional arguments for writing raster files to disk as in raster::writeRaster.

Details

If 'fname_grid_ned' already exists and agree with origin, resolution, and coordinate reference system with the tiles, then tiles are added instead of creating a new raster object.

Value

A RasterLayer object stored on disk as fname_grid_ned

See Also

This function calls raster::mosaic


dschlaep/ecotoner documentation built on May 15, 2019, 2:57 p.m.