Calculates for each cell of the
output raster the direction to the closest point (source) of the input
feature class. If the input feature class is of Polyline or Polygon type,
the vertices will be used as sources. The result added to ArcMap is
categorized in 9 groups.
- N - North ( 0 to 22.5 and 337.5 to 360)
- NE - North East (22,5 to 67.5)
- E - East (67.5 to 112.5)
- SE - South East (112.5 to 157.5)
- S - South (67.5 to 112.5)
- SW - South West (202.5 to 247.5)
- W - West (247.5 to 292.5)
- NW - North West (292.5 to 337.5)
- U - Undefined - Slope = 0
Inputs:
- A point, polyline or polygon dataset (Sources).
- The cell size of the output raster.
Outputs:
- A floating point raster. Each cell will
have as a value the direction in degrees to the closest input point
(Source). The extent of the output is equal to the extent of the input
feature class.
Example:
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 input point feature class must be
in a projected
coordinate system.
ToolBox
implementation
Command line syntax
ETS_GPEUCDirection <Input
Features> <Out Raster> < Cell Size>
Parameters
|
Expression |
Explanation |
| <Input
Features> |
A
Point, Polyline or Polygon feature 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) |
| <Cell Size> |
A Double representing
the cell size of the output raster. |
Scripting syntax
ETS_GPEUCDirection (Input
Features,
Out Raster, ID Field, Weight Field, Cell Size)
See the explanations above:
<> - required parameter
{} - optional parameter
All ESRI
products mentioned are trademarks of Environmental Systems Research
Institute, Inc.
Copyright: Ianko Tchoukanski |