This is the default.ĭESCEND - Sorts zones in descending order by size. Will have a higher priority to expand into zones with NO_SORT - The zones are not sorted by size. The sorting can be done based on zone value or zone area. The sorting determines the priority by which cells can expand into their neighbors. Specifies the type of sorting to use in the smoothing process. The input raster for which the boundary between zones will The boundary_clean function smooths the boundary between zones in a raster.įunction available in ArcGIS Image Server 10.9 and higher. boundary_clean ( input_raster, sort_type = 'NO_SORT', number_of_runs = 'TWO_WAY' ) ¶ If you are working in ArcGIS API for Python, use watershed from the module.Boundary_clean ¶. If you are working in the ArcGIS REST API, use the Watershed task. Watershed is also available as a raster function. The Watershed tool is also available as a Raster Analysis toolbox. The Watershed geoprocessing tool is available in the Spatial Analyst toolbox.
ArcGIS Pro analysis tools and raster functions Use the Watershed raster function to determine the contributing area above a set of cells in a raster. Map Viewer Classic analysis tools and raster functions Other tools may be useful in solving similar problems. Use the Watershed tool to determine the contributing area above a set of cells in a raster.
For a point input, this represents locations above which the contributing area, or catchment, will be determined. All cells that are not NoData will be used as source cells. For a raster, this represents cells above which the contributing area, or catchment, will be determined. The flow direction raster can be created using the Flow Direction raster function, with default flow direction type D8. The input raster that shows the direction of flow out of each cell. The parameters for this tool are listed in the following table: If no valid fields exist, the ObjectID field (for example, OID or FID) will be the default. When specifying the input pour point locations as feature data, the default field will be the first available valid field. The Watershed tool only supports a D8 input flow direction raster layer. When the pour point is a point feature dataset, the values will come from the specified field. When the pour point is a raster dataset, the cell values are used by default.
The value of each watershed will be taken from the value of the source in the input raster or feature pour point layer. It can be part of a larger watershed and can also contain smaller watersheds, called subbasins. Usage notesĪ watershed is the upslope area that contributes flow-generally water-to a common outlet as concentrated drainage. Workflow diagram ExamplesĪn input point on the Mississippi River in Louisiana will create a watershed feature extending to include areas from New York to Montana and into Canada. You may not have image analysis privileges, available with the ArcGIS Image for ArcGIS Online license. If you do not see this tool in Map Viewer Classic, contact your organization administrator. Next-generation Map Viewer (formerly known as Map Viewer Beta).
It will be available in a future release of the This functionality is currently only supported in Map Viewer Classic (formerly known as Map Viewer).