Create Raster Dataset (Data Management Tools)
Summary
Creates an empty raster dataset.
Usage
When you create a raster dataset, you are creating an empty location to contain a single raster dataset. You can then mosaic or load raster datasets into this location.
You can save the output to BIL, BIP, BMP, BSQ, CRF, DAT, Esri Grid, GIF, IMG, JPEG, JPEG 2000, PNG, or TIFF format, or any geodatabase raster dataset.
When storing a raster dataset to a JPEG format file, a JPEG 2000 format file, or a geodatabase, you can specify a Compression Type value and a Compression Quality value in the geoprocessing environments.
The GIF format only supports single-band raster datasets.
A raster dataset created in CRF format is expandable. The extent of an expandable CRF dataset is adjusted automatically by other tools that accept CRF as an input, such as the Mosaic, Copy Raster, Clip Rasters, and Resample tools.
An expandable CRF dataset supports multidimensional rasters. An expandable multidimensional raster dataset is created when you add a multidimensional data to an empty raster dataset using the Mosaic tool. You can also define the multidimensional information for an empty raster dataset using ArcPy, as shown in the following example:
Example of how to define the multidimensional information for an empty raster dataset. The definition of the multidimensional raster dataset is based on an existing multidimensional raster, represented by
template.crfin the sample below.import arcpy r = arcpy.Raster(r"\\location_to_a_mdim_raster\template.crf", True) r2 = arcpy.Raster(r"C:\Temp\expandable_mdim.crf") r2.mdinfo = r.mdinfo r2.mdinfoBuilding pyramids improves the display performance of raster datasets.
Calculating statistics allows ArcGIS applications to properly stretch and symbolize raster data for display.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Output Location |
The folder or geodatabase where the raster dataset will be stored. |
Workspace |
|
Raster Dataset Name with Extension |
The name, location, and format for the newly created dataset. When storing the raster dataset in a file format, specify the file extension as follows:
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 format file, a JPEG 2000 format file, a TIFF format file, or a geodatabase, you can specify Compression Type and Compression Quality values in the geoprocessing environments. |
String |
|
Cellsize (Optional) |
The pixel size that will be used for the new raster dataset. |
Double |
|
Pixel Type |
The bit depth (radiometric resolution) of the output raster dataset. If this is not specified, the 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 List of supported sensors help topic to ensure that the format you are using will support the necessary data type.
|
String |
|
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. |
Coordinate System |
|
Number of Bands |
The number of bands of the output raster dataset. |
Long |
|
Configuration Keyword (Optional) |
The storage parameters (configuration) for a file or enterprise geodatabase. Configuration keywords are set up by your database administrator. |
String |
|
Create pyramids (Optional) |
Creates pyramids. For Pyramid Levels, specify a number of -1 or higher. A value of 0 will not create pyramids, and a value of -1 will automatically determine the correct number of pyramid layers to create. Pyramid Resampling Technique defines how the data will be resampled when creating the pyramids.
Pyramid Compression Type defines the method used when compressing the pyramids.
|
Pyramid |
|
Tile size (Optional) |
The size of the tiles. The tile width controls the number of pixels that can be stored 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 that can be stored 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. |
Tile Size |
|
Compression (Optional) |
Specifies the type of compression that will be used to store the raster dataset.
|
Compression |
|
Origin/Pyramid Reference Point (Optional) |
The origination location of the raster pyramid. It is recommended that you specify this point if you plan to build large mosaics in a file geodatabase or enterprise geodatabase, especially if you plan to mosaic them over time (for example, when updating). Set the pyramid reference point at the upper left corner of the 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 updates the parts of the pyramid that do not exist due to the new mosaicked datasets. It is a good practice to set a pyramid reference point so that the 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. |
Point |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
Output Raster Dataset |
The output raster dataset. |
Raster Dataset |
Environments
Compression, Output CONFIG Keyword, Pyramid, Tile Size
Licensing information
- Basic: Yes
- Standard: Yes
- Advanced: Yes