Main menu

Pages

Copy Raster, Create Random Raster and Raster Dataset

Copy Raster, Create Random Raster and Raster Dataset Tools

Copy Raster

How to Copy Raster Tool in Arc Toolbox ArcMap ArcGIS??

Copy Raster Tool
Copy Raster

Path to access the tool

:

Copy Raster Tool, Raster Dataset Toolset, Raster Box, Data Management Tools Toolbox

 

Copy Raster

Saves a copy of a raster dataset or converts a mosaic dataset into a single raster dataset.

1.    Input Raster

The raster dataset or mosaic dataset you want to copy.

2.    Output Raster Dataset

The name and format for the raster dataset you are creating.

  1. .bil—Esri BIL
  2. .bip—Esri BIP
  3. .bmp—BMP
  4. .bsq—Esri BSQ
  5. .dat—ENVI DAT
  6. .gif—GIF
  7. .img—ERDAS IMAGINE
  8. .jpg—JPEG
  9. .jp2—JPEG 2000
  10. .png—PNG
  11. .tif—TIFF
  12. No extension for Esri Grid

When storing a raster dataset in a geodatabase, do not add a file extension to the name of the raster dataset.

When storing a raster dataset to a JPEG file, JPEG 2000 file, TIFF file, or geodatabase, you can specify a compression type and compression quality.

3.    Configuration Keyword (optional)

Specifies the storage parameters (configuration) for a geodatabase. Configuration keywords are set up by your database administrator.

4.    Ignore Background Value (optional)

Remove the unwanted values created around the raster data. The value specified will be distinguished from other valuable data in the raster dataset. For example, a value of zero along the raster dataset's borders will be distinguished from zero values within the raster dataset.

The pixel value specified will be set to NoData in the output raster dataset.

For file-based rasters and geodatabase rasters, Ignore Background Value must be set to the same value as NoData for the background value to be ignored. Enterprise and geodatabase rasters will work without this extra step.

5.    NoData Value (optional)

All the pixels with the specified value will be set to NoData in the output raster dataset.

6.    Convert 1 bit data to 8 bit (optional)

Choose whether the input 1-bit raster dataset will be converted to an 8-bit raster dataset. In this conversion, the value 1 in the input raster dataset will be changed to 255 in the output raster dataset. This is useful when importing a 1-bit raster dataset to a geodatabase. One-bit raster datasets have 8-bit pyramid layers when stored in a file system, but in a geodatabase, 1-bit raster datasets can only have 1-bit pyramid layers, which makes the display unpleasant. By converting the data to 8 bit in a geodatabase, the pyramid layers are built as 8 bit instead of 1 bit, resulting in a proper raster dataset in the display.

  1. Unchecked—No conversion will be done. This is the default.
  2. Checked—The input raster will be converted.

7.    Colormap to RGB (optional)

If the input raster dataset has a color map, the output raster dataset can be converted to a three-band output raster dataset. This is useful when mosaicking rasters with different color maps.

  1. Unchecked—No conversion will occur. This is the default.
  2. Checked—The input dataset will be converted.

8.    Pixel Type (optional)

Set the bit depth, or radiometric resolution, of the raster or mosaic dataset. If not defined, it will be taken from the first raster dataset.

  • 1_BIT—A 1-bit unsigned integer. The values can be 0 or 1.
  • 2_BIT—A 2-bit unsigned integer. The values supported can be from 0 to 3.
  • 4_BIT—A 4-bit unsigned integer. The values supported can be from 0 to 15.
  • 8_BIT_UNSIGNED—An unsigned 8-bit data type. The values supported can be from 0 to 255.
  • 8_BIT_SIGNED—A signed 8-bit data type. The values supported can be from -128 to 127.
  • 16_BIT_UNSIGNED—A 16-bit unsigned data type. The values can range from 0 to 65,535.
  • 16_BIT_SIGNED—A 16-bit signed data type. The values can range from -32,768 to 32,767.
  • 32_BIT_UNSIGNED—A 32-bit unsigned data type. The values can range from 0 to 4,294,967,295.
  • 32_BIT_SIGNED—A 32-bit signed data type. The values can range from -2,147,483,648 to 2,147,483,647
  • 32_BIT_FLOAT—A 32-bit data type supporting decimals.
  • 64_BIT—A 64-bit data type supporting decimals.

9.    Scale Pixel Value (optional)

When the output is a different pixel type than the input (such as 16 bit to 8 bit), you can choose to have the values scaled to fit into the new range; otherwise, the values that do not fit into the new pixel range will be discarded.

If scaling up, such as 8 bit to 16 bit, the minimum and maximum of the 8-bit values will be scaled to the minimum and maximum in the 16-bit range. If scaling down, such as 16 bit to 8 bit, the minimum and maximum of the 16-bit values will be scaled to the minimum and maximum in the 8-bit range.

  1. Unchecked—The pixel values will remain the same and will not be scaled. Any values that do not fit within the value range will be discarded. This is the default.
  2. Checked—The pixel values will be scaled to the new pixel type. When you scale your pixel depth, your raster will display the same, but the values will be scaled to the new bit depth that was specified.

10. RGB To Colormap (optional)

Convert an 8-bit, 3-band (RGB) raster dataset to a single-band raster dataset with a color map. This operation suppresses noise that is often found in scanned images and is ideal for screen captures, scanned maps, or scanned documents. This is not recommended for satellite or aerial imagery or thematic raster data.

  1. Unchecked—Do not convert RGB.
  2. Checked—Convert to color map.

This is ideal for screen captures, scanned maps, or scanned documents. This is not recommended for satellite or aerial imagery or thematic raster data.

11. Format (optional)

The output raster format.

  1. TIFF—TIFF format
  2. COG—Cloud Optimized GeoTIFF format
  3. IMAGINE Image—ERDAS IMAGINE
  4. BMP—BMP format
  5. GIF—GIF format
  6. PNG—PNG format
  7. JPEG—JPEG format
  8. JP2—JPEG 2000 format
  9. GRID—Esri Grid format
  10. BIL—Esri BIL format
  11. BSQ—Esri BSQ format
  12. BIP—Esri BIP format
  13. ENVI—ENVI format
  14. CRF—CRF format
  15. MRF—MRF format

Apply Transformation (optional)

Apply the transformation associated with the input raster to the output. The input raster can have a transformation associated with it, that is, not actually saved within the input, such as a world file or as a geometric function.

12. Apply Transformation (optional)

Apply the transformation associated with the input raster to the output. The input raster can have a transformation associated with it, that is, not actually saved within the input, such as a world file or as a geometric function.

  1. Unchecked—Do not apply any associated transformations to the output.
  2. Checked—Apply the associated transformation to the output.

Create Random Raster

How to Create Random Raster Tool in Arc Toolbox ArcMap ArcGIS??
Create Random Raster Tool
Create Random Raster

Path to access the tool

:

Create Random Raster Tool, Raster Dataset Toolset, Raster Box, Data Management Tools Toolbox

 

Create Random Raster

Create a raster dataset of random values with a distribution you can define.

1.    Output Location

Select a folder or geodatabase to store the raster dataset.

2.    Raster Dataset Name with Extension

Specify a name and, where necessary, extension for the output raster dataset.

When storing a raster dataset in a geodatabase, do not add a file extension to the name of the raster dataset.

To store the output as an Esri Grid raster or a raster dataset in a geodatabase, no file extension should be added to the name of the raster dataset. To store the raster dataset in one of the available file raster formats, specify a tif extension to output a TIFF raster, or .img for an ERDAS IMAGINE raster.

When storing your raster dataset to a TIFF file, or a geodatabase raster, you can specify a compression type and compression quality.

3.    Distribution (optional)

Specify the random value distribution method to use.

  1. UNIFORM (Minimum, Maximum)—A uniform distribution with the defined range. The default values are 0.0 for Minimum and 1.0 for Maximum.
  2. INTEGER (Minimum, Maximum)—An integer distribution with the defined range. The default values are 1 for Minimum and 10 for Maximum.
  3. NORMAL (Mean, Standard Deviation)—A normal distribution with a defined Mean and Standard Deviation. The default values are 0.0 for Mean and 1.0 for Standard Deviation.
  4. EXPONENTIAL (Mean)—An exponential distribution with a defined Mean. The default value is 1.0.
  5. POISSON (Mean)—A Poisson distribution with a defined Mean. The default value is 1.0.
  6. GAMMA (Alpha, Beta)—A gamma distribution with a defined Alpha and Beta. The default values are 1.0 for Alpha and 1.0 for Beta.
  7. BINOMIAL (N, Probability)—A binomial distribution with a defined N and Probability. The default values are 10 for N and 0.5 for Probability.
  8. GEOMETRIC (Probability)—A geometric distribution with a defined Probability. The default value is 0.5
  9. NEGATIVE BINOMIAL (r, Probability)—A Pascal distribution with a defined r and Probability. The default values are 10.0 for r and 0.5 for Probability.

To edit the default value, click on the value in the table and type the new value.

To edit the default value, click on the value in the table and type the new value.

4.    Output extent (optional)

Set the extent of the output raster dataset.

5.    Cellsize (optional)

Define the spatial resolution of the output raster dataset.

Create Raster Dataset

How to Create Raster Dataset Tool in Arc Toolbox ArcMap ArcGIS??

Create Raster Dataset Tool
Create Raster Dataset

Path to access the tool

:

Create Raster Dataset Tool, Raster Dataset Toolset, Raster Box, Data Management Tools Toolbox

 

Create Raster Dataset

Creates an empty raster dataset.

1.    Output Location

The output location to store the raster dataset.

2.    Raster Dataset Name with Extension

The name, location and format for the dataset you are creating.

When storing the raster dataset in a file format, you need to specify the file extension:

  1. .bil—Esri BIL
  2. .bip—Esri BI
  3.  .bmp—BMP
  4. .bsq—Esri BSQ
  5. .dat—ENVI DAT
  6. .gif—GIF
  7. .img—ERDAS IMAGIN
  8. .jpg—JPEG
  9. .jp2—JPEG 2000
  10. .png—PNG
  11. .tif—TIFF
  12. .mrf—MRF
  13. .crf—CRF
  14. No extension for Esri Grid

When storing a raster dataset in a geodatabase, do not add a file extension to the name of the raster dataset.

When storing your raster dataset to a JPEG file, a JPEG 2000 file, a TIFF file, or a geodatabase, you can specify a Compression Type and Compression Quality in the geoprocessing Environments.

3.      Cellsize (optional)

The cell size for the new raster dataset.

4.    Pixel Type

The bit-depth (radiometric resolution) of the output raster dataset. If this is not specified, your raster dataset will be created with a default pixel type of 8-bit unsigned integer.

Not all data types are supported by all raster formats. Check the Supported raster dataset file formats help topic to be sure the format you are using will support the data type you need.

  • 1_BIT—A 1-bit unsigned integer. The values can be 0 or 1.
  • 2_BIT—A 2-bit unsigned integer. The values supported can be from 0 to 3.
  • 4_BIT—A 4-bit unsigned integer. The values supported can be from 0 to 15.
  • 8_BIT_UNSIGNED—An unsigned 8-bit data type. The values supported can be from 0 to 255.
  • 8_BIT_SIGNED—A signed 8-bit data type. The values supported can be from -128 to 127.
  • 16_BIT_UNSIGNED—A 16-bit unsigned data type. The values can range from 0 to 65,535.
  • 16_BIT_SIGNED—A 16-bit signed data type. The values can range from -32,768 to 32,767.
  • 32_BIT_UNSIGNED—A 32-bit unsigned data type. The values can range from 0 to 4,294,967,295.
  • 32_BIT_SIGNED—A 32-bit signed data type. The values can range from -2,147,483,648 to 2,147,483,647.
  • 32_BIT_FLOAT—A 32-bit data type supporting decimals.
  • 64_BIT—A 64-bit data type supporting decimals.

5.    Spatial Reference for Raster (optional)

The coordinate system for the output raster dataset.

If this is not specified, the coordinate system set in the environment settings will be used.

6.    Number of Bands

The number of bands that the output raster dataset will have.

7.    Configuration Keyword (optional)

Specifies the storage parameters (configuration) for a file or enterprise geodatabase. Configuration keywords are set up by your database administrator.

8.    Create pyramids (optional)

Creates pyramids.

For Pyramid Levels, specify a number of -1 or higher. A value of 0 will not build any pyramids, and a value of -1 will automatically determine the correct number of pyramid layers to create.

The Pyramid Resampling Technique defines how the data will be resampled when building the pyramids.

  1. NEAREST—Nearest neighbor should be used for nominal data or raster datasets with color maps, such as land-use or pseudo color images.
  2. BILINEAR—Bilinear interpolation is best used with continuous data, such as satellite imagery or aerial photography.
  3. CUBIC—Cubic convolution is best used with continuous data, such as satellite imagery or aerial photography. It is similar to bilinear interpolation; however, it resamples the data using a larger matrix.

  • The Pyramid Compression Type defines the method used when compressing the pyramids.

  1. DEFAULT—This uses the compression that is normally used by the raster dataset format.
  2. LZ77—A lossless compression. The values of the cells in the raster will not be changed.
  3. JPEG—A lossy compression.
  4. NONE—No data compression.

9.    Tile size (optional)

Specifies the size of the tiles.

The tile width controls the number of pixels you can store in each tile. This is specified as a number of pixels in x. The default tile width is 128.

The tile height controls the number of pixels you can store in each tile. This is specified as a number of pixels in y. The default tile height is 128.

Only geodatabases and enterprise geodatabases use tile size.

10. Compression (optional)

Defines the type of compression to store the raster dataset.

  1. LZ77—Lossless compression that preserves all raster cell values.
  2. JPEG—Lossy compression that uses the public JPEG compression algorithm. If you choose JPEG, you can also specify the compression quality. The valid compression quality value ranges are from 0 to 100. This compression can be used for JPEG files and TIFF files.
  3. JPEG 2000—Lossy compression.
  4. PACKBITS—PackBits compression for TIFF files.
  5. LZW—Lossless compression that preserves all raster cell values.
  6. RLE—Run-length encoding for IMG files.
  7. CCITT GROUP 3—Lossless compression for 1-bit data.
  8. CCITT GROUP 4—Lossless compression for 1-bit data.
  9. CCITT (1D)—Lossless compression for 1-bit data.
  10. NONE—No compression will occur. This is the default.

11. Pyramid Reference Point (optional)

The origination location of the raster pyramid. It is recommended that you specify this point if you plan on building large mosaics in a file geodatabase or enterprise geodatabase, especially if you plan on mosaicking to them over time (for example, for updating).

The pyramid reference point should be set to the upper left corner of your raster dataset.

In setting this point for a file geodatabase or enterprise geodatabase, partial pyramiding will be used when updating with a new mosaicked raster dataset. Partial pyramiding updated the parts of the pyramid that do not exist due to the new mosaicked datasets. Therefore, it is good practice to set your pyramid reference point so that your entire raster mosaic will be below and to the right of this point. However, a pyramid reference point should not be set too large either.

Comments

table of contents title