<?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 Minimum Bounding Geometry script do not work in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/minimum-bounding-geometry-script-do-not-work/m-p/213684#M16451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;when I try to run next script &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00170000003q000000" rel="nofollow noopener noreferrer" target="_blank"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//00170000003q000000&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;I got next error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;C:\code&amp;gt;1.py
Traceback (most recent call last):
&amp;nbsp; File "C:\code\1.py", line 14, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; "CONVEX_HULL", "ALL")
&amp;nbsp; File "C:\Program Files\ArcGIS\Desktop10.1\arcpy\arcpy\management.py", line 252
1, in MinimumBoundingGeometry
&amp;nbsp;&amp;nbsp;&amp;nbsp; raise e
arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000732: Input Features: Dataset test.xml.shp does not exist or is not supp
orted
Failed to execute (MinimumBoundingGeometry).&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy
from arcpy import env

# Set environment settings
env.workspace = "C:/code"

# Create variables for the input and output feature classes
inFeatures = "test.xml.shp"
outFeatureClass = "test_1.shp"

# Use MinimumBoundingGeometry function to get a convex hull area
#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for each cluster of trees which are multipoint features
arcpy.MinimumBoundingGeometry_management(inFeatures, outFeatureClass, 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "CONVEX_HULL", "ALL")&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the example (very tiny) is attached&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 10:28:44 GMT</pubDate>
    <dc:creator>DmitryBubnenkov</dc:creator>
    <dc:date>2021-12-11T10:28:44Z</dc:date>
    <item>
      <title>Minimum Bounding Geometry script do not work</title>
      <link>https://community.esri.com/t5/python-questions/minimum-bounding-geometry-script-do-not-work/m-p/213684#M16451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;when I try to run next script &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00170000003q000000" rel="nofollow noopener noreferrer" target="_blank"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//00170000003q000000&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;I got next error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;C:\code&amp;gt;1.py
Traceback (most recent call last):
&amp;nbsp; File "C:\code\1.py", line 14, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; "CONVEX_HULL", "ALL")
&amp;nbsp; File "C:\Program Files\ArcGIS\Desktop10.1\arcpy\arcpy\management.py", line 252
1, in MinimumBoundingGeometry
&amp;nbsp;&amp;nbsp;&amp;nbsp; raise e
arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000732: Input Features: Dataset test.xml.shp does not exist or is not supp
orted
Failed to execute (MinimumBoundingGeometry).&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy
from arcpy import env

# Set environment settings
env.workspace = "C:/code"

# Create variables for the input and output feature classes
inFeatures = "test.xml.shp"
outFeatureClass = "test_1.shp"

# Use MinimumBoundingGeometry function to get a convex hull area
#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for each cluster of trees which are multipoint features
arcpy.MinimumBoundingGeometry_management(inFeatures, outFeatureClass, 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "CONVEX_HULL", "ALL")&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the example (very tiny) is attached&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:28:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/minimum-bounding-geometry-script-do-not-work/m-p/213684#M16451</guid>
      <dc:creator>DmitryBubnenkov</dc:creator>
      <dc:date>2021-12-11T10:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Minimum Bounding Geometry script do not work</title>
      <link>https://community.esri.com/t5/python-questions/minimum-bounding-geometry-script-do-not-work/m-p/213685#M16452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ArcGIS expects shapefiles adhere to a naming convention of 'name.shp' and related files share the same file name prefix. Trying to create a file called 'test.xml.shp' violates this convention, if you rename your Shapefile to 'test.shp' your script runs as expected.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 06:28:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/minimum-bounding-geometry-script-do-not-work/m-p/213685#M16452</guid>
      <dc:creator>ShaunWalbridge</dc:creator>
      <dc:date>2013-06-19T06:28:13Z</dc:date>
    </item>
  </channel>
</rss>

