<?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 Re: Repair Geometry in ArcPy on .shps? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/repair-geometry-in-arcpy-on-shps/m-p/187002#M14383</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't error, it thinks it worked. It makes this in a folder it generates called info:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/450450_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Jun 2019 17:16:49 GMT</pubDate>
    <dc:creator>WendyDorman</dc:creator>
    <dc:date>2019-06-15T17:16:49Z</dc:date>
    <item>
      <title>Repair Geometry in ArcPy on .shps?</title>
      <link>https://community.esri.com/t5/python-questions/repair-geometry-in-arcpy-on-shps/m-p/186998#M14379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to run Repair Geometries on shapefiles&amp;nbsp;using ArcPy in Spyder. The tool description states that it can be run on .shps but the code provided by Esri requires you to first run Check Geometry and then Repair Geometry, and the table output from Check doesn't appear to be correct for Repair. Does anyone have ideas for code that would apply to .shps not in a .gdb?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2019 20:48:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/repair-geometry-in-arcpy-on-shps/m-p/186998#M14379</guid>
      <dc:creator>WendyDorman</dc:creator>
      <dc:date>2019-06-14T20:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Repair Geometry in ArcPy on .shps?</title>
      <link>https://community.esri.com/t5/python-questions/repair-geometry-in-arcpy-on-shps/m-p/186999#M14380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have an example of a check geometry that you think is not right?&lt;/P&gt;&lt;P&gt;And check doesn't need to be run before repair, unless you are curious&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/repair-geometry.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/repair-geometry.htm"&gt;Repair Geometry—Data Management toolbox | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you could also copy the shapefile to a gdb, check/repair there, then export to a shapefile if you want to ensure that the shapefile complies with esri's implementation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Jun 2019 01:37:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/repair-geometry-in-arcpy-on-shps/m-p/186999#M14380</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-06-15T01:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Repair Geometry in ArcPy on .shps?</title>
      <link>https://community.esri.com/t5/python-questions/repair-geometry-in-arcpy-on-shps/m-p/187000#M14381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Running Check Geometry outside of a gdb doesn't produce the correct table.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/450465_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;This should result in a table called checkGeometryResult for the Repair Geometry tool to work through. When I run these tools in sequence in ArcPro (on .shps outside of a .gdb) if produces the same incorrect table and I cannot input it into the Repair Geometry tool. Any other ideas for how to repair the geometries but also know which ones are repaired and why? Or how to tweak this to run in a folder instead of gdb? I think this tool works great so I’d like to run this tool instead of using geopandas or Q’s function, but am having trouble with the coding for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="450464" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/450464_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Jun 2019 12:04:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/repair-geometry-in-arcpy-on-shps/m-p/187000#M14381</guid>
      <dc:creator>WendyDorman</dc:creator>
      <dc:date>2019-06-15T12:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Repair Geometry in ArcPy on .shps?</title>
      <link>https://community.esri.com/t5/python-questions/repair-geometry-in-arcpy-on-shps/m-p/187001#M14382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is in the 'incorrect table'? and does your script error out or just not do anything?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Jun 2019 12:46:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/repair-geometry-in-arcpy-on-shps/m-p/187001#M14382</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-06-15T12:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Repair Geometry in ArcPy on .shps?</title>
      <link>https://community.esri.com/t5/python-questions/repair-geometry-in-arcpy-on-shps/m-p/187002#M14383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't error, it thinks it worked. It makes this in a folder it generates called info:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/450450_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Jun 2019 17:16:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/repair-geometry-in-arcpy-on-shps/m-p/187002#M14383</guid>
      <dc:creator>WendyDorman</dc:creator>
      <dc:date>2019-06-15T17:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Repair Geometry in ArcPy on .shps?</title>
      <link>https://community.esri.com/t5/python-questions/repair-geometry-in-arcpy-on-shps/m-p/187003#M14384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That looks like an arcinfo table.&amp;nbsp; If the destination for the output table is a folder, that is what you get, if it is into a gdb, then you get a geodatabase table, otherwise, you have to add *dbf to the output filename to get a dbase table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Jun 2019 18:08:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/repair-geometry-in-arcpy-on-shps/m-p/187003#M14384</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-06-15T18:08:56Z</dc:date>
    </item>
  </channel>
</rss>

