<?xml version="1.0" encoding="UTF-8"?><metadata>
<Esri>
<CreaDate>20181108</CreaDate>
<CreaTime>14240100</CreaTime>
<ArcGISFormat>1.0</ArcGISFormat>
<SyncOnce>TRUE</SyncOnce>
<ModDate>20181108</ModDate>
<ModTime>15303100</ModTime>
</Esri>
<dataIdInfo>
<idCitation>
<resTitle>Watershed (Raster Analysis)</resTitle>
<date>
<createDate>20181108</createDate>
</date>
</idCitation>
<idAbs>
<para>Determines the contributing area above a set of cells in a raster.</para>
</idAbs>
<descKeys KeyTypCd="005">
<keyTyp>
<keyTyp>005</keyTyp>
</keyTyp>
<keyword>Water</keyword>
<keyword>Basin</keyword>
<keyword>Catchment</keyword>
<keyword>Contributing Area</keyword>
<keyword>Flow</keyword>
<keyword>Runoff</keyword>
<keyword>Subbasin</keyword>
<keyword>Subcatchment</keyword>
<keyword>Subwatershed</keyword>
<keyword>Surface Water</keyword>
</descKeys>
</dataIdInfo>
<distInfo>
<distributor>
<distorFormat>
<formatName Sync="TRUE">ArcToolbox Tool</formatName>
</distorFormat>
</distributor>
</distInfo>
<mdDateSt>20181108</mdDateSt>
<mdContact>
<rpOrgName>Environmental Systems Research Institute, Inc. (Esri)</rpOrgName>
<rpCntInfo>
<cntAddress>
<delPoint>380 New York Street</delPoint>
<city>Redlands</city>
<adminArea>California</adminArea>
<postCode>92373-8100</postCode>
<eMailAdd>info@esri.com</eMailAdd>
<country>United States</country>
</cntAddress>
<cntPhone>
<voiceNum>909-793-2853</voiceNum>
<faxNum>909-793-5953</faxNum>
</cntPhone>
<cntOnlineRes>
<linkage>http://www.esri.com</linkage>
</cntOnlineRes>
</rpCntInfo>
<role>
<RoleCd>007</RoleCd>
</role>
</mdContact>
<tool displayname="Watershed (Raster Analysis)" name="Watershed" softwarerestriction="none" toolboxalias="ra">
<summary>
<para>Determines the contributing area above a set of cells in a raster.</para>
</summary>
<alink_name>Watershed_ra</alink_name>
<toolIllust alt="Watershed tool illustration" src="withheld" type="dialog"/>
<toolIllust alt="Watershed tool illustration" src="withheld" type="illustration"/>
<parameters>
<param datatype="Raster Layer; Image Service; String" direction="Input" displayname="Input Flow Direction Raster" expression="inputFlowDirectionRaster" name="inputFlowDirectionRaster" sync="true" type="Required">
<pythonReference>
<para>The input raster that shows the direction of flow out of each cell.</para>
</pythonReference>
<dialogReference>
<para>The input raster that shows the direction of flow out of each cell.</para>
</dialogReference>
</param>
<param datatype="Raster Layer; Feature Layer; Image Service; Feature Service; String" direction="Input" displayname="Input Pour Point Raster or Features" expression="inPourPointRasterOrFeatures" name="inPourPointRasterOrFeatures" sync="true" type="Required">
<pythonReference>
<para>The input pour point locations.</para>
</pythonReference>
<dialogReference>
<para>The input pour point locations.</para>
</dialogReference>
</param>
<param datatype="String" direction="Input" displayname="Output Name" expression="outputName" name="outputName" sync="true" type="Required">
<pythonReference>
<para>The name of the output watershed raster service.</para>
<para>The default name is based on the tool name and the input layer name. If the layer already exists, you will be prompted to provide another name.</para>
</pythonReference>
<dialogReference>
<para>The name of the output watershed raster service.</para>
<para>The default name is based on the tool name and the input layer name. If the layer already exists, you will be prompted to provide another name.</para>
</dialogReference>
</param>
<param datatype="String" direction="Input" displayname="Pour Point Field" expression="pourPointField" name="pourPointField" sync="true" type="Optional">
<pythonReference>
<para> Field used to assign values to the pour point locations.</para>
</pythonReference>
<dialogReference>
<para> Field used to assign values to the pour point locations.</para>
</dialogReference>
</param>
</parameters>
<returnvalues/>
<environments>
<environment label="Output extent" name="extent"/>
<environment label="Cell size" name="cellSize"/>
<environment label="Mask" name="mask"/>
<environment label="Output coordinate system" name="outputCoordinateSystem"/>
<environment label="Snap raster" name="snapRaster"/>
</environments>
<usage>
<bullet_item>
<para>The value of each watershed will be taken from the value of the source in the input raster or feature pour point data. When the pour point is a raster dataset, the cell values will be used. When the pour point is a point feature dataset, the values will come from the specified field.</para>
</bullet_item>
<bullet_item>
<para>The Watershed tool only supports a D8 input flow direction raster. D8 flow directions can be created using the Flow Direction tool, run with default flow direction type D8.</para>
</bullet_item>
<bullet_item>
<para>When specifying the input pour point locations as feature data, the default field will be the first available valid field. If no valid fields exist, the ObjectID field (for example, OID or FID) will be the default.</para>
</bullet_item>
</usage>
<scriptExamples>
<scriptExample>
<title>Watershed example 1 (Python window)</title>
<para>This example determines the contributing area for selected pour point locations on a flow direction raster.</para>
<code xml:space="preserve">import arcpy
arcpy.Watershed_ra("https://myserver/rest/services/flowdir/ImageServer","https://myserver/rest/services/streamlink/ImageServer","outWatershed1")
</code>
</scriptExample>
<scriptExample>
<title>Watershed example 2 (stand-alone script)</title>
<para>This example determines the contributing area for selected pour point locations on a flow direction raster.</para>
<code xml:space="preserve">#---------------------------------------------------------------------------
# Name: Watershed_example02.py
# Requirements: ArcGIS Image Server
# Import system modules
import arcpy
# Set local variables
inFlowDirection = "https://myserver/rest/services/flowdir/ImageServer"
inPourPoint = "https://myserver/rest/services/streamlink/ImageServer"
outputWatershed = "outWatershed2"
# Execute Watershed raster analysis tool
arcpy.Watershed_ra(inFlowDirection, inPourPoint, outputWatershed)
</code>
</scriptExample>
</scriptExamples>
<shortdesc>ArcGIS geoprocessing tool that determines the contributing area above a set of cells in a raster.</shortdesc>
<arcToolboxHelpPath>withheld</arcToolboxHelpPath>
</tool>
</metadata>
