Converts features (Points,
Polylines, Polygons) to a raster dataset.
Inputs:
- A feature layer (Point, Polygon, Points,
Polylines, Polygons)
- Output raster name and format
- Cell Size of the output raster
- Value field - a field from the
attribute table to be used as a source for the values of the raster. If the
input is of PointZ or PolylineZ type, the Z values of the features can be
used as source for the raster values
- Priority field (optional) - a field from the
attribute table which values define how the values will be stored in the
raster in case two or more features cover the same cell. If for example two
overlapping polygons are converted to a raster, the polygon with the larger
value in this field will be stored in the raster.
|
Source polygons |
Result Raster |
|
 |
 |
- Extent from existing raster layer (optional).
If selected the extent of an existing raster layer will be used for the
output, otherwise the extent of the input feature class will be used.
Output
- A raster with data type depending on the
input value field. If the field is Integer the result will be integer,
if the field is Double, the result will be a floating point raster.
Notes:
- Initially the name of the output raster
defines the raster format
- no extension specified - ESRI binary GRID
- .img extension (for example raster1.img) -
ERDAS IMAGINE image.
- .tif extension (for example raster1.tif -
Tagged Image File Format (TIFF) image.
- The initial output raster format can be
changed by selecting the desired output in the dialog.
- Currently only file based rasters are
supported. Rasters cannot be stored in a GeoDatabase. After you get the
desired result, you can export the raster to a GeoDatabase using the
standard ArcGIS tools.
- The feature class must be in a projected
coordinate system
ToolBox
implementation
Command line syntax
ETS_GPFeaturesToRaster <Input
Dataset> <Out Raster> <Value Field> < Cell Size>
{Priority Field} {Extents Raster}
Parameters
| Expression |
Explanation |
|
<Input Dataset> |
A
Polyline layer or feature class |
| <Out
Raster> |
A String
- the full name of the output raster (A raster with the same full
name should not exist). The output raster type depends on the extension
of the output file(see Notes above) |
|
<Value Field> |
A String representing the name
of the field which values are going to be used for interpolation. |
|
<Cell Size> |
A Double representing the cell
size of the output raster. |
|
{Priority Field} |
A String representing the name
of the field which values are going to be used define the priority of the
features. See explanations above |
|
{Extents Raster} |
A raster layer or raster
dataset to be used to define the extents of the output raster |
Scripting syntax
ETS_GPFeaturesToRaster (Input
Dataset, Out Raster, Value Field, Cell Size,
Priority Field, Extents Raster)
See the explanations above:
<> - required parameter
{} - optional parameter
All ESRI
products mentioned are trademarks of Environmental Systems Research
Institute, Inc.
Copyright: Ianko Tchoukanski |