The Rasterize tool converts a vector file containing polygons into a continuous or classified raster.
To convert a vector file of polygon objects to raster:
- On the RASTER tab, in the Operations group, click Raster Operations and then click the Rasterize button to open the Rasterize dialog box.
-
Click in the Input File field and
select the input TAB file.
Following is an example of an input tab file with overlapping regions.
-
Perform one of the following:
- Select Null from the Assign Value drop-down list.
- Select FixedValue from the Assign Value drop-down list. Type the overlay value for the output raster in the Overlay Field field.
- Select FromColumn from the Assign Value drop-down list. Select the required vector column from the Cell Value Assignment drop-down list.
-
Select an overlay operator from the Cell Value Assignment drop-down list.
If there are overlapping objects in the vector file, the numeric value from the field will be handled according to the following options:
- First - The field value of the first vector object is used. The output raster is displayed below:
- Last - The field value of the last vector object is used. The output raster is displayed below:
- Minimum - The minimum field value from the overlapping objects is used. The output raster is displayed below:
- Maximum - The maximum field value from the overlapping objects is used. The output raster is displayed below:
- Average - The average field value from the overlapping objects is used. The output raster is displayed below:
- Sum - Sum of all the values from the overlapping objects. The output raster is displayed below:
- Median - Median of all the values from the overlapping objects. The output raster is displayed below:
- Range - Range of all the values from the overlapping objects. The output raster is displayed below:
- First - The field value of the first vector object is used. The output raster is displayed below:
- Type the size of the cell for the destination raster in the Cell Size field.
- Type the background value for the output raster in the Background value field.
- Select the output raster field type from the Output Raster Type drop-down list. Rasterize supports classified and continuous field types only.
- Select the output grid unit from the Data Units drop-down list.
- Click Process to start converting the input vector file to raster.
Related reference