com.esri.arcgis.geoprocessing.tools.conversiontools
Class PointToRaster

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.AbstractGPTool
      extended by com.esri.arcgis.geoprocessing.tools.conversiontools.PointToRaster
All Implemented Interfaces:
GPTool

public class PointToRaster
extends AbstractGPTool

This tool is available with an ArcView or ArcEditor license, if the Spatial Analyst extension or the 3D Analyst extension is installed. Converts point features to a raster dataset. The Point to Raster tool is contained in the Conversion Tools tool box.
Learn more about how the Point To Raster tool works

Software restrictions: ArcInfo only

Usage tips:


Field Summary
 
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
vals
 
Constructor Summary
PointToRaster()
          Creates the Point to Raster tool with defaults.
PointToRaster(Object inFeatures, Object valueField, Object outRasterDataset)
          Creates the Point to Raster tool with the required parameters.
 
Method Summary
 String getCellAssignment()
          Returns the Cell assignment type parameter of this tool .
 Object getCellsize()
          Returns the Cellsize parameter of this tool .
 Object getInFeatures()
          Returns the Input Features parameter of this tool .
 Object getOutRasterDataset()
          Returns the Output Raster Dataset parameter of this tool .
 Object getPriorityField()
          Returns the Priority field parameter of this tool .
 String getToolboxAlias()
          Returns the alias of the tool box containing this tool.
 String getToolboxName()
          Returns the name of the tool box containing this tool.
 String getToolName()
          Returns the name of this tool.
 Object getValueField()
          Returns the Value field parameter of this tool .
 void setCellAssignment(String cellAssignment)
          Sets the Cell assignment type parameter of this tool .
 void setCellsize(Object cellsize)
          Sets the Cellsize parameter of this tool .
 void setInFeatures(Object inFeatures)
          Sets the Input Features parameter of this tool .
 void setOutRasterDataset(Object outRasterDataset)
          Sets the Output Raster Dataset parameter of this tool .
 void setPriorityField(Object priorityField)
          Sets the Priority field parameter of this tool .
 void setValueField(Object valueField)
          Sets the Value field parameter of this tool .
 
Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool
getParameterValues, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PointToRaster

public PointToRaster()
Creates the Point to Raster tool with defaults.

Initializes the array of tool parameters with the default values specified when the tool was created.


PointToRaster

public PointToRaster(Object inFeatures,
                     Object valueField,
                     Object outRasterDataset)
Creates the Point to Raster tool with the required parameters.

Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.

Parameters:
inFeatures - Feature Layer, the point or multipoint input feature dataset to be converted to a raster.
valueField - Field, if the input is a point or multipoint dataset and contains z, this can be the Shape field.
outRasterDataset - Raster Dataset, 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.
Method Detail

getInFeatures

public Object getInFeatures()
Returns the Input Features parameter of this tool . This parameter is Feature Layer, the point or multipoint input feature dataset to be converted to a raster. This is a required parameter.

Returns:
the Input Features

setInFeatures

public void setInFeatures(Object inFeatures)
Sets the Input Features parameter of this tool . This parameter is Feature Layer, the point or multipoint input feature dataset to be converted to a raster. This is a required parameter.

Parameters:
inFeatures - Feature Layer, the point or multipoint input feature dataset to be converted to a raster.

getValueField

public Object getValueField()
Returns the Value field parameter of this tool . This parameter is Field, if the input is a point or multipoint dataset and contains z, this can be the Shape field. This is a required parameter.

Returns:
the Value field

setValueField

public void setValueField(Object valueField)
Sets the Value field parameter of this tool . This parameter is Field, if the input is a point or multipoint dataset and contains z, this can be the Shape field. This is a required parameter.

Parameters:
valueField - Field, if the input is a point or multipoint dataset and contains z, this can be the Shape field.

getOutRasterDataset

public Object getOutRasterDataset()
Returns the Output Raster Dataset parameter of this tool . This parameter is Raster Dataset, 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. This is a required parameter.

Returns:
the Output Raster Dataset

setOutRasterDataset

public void setOutRasterDataset(Object outRasterDataset)
Sets the Output Raster Dataset parameter of this tool . This parameter is Raster Dataset, 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. This is a required parameter.

Parameters:
outRasterDataset - Raster Dataset, 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.

getCellAssignment

public String getCellAssignment()
Returns the Cell assignment type parameter of this tool . This parameter is String, the method to determine how the cell will be assigned a value when more than one feature falls within a cell. This is an optional parameter.

Returns:
the Cell assignment type

setCellAssignment

public void setCellAssignment(String cellAssignment)
Sets the Cell assignment type parameter of this tool . This parameter is String, the method to determine how the cell will be assigned a value when more than one feature falls within a cell. This is an optional parameter.

Parameters:
cellAssignment - String, the method to determine how the cell will be assigned a value when more than one feature falls within a cell.

getPriorityField

public Object getPriorityField()
Returns the Priority field parameter of this tool . This parameter is Field, this field is used when a feature should take preference over another feature with the same attribute. Priority field is only used with the MOST_FREQUENT cell assignment type option. This is an optional parameter.

Returns:
the Priority field

setPriorityField

public void setPriorityField(Object priorityField)
Sets the Priority field parameter of this tool . This parameter is Field, this field is used when a feature should take preference over another feature with the same attribute. Priority field is only used with the MOST_FREQUENT cell assignment type option. This is an optional parameter.

Parameters:
priorityField - Field, this field is used when a feature should take preference over another feature with the same attribute. Priority field is only used with the MOST_FREQUENT cell assignment type option.

getCellsize

public Object getCellsize()
Returns the Cellsize parameter of this tool . This parameter is Analysis Cell Size, the cell size from which the output raster dataset will be created. This is an optional parameter.

Returns:
the Cellsize

setCellsize

public void setCellsize(Object cellsize)
Sets the Cellsize parameter of this tool . This parameter is Analysis Cell Size, the cell size from which the output raster dataset will be created. This is an optional parameter.

Parameters:
cellsize - Analysis Cell Size, the cell size from which the output raster dataset will be created.

getToolName

public String getToolName()
Returns the name of this tool.

Returns:
the tool name

getToolboxName

public String getToolboxName()
Returns the name of the tool box containing this tool.

Returns:
the tool box name

getToolboxAlias

public String getToolboxAlias()
Returns the alias of the tool box containing this tool.

Returns:
the tool box alias