<?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 How to apply the 'Integrate' tool (data management) using arcpy in Python Snippets Questions</title>
    <link>https://community.esri.com/t5/python-snippets-questions/how-to-apply-the-integrate-tool-data-management/m-p/840574#M511</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to integrate two features (shapes) with their ranks using arcpy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-- arcpy.Integrate_management() --&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't get a clue from the explanation/example in ArcGIS help. It's straight forward, however, to apply this tool from the graphical dialog. I would appreciate a working example having 2 shapes: a.shp (rank 1), b.shp (rank 2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using ArcGIS 10.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Torsten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Feb 2015 06:55:00 GMT</pubDate>
    <dc:creator>TorstenLange</dc:creator>
    <dc:date>2015-02-12T06:55:00Z</dc:date>
    <item>
      <title>How to apply the 'Integrate' tool (data management) using arcpy</title>
      <link>https://community.esri.com/t5/python-snippets-questions/how-to-apply-the-integrate-tool-data-management/m-p/840574#M511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to integrate two features (shapes) with their ranks using arcpy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-- arcpy.Integrate_management() --&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't get a clue from the explanation/example in ArcGIS help. It's straight forward, however, to apply this tool from the graphical dialog. I would appreciate a working example having 2 shapes: a.shp (rank 1), b.shp (rank 2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using ArcGIS 10.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Torsten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 06:55:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-snippets-questions/how-to-apply-the-integrate-tool-data-management/m-p/840574#M511</guid>
      <dc:creator>TorstenLange</dc:creator>
      <dc:date>2015-02-12T06:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to apply the 'Integrate' tool (data management) using arcpy</title>
      <link>https://community.esri.com/t5/python-snippets-questions/how-to-apply-the-integrate-tool-data-management/m-p/840575#M512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The list of features and their rank is stated to be a Value Table type in the help.&lt;/P&gt;&lt;P&gt;So just create a value table in arcpy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;vTab = arcpy.ValueTable()
vTab.insertRow("{} {}".format("ShapeA.shp", 1))
vTab.insertRow("{} {}".format("ShapeB.shp", 2))&lt;/PRE&gt;&lt;P&gt;Then use the vTab in the Integrate tool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:15:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-snippets-questions/how-to-apply-the-integrate-tool-data-management/m-p/840575#M512</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2021-12-12T10:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to apply the 'Integrate' tool (data management) using arcpy</title>
      <link>https://community.esri.com/t5/python-snippets-questions/how-to-apply-the-integrate-tool-data-management/m-p/840576#M513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot - though late &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt; - for your hint! It wasn't clear to me that "Value table" really means it's a data type, though the table column states 'data type' in the header. Thought of an explanation like "table of values" - maybe a normal python list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldn't use your example as given, as the "insertRow"-method doesn't exist, but addRow. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vTab = arcpy.ValueTable(2)&lt;/P&gt;&lt;P&gt;vTab.addRow("ShapeA.shp" + " 1")&lt;/P&gt;&lt;P&gt;vTab.addRow("ShapeB.shp" + " 2")&lt;/P&gt;&lt;P&gt;arcpy.Integrate_management(vTab,0.01)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Torsten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 05:59:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-snippets-questions/how-to-apply-the-integrate-tool-data-management/m-p/840576#M513</guid>
      <dc:creator>TorstenLange</dc:creator>
      <dc:date>2015-02-20T05:59:40Z</dc:date>
    </item>
  </channel>
</rss>

