<?xml version="1.0" encoding="UTF-8"?><metadata>
<Esri>
<CreaDate>20200407</CreaDate>
<CreaTime>17401800</CreaTime>
<ArcGISFormat>1.0</ArcGISFormat>
<SyncOnce>TRUE</SyncOnce>
<ModDate>20200409</ModDate>
<ModTime>05283300</ModTime>
</Esri>
<dataIdInfo>
<idCitation>
<resTitle>Convert Raster To Feature (Raster Analysis)</resTitle>
<date>
<createDate>20200407</createDate>
</date>
</idCitation>
<idAbs>
<para>Converts a raster to a feature dataset, as points, lines, or polygons.</para>
</idAbs>
<descKeys KeyTypCd="005">
<keyTyp>
<keyTyp>005</keyTyp>
</keyTyp>
<keyword>Conversion</keyword>
<keyword>Export</keyword>
<keyword>Import</keyword>
<keyword>Vectorize</keyword>
</descKeys>
</dataIdInfo>
<distInfo>
<distributor>
<distorFormat>
<formatName Sync="TRUE">ArcToolbox Tool</formatName>
</distorFormat>
</distributor>
</distInfo>
<mdDateSt>20200409</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="Convert Raster To Feature (Raster Analysis)" name="ConvertRasterToFeature" softwarerestriction="none" toolboxalias="ra">
<summary>
<para>Converts a raster to a feature dataset, as points, lines, or polygons.</para>
</summary>
<alink_name>ConvertRasterToFeature_ra</alink_name>
<toolIllust alt="Convert Raster To Feature tool" src="withheld" type="dialog"/>
<toolIllust alt="Convert Raster To Feature tool" src="withheld" type="illustration"/>
<parameters>
<param datatype="Feature Set" direction="Input" displayname="Input Raster Layer" expression="inputRaster" name="inputRaster" sync="true" type="Required">
<pythonReference>
<para>The input raster layer.</para>
</pythonReference>
<dialogReference>
<para>The input raster layer.</para>
</dialogReference>
</param>
<param datatype="Field" direction="Input" displayname="Field" expression="field" name="field" sync="true" type="Required">
<pythonReference>
<para>A field that specifies the conversion value.</para>
<para>It can be any integer or text value.</para>
<para>A field containing floating-point values can only be used if the output is to a point dataset.</para>
<para>The default is the Value field, which contains the value in each raster cell.</para>
</pythonReference>
<dialogReference>
<para>A field that specifies the conversion value.</para>
<para>It can be any integer or text value.</para>
<para>A field containing floating-point values can only be used if the output is to a point dataset.</para>
<para>The default is the Value field, which contains the value in each raster cell.</para>
</dialogReference>
</param>
<param datatype="String" direction="Input" displayname="Output Type" expression="outputType" name="outputType" sync="true" type="Required">
<pythonReference>
<para>Specifies the output type.</para>
<bulletList>
<bullet_item>POINT—The raster will be converted to a point dataset. This is the default.</bullet_item>
<bullet_item>LINE—The raster will be converted to a line feature dataset.</bullet_item>
<bullet_item>POLYGON—The raster will be converted to a polygon feature dataset.</bullet_item>
</bulletList>
</pythonReference>
<dialogReference>
<para>Specifies the output type.</para>
<bulletList>
<bullet_item>Point—The raster will be converted to a point dataset. This is the default.</bullet_item>
<bullet_item>Line—The raster will be converted to a line feature dataset.</bullet_item>
<bullet_item>Polygon—The raster will be converted to a polygon feature dataset.</bullet_item>
</bulletList>
<para>If the output type is Line or Polygon, an additional parameter appears allowing the simplification of lines or polygons.</para>
</dialogReference>
<enumcorrespondence>
<enum label="Point" name="POINT"/>
<enum label="Line" name="LINE"/>
<enum label="Polygon" name="POLYGON"/>
</enumcorrespondence>
</param>
<param datatype="Boolean" direction="Input" displayname="Simplify Lines or Polygons" expression="simplifyLinesOrPolygons" name="simplifyLinesOrPolygons" sync="true" type="Optional">
<pythonReference>
<para>Specifies whether lines or polygons will be simplified (smoothed). The smoothing is done in such a way that the line contains a minimum number of segments while remaining as close as possible to the original raster cell edges.</para>
<bulletList>
<bullet_item>SIMPLIFY—The line or polygon features will be smoothed to produce a more generalized result. This is the default.</bullet_item>
<bullet_item>NO_SIMPLIFY—The line or polygon features will not be smoothed and will follow the cell boundaries of the raster dataset.</bullet_item>
</bulletList>
<para>This parameter is only supported if outputType is LINE or POLYGON.</para>
</pythonReference>
<dialogReference>
<para>Specifies whether lines or polygons will be simplified (smoothed). The smoothing is done in such a way that the line contains a minimum number of segments while remaining as close as possible to the original raster cell edges.</para>
<bulletList>
<bullet_item>Checked—The line or polygon features will be smoothed to produce a more generalized result. This is the default.</bullet_item>
<bullet_item>Unchecked—The line or polygon features will not be smoothed and will follow the cell boundaries of the raster dataset.</bullet_item>
</bulletList>
</dialogReference>
</param>
<param datatype="String" direction="Input" displayname="Output Name" expression="outputName" name="outputName" sync="true" type="Required">
<pythonReference>
<para>The output feature class that will contain the converted points, lines, or polygons.</para>
</pythonReference>
<dialogReference>
<para>The output feature class that will contain the converted points, lines, or polygons.</para>
</dialogReference>
</param>
<param datatype="Boolean" direction="Input" displayname="Create Multipart Features" expression="createMultipartFeatures" name="createMultipartFeatures" sync="true" type="Optional">
<pythonReference>
<para>Specifies whether the output polygons will consist of single-part or multipart features.</para>
<bulletList>
<bullet_item>MULTIPLE_OUTER_PART—Multipart features will be created based on polygons that have the same value.</bullet_item>
<bullet_item>SINGLE_OUTER_PART—Individual (single-part) features will be created for each polygon. This is the default.</bullet_item>
</bulletList>
<para>This parameter is only supported if outputType is POLYGON.</para>
</pythonReference>
<dialogReference>
<para>Specifies whether the output polygons will consist of single-part or multipart features.</para>
<bulletList>
<bullet_item>Checked— Multipart features will be created based on polygons that have the same value.</bullet_item>
<bullet_item>Unchecked— Individual (single-part) features will be created for each polygon. This is the default.</bullet_item>
</bulletList>
</dialogReference>
</param>
<param datatype="Long" direction="Input" displayname="Maximum Vertices Per Polygon Feature" expression="maxVerticesPerFeature" name="maxVerticesPerFeature" sync="true" type="Optional">
<pythonReference>
<para>The vertex limit used to subdivide a polygon into smaller polygons. This parameter produces similar output as that created by the Dice tool in the Data Management toolbox.</para>
<para>If left empty, the output polygons will not be split. This is the default.</para>
<para>This parameter is only supported if outputType is POLYGON.</para>
</pythonReference>
<dialogReference>
<para>The vertex limit used to subdivide a polygon into smaller polygons. This parameter produces similar output as that created by the Dice tool in the Data Management toolbox.</para>
<para>If left empty, the output polygons will not be split. This is the default.</para>
<para>This parameter is only supported if Output Type is Polygon.</para>
</dialogReference>
</param>
</parameters>
<returnvalues/>
<environments>
<environment label="Output extent" name="extent"/>
<environment label="Output coordinate system" name="outputCoordinateSystem"/>
<environment label="Snap raster" name="snapRaster"/>
</environments>
<usage>
<bullet_item>
<para>Rasters can be converted to point, line, or polygon features.</para>
</bullet_item>
</usage>
<scriptExamples>
<scriptExample>
<title>ConvertRasterToFeature example 1 (Python window)</title>
<para>This example converts a raster to polygon features.</para>
<code xml:space="preserve">import arcpy
arcpy.ConvertRasterToFeature_ra('https://MyPortal.esri.com/server/rest/services/Hosted/Landuse/ImageServer', 'Value', 'POLYGON', 'SIMPLIFY', 'outFeatures')
</code>
</scriptExample>
<scriptExample>
<title>ConvertRasterToFeature example 2 (stand-alone script)</title>
<para>This example converts a raster to polygon features.</para>
<code xml:space="preserve">#-------------------------------------------------------------------------------
# Name: ConvertRasterToFeature_Ex_02.py
# Description: Convert a raster to polygon features.
#
# Requirements: ArcGIS Image Server
# Import system modules
import arcpy
# Set local variables
inRaster = 'https://MyPortal.esri.com/server/rest/services/Hosted/Landuse/ImageServer'
inField = 'Value'
outType = 'POLYGON'
simplify = 'SIMPLIFY'
outFeatures = 'outFeatures'
arcpy.ConvertRasterToFeature_ra(inRaster, inField, outType, simplify, outFeatures)
</code>
</scriptExample>
</scriptExamples>
<shortdesc>ArcGIS geoprocessing tool that converts a raster dataset to polygon features.</shortdesc>
<arcToolboxHelpPath>withheld</arcToolboxHelpPath>
</tool>
</metadata>
