The name specified for the output raster determines the format in which the raster output is created. The following specifies the format of each output raster:
- If no extension is specified in the output name, the raster is typically formatted with the ESRI grid raster.
- If the location you specify is a geodatabase, an output raster is created with this specific type of geodatabase (personal, file, or ArcSDE).
- If the name has an. img extension, the output raster will be in the ERDAS IMAGINE format.
- If the name has a. tif extension, the output raster will be in TIFF format.
If you need other formats (such as BIL or JP2), you must first create an output in one of the above formats. Then, use the copy raster or raster to other format tool to convert this output to another format.
Name Restrictions
Some names and characters are usually not allowed in the output raster name.
- To avoid problems with the English character set, we recommend restricting the name to only letters (A to Z, A to Z), numbers (0 to 9), underscores (_), and hyphens (-). The plus sign (+) is also allowed, but is generally not recommended.
- The special characters that are explicitly forbidden are as follows:
- (space) (open parenthesis)
- \ (backslash)) (Close parenthesis)
- , (comma) {(open brace)
- ~ (tilde)} (Close brace)
- ' (single quote) [(open bracket)
"(double quote)] (close bracket)
- Word con cannot be used.
- It is generally recommended that the first character of a grid name use letters instead of numbers or symbols.
Depending on the format of the selected output raster, there may be some variation, but by following these guidelines, you can avoid the various problems that arise during the creation of the output raster.
ESRI Grid Format
There are more specific restrictions on the names of the rasters in the ESRI grid format:
- The maximum number of characters is 13.
- The name cannot contain spaces.
- You cannot use any special characters except the underscore ("_").
- For tools that can output a grid stack, the stack name cannot contain more than 9 characters.
- The total length of a grid name and its path cannot contain more than 128 characters.
ArcGIS Tutorial: Output raster format and name