<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Batch convert raster to polygon in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/batch-convert-raster-to-polygon/m-p/1048964#M39890</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have several raster files in a folder. I would like to convert them to polygons. Is there a way to run a batch?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Apr 2021 02:33:46 GMT</pubDate>
    <dc:creator>mlopezr95984</dc:creator>
    <dc:date>2021-04-20T02:33:46Z</dc:date>
    <item>
      <title>Batch convert raster to polygon</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/batch-convert-raster-to-polygon/m-p/1048964#M39890</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have several raster files in a folder. I would like to convert them to polygons. Is there a way to run a batch?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 02:33:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/batch-convert-raster-to-polygon/m-p/1048964#M39890</guid>
      <dc:creator>mlopezr95984</dc:creator>
      <dc:date>2021-04-20T02:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Batch convert raster to polygon</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/batch-convert-raster-to-polygon/m-p/1048971#M39891</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/modelbuilder-toolbox/iterate-rasters.htm" target="_blank"&gt;Iterate Rasters (ModelBuilder)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/conversion/raster-to-polygon.htm" target="_blank"&gt;Raster to Polygon (Conversion)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;in a model in modelbuilder...&lt;/P&gt;&lt;P&gt;However, "several"?&amp;nbsp; By the time you get the model running and tested, you could have probably done it manually several times over.&lt;/P&gt;&lt;P&gt;If this is a repetitive task then consider modelbuilder, but a python script would probably faster.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 03:11:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/batch-convert-raster-to-polygon/m-p/1048971#M39891</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-04-20T03:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Batch convert raster to polygon</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/batch-convert-raster-to-polygon/m-p/1048982#M39893</link>
      <description>&lt;P&gt;Easiest is to right-click the&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/conversion/raster-to-polygon.htm" target="_self"&gt;Raster to Polygon (Conversion)&lt;/A&gt;&amp;nbsp;tool and select "Batch"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Luke_Pinner_0-1618893457292.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/11293i8D7B763D323AB75E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Luke_Pinner_0-1618893457292.png" alt="Luke_Pinner_0-1618893457292.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 04:37:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/batch-convert-raster-to-polygon/m-p/1048982#M39893</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2021-04-20T04:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Batch convert raster to polygon</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/batch-convert-raster-to-polygon/m-p/1049017#M39895</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/basics/batch-geoprocessing.htm" target="_blank"&gt;Batch geoprocessing—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;which is kindof like modelbuilder... but check the requirements to see if it suits your needs&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 09:35:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/batch-convert-raster-to-polygon/m-p/1049017#M39895</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-04-20T09:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Batch convert raster to polygon</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/batch-convert-raster-to-polygon/m-p/1049222#M39911</link>
      <description>&lt;P&gt;Thank you Dan, this worked!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;from arcpy import env&lt;BR /&gt;&lt;BR /&gt;#Set environment settings&lt;/P&gt;&lt;P&gt;env.workspace = r"C:\Users\MD\Documents\Geos\RECLASS_FILES"&lt;/P&gt;&lt;P&gt;rasters = arcpy.ListRasters("*", "TIF")&lt;BR /&gt;&lt;BR /&gt;for raster in rasters:&lt;/P&gt;&lt;P&gt;a= (str(raster))&lt;BR /&gt;b= (a[:-4])&lt;BR /&gt;&lt;BR /&gt;outRaster = (r"C:\Users\MD\Documents\Geos\RASTER_TO_POLY\CAT10")&lt;BR /&gt;&lt;BR /&gt;In_v= raster&lt;BR /&gt;&lt;BR /&gt;arcpy.RasterToPolygon_conversion(In_v, outRaster + str(b) +".SHP", "NO_SIMPLIFY","VALUE")&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 16:30:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/batch-convert-raster-to-polygon/m-p/1049222#M39911</guid>
      <dc:creator>mlopezr95984</dc:creator>
      <dc:date>2021-04-20T16:30:22Z</dc:date>
    </item>
  </channel>
</rss>

