ArcToolbox banner

Raster 1 - Population Features to Raster

This tool converts a polygon feature class to an integer raster using the ObjectID of the feature class for the value of the output raster. This tool is based upon the "Polygon to Raster" conversion tool and is intended to be used for Dasymetric Mapping.

The output raster will contain unique population source units and their associated population.


Usage Tips


Command line syntax

PopToRaster <Population_Features> <Population_Count_Field> {Population_Key_Field} <Ancillary_Raster> {CELL_CENTER | MAXIMUM_AREA | MAXIMUM_COMBINED_AREA} <Population_Raster> <Population_Working_Table>

Parameters
Expression Explanation
<Population_Features>

The population input polygon featureclass to be converted to a raster.

<Population_Count_Field>

Specify the field in the population dataset that contains count data.

{Population_Key_Field}

Since the tool will always use the system-recognized ObjectID field for the output raster Values, this is for your reference only and is not used by the tool. It can be helpful to have another key field (commonly census FIPS code) for joining the outuput raster to other tables.

<Ancillary_Raster>

The ancillary raster dataset to be used to redistribute population. The output raster from this tool will be snapped to the ancillary raster and have matching spatial reference and cell size.

{CELL_CENTER | MAXIMUM_AREA | MAXIMUM_COMBINED_AREA}

The method to determine how the cell will be assigned a value when more than one feature falls within a cell.

  • CELL_CENTER—The polygon in which the center of the cell yields the attribute to assign to the cell.
  • MAXIMUM_AREA—The single feature with the largest area within the cell yields the attribute to assign to the cell.
  • MAXIMUM_COMBINED_AREA—Features with common attributes are combined to produce a single area within the cell in question for consideration when determining the largest area.
<Population_Raster>

The output population raster dataset that will be created, inlcuding the full path.

When you're not saving to a geodatabase, specify .tif for a TIFF file format, .img for an ERDAS IMAGINE file format, or no extension for a GRID file format.

<Population_Working_Table>

The tool will create a standalone table for performing calcluations. Please enter a name and path for the output table.

Command Line Example

PopToRaster C:\dasy\blkpop00.shp C:\dasy\lc01r CELL_CENTER C:\dasy\poprast C:\dasy\popworkingtable.dbf POP2000 FIPS

Scripting syntax

PopToRaster (Population_Features, Population_Count_Field, Population_Key_Field, Ancillary_Raster, Cell_Assignment_Type, Population_Raster, Population_Working_Table)

Parameters
Expression Explanation
Population Features (Required)

The population input polygon featureclass to be converted to a raster.

Population Count Field (Required)

Specify the field in the population dataset that contains count data.

Population Key Field (Optional)

Since the tool will always use the system-recognized ObjectID field for the output raster Values, this is for your reference only and is not used by the tool. It can be helpful to have another key field (commonly census FIPS code) for joining the outuput raster to other tables.

Ancillary Raster (Required)

The ancillary raster dataset to be used to redistribute population. The output raster from this tool will be snapped to the ancillary raster and have matching spatial reference and cell size.

Cell Assignment Type (Optional)

The method to determine how the cell will be assigned a value when more than one feature falls within a cell.

  • CELL_CENTER—The polygon in which the center of the cell yields the attribute to assign to the cell.
  • MAXIMUM_AREA—The single feature with the largest area within the cell yields the attribute to assign to the cell.
  • MAXIMUM_COMBINED_AREA—Features with common attributes are combined to produce a single area within the cell in question for consideration when determining the largest area.
Population Raster (Required)

The output population raster dataset that will be created, inlcuding the full path.

When you're not saving to a geodatabase, specify .tif for a TIFF file format, .img for an ERDAS IMAGINE file format, or no extension for a GRID file format.

Population Working Table (Required)

The tool will create a standalone table for performing calcluations. Please enter a name and path for the output table.

Script Example