Skip to content

Feature Tools Feature to Raster

TomWaterat edited this page Aug 5, 2017 · 12 revisions

This tool converts fields within vector feature classes into raster feature classes based on a list of fields stored in the Items table. In addition to the ‘geodata’ field the each input data set must have a field that contains a list of fields, for each input feature class that you want converted into raster features. The Grid Garage Geodata > Describe tool can be used to generate a list of all the fields present in each input feature attribute table. For more detailed help see ESRI Help for the ‘Feature to Raster (Conversion)’ tool.

User Inputs


  • TIP: Make sure you set the Geoprocessing > Environments.. defaults before running this tool. See 2.2.2 on page 11, for instructions.

Table for Features and Fields: This is the input table, usually the results table generated by the Geodata > Search tool, but it can be any table with a field containing the full path to the geodata you want to process with this tool. If the Items Table is a DBF, or a table in an ESRI File Geodatabase, then you can select a subset of rows in ArcMap and only those rows will be processed by the tool.. This table must have a field that contains list the fields (separated by commas), that you want converted into raster features for each input feature class (item). The list of fields must have the following syntax: [‘field1’,’field2’,field3’,….,’fieldn’] as illustrated in Figure 11 below. Use Geodata > Describe tool to generate a list of all fields and then remove the fields you don’t want converted into raster data sets.

Figure 11 Example of an Items table containing a field that lists the fields to use when creating raster features from the polygon input features (shapefiles in this case).

Field for fields: Select the field from the 'Table for Features and Fields' that contains the list of fields you want converted into raster datasets.

TIP: Note that date fields cannot be converted to raster datasets and will trigger an error (documented in the ‘_Fail’ table).

Field for feature: Select the field from the 'Table for Features and Fields' that contains the full path to the geodata items you want to have processed by the tool.

Cell Size: This is the cell size of the output rasters generated from the feature fields. You can base this on existing datasets (from the drop-down menu) or specify a value in the input box below.

Format for output rasters: Raster format for output geodata. You can choose from: Esri Grid, img (ERDAS IMAGINE) or tif (GeoTIFF). If you select a file geodatabase for the Result Workspace then the output format will default to ‘Esri Grid’. When storing your raster geodata to a JPEG file, a JPEG 2000 file, a TIFF file, or a geodatabase, you can specify a compression type and compression quality within Geoprocessing > Environments.

Output Workspace: This is the location for the Grid Garage results table containing the list of geodata processed by the tool as well as any data outputs. If the tool encounters any errors when processing the input geodata then a second results table will be generated, with a ‘_FAIL’ suffix, listing the input geodata that failed and any ESRI error messages.

If you have set the ArcGIS ‘Workspace' parameter in the Geoprocessing > Environment Settings then this path will be used as the default. You can use this default path or click the folder button to select a new output location which can be a folder or File Geodatabase. If you specify a folder then the Results Table will be written to a comma-delimited (CSV) text file, if you specify a File Geodatabase it will be written as a Geodatabase Table.

Result Table Name: You can choose to use the default table name or specify a different name for the Grid Garage results table. The Grid Garage results table reports on a range of different properties for each of the geodata items in the 'Table for Geodata' input table. See the Grid Garage User Manual for a description of all the properties reported on.

If the tool encounters any errors when processing any of the geodata then a second results table will be generated, with a ‘_FAIL’ suffix, listing the input geodata that failed and any ESRI error messages. If you choose a folder for the Output Workspace then the result table will be written to a comma-delimited (CSV) text file which will not allow you to select rows for processing when using the table as input for other Grid Garage Tools.

Result Table file name: The default name will always take the form of ‘RasteriseByTableFeatureTool_date_time’, where ‘date’ and ‘time’ are the date and time that the tool was run.

Output Filename Affixes


Output Filename Prefix (optional): Any text you enter in this input box will be added as a prefix (at the beginning) for all output file names.

Output Filename Suffix` (optional): Any text you enter in this input box will be added as a suffix (at the end) for all output file names.

Clone this wiki locally