Mosaic rasters


PurposeThis tool creates a raster dataset from multiple raster datasets.

How to use

If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.

  1. Run the application. For details on the parameters see the Additional information.
  2. If you have additional rasters to mosaic (up to a total of 4 for this sample) specify them as -i parameters.
  3. A mosaic of raster inputs will be generated.

Additional information

The following are the input parameters:
 
  • -p [path to input raster workspace] (e.g. -p "c:\path\to"), PATH_TO_INPUT_RASTERS in Makefile
  • -i [name of the first input raster] (e.g. -i raster1), INPUT_1 in Makefile
  • -i [name of the second input raster] (e.g. -i raster2), INPUT_2 in Makefile
  • -f [GRID | TIFF | IMAGINE] (e.g. -f GRID), OUTPUT_FORMAT in Makefile
  • -o [name of the resulting raster mosaic] (e.g. -o outraster), OUTPUT_NAME in Makefile


MosaicRaster.cpp Implementation file
MosaicRaster.h Header file
LicenseUtilities.cpp Implementation file
LicenseUtilities.h Header file
Makefile.Solaris Solaris Makefile
Makefile.Linux Linux Makefile
Makefile.Windows Windows Makefile
Download the CPP files

Download the files for all languages




Development licensing Deployment licensing
Engine Developer Kit Engine Runtime