<?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: Split polygon feature by percentage in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65726#M2333</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try this script.&amp;nbsp; I'm not familiar with the ET-Geotools version, but I think it does more or less the same.&amp;nbsp; It adds the split parts to the existing polygon layer, but you can change it to write to a new feature class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy

mxd = arcpy.mapping.MapDocument('CURRENT')
df = mxd.activeDataFrame
layers = arcpy.mapping.ListLayers(df)
# select layer - my known polygon layer with only one polygon
poly = layers[2]
# split steps
splits = [20, 30, 50]


# get polygon and extent properties
with arcpy.da.SearchCursor(poly, ["SHAPE@"]) as pcursor:
&amp;nbsp;&amp;nbsp; for prow in pcursor:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; polygon = prow[0]&amp;nbsp;&amp;nbsp;&amp;nbsp; # polygon to cut
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e = polygon.extent&amp;nbsp;&amp;nbsp; # bounding extent of polygon
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print e.XMin,e.YMin,e.XMax,e.YMax
del pcursor


# geometric cut test iteration step size - modify value to get better accuracy
stepsize = 0.001
# set parameters to move from left to right over the polygon
leftXstart = e.XMin
leftX = e.XMin + stepsize
ymax = e.YMax
ymin = e.YMin

cutpoly = polygon
icursor = arcpy.da.InsertCursor(poly, ["SHAPE@"])
&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;# iterate cut percentage list&lt;/SPAN&gt;
for i in splits[:2]:
&amp;nbsp;&amp;nbsp; print i
&amp;nbsp;&amp;nbsp; tol = 0
&amp;nbsp;&amp;nbsp; while tol &amp;lt; i:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # construct NS line
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pntarray = arcpy.Array()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pntarray.add(arcpy.Point(leftX, ymax))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pntarray.add(arcpy.Point(leftX, ymin))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pline = arcpy.Polyline(pntarray,arcpy.SpatialReference(4326))&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # cut polygon and get split-parts
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cutlist = cutpoly.cut(pline)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tol = 100 * cutlist[1].area / polygon.area&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; leftX += stepsize
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #print str(leftX) + ":" + str(tol)
&amp;nbsp;&amp;nbsp; cutpoly = cutlist[0]
&amp;nbsp;&amp;nbsp; # part 0 is on the right side and part 1 is on the left side of the cut
&amp;nbsp;&amp;nbsp; icursor.insertRow([cutlist[1]])
# insert last cut remainder
icursor.insertRow([cutlist[0]])
del icursor&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the result for cutting the polygon into 20%, 30% and 50%&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/215263_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 22:32:22 GMT</pubDate>
    <dc:creator>FC_Basson</dc:creator>
    <dc:date>2021-12-10T22:32:22Z</dc:date>
    <item>
      <title>Split polygon feature by percentage</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65719#M2326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;I have a feature table with a field (Float) containing percentage values which aggregates to 100%. And I have one big polygon. I need to split the polygon based on the percentage values from the table.&lt;/P&gt;&lt;P&gt;I have seen a similar tool in ET's GeoTools.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.ian.ko.com/ET_GeoTools/UserGuide/ETSplitPolygonByArea.htm"&gt;http://www.ian.ko.com/ET_GeoTools/UserGuide/ETSplitPolygonByArea.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But I don't have the tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any workaround in ArcGIS? Maybe using Python?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 13:49:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65719#M2326</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2016-08-11T13:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Split polygon feature by percentage</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65720#M2327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;BR /&gt;You can use below tools,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.umesc.usgs.gov/management/dss/split_by_attribute_tool.html" title="http://www.umesc.usgs.gov/management/dss/split_by_attribute_tool.html"&gt;Split By Attribute Tool - Desktop Decision Support Tools&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=15ca63aebb4647a4b07bc94f3d051da5" title="http://www.arcgis.com/home/item.html?id=15ca63aebb4647a4b07bc94f3d051da5"&gt;http://www.arcgis.com/home/item.html?id=15ca63aebb4647a4b07bc94f3d051da5&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am 100% sure but one of them help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 14:13:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65720#M2327</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-08-11T14:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Split polygon feature by percentage</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65721#M2328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Avinash,&lt;/P&gt;&lt;P&gt;Thanks for your quick response. The above tools you mentioned, splits the polygon feature parts from the feature class and exports them to different feature classes.&lt;/P&gt;&lt;P&gt;My case is a little different. My polygon feature class has only one polygon (01 record). And the splitting should be based on the percentage values from another GDB table.&lt;/P&gt;&lt;P&gt;An example of resulting polygon is attached (ET GeoTools used in this case).&lt;/P&gt;&lt;P&gt;Let me know if you have any further suggestion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 14:37:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65721#M2328</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2016-08-11T14:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Split polygon feature by percentage</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65722#M2329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jayanta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; background: white;"&gt;Looks like you have one polygon and another one is feature or one table with % values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; font-family: 'Arial','sans-serif';"&gt;If&lt;/SPAN&gt;&lt;SPAN class="apple-converted-space"&gt; &lt;SPAN style="font-family: 'Arial','sans-serif'; background: white;"&gt;both are&lt;/SPAN&gt; &lt;SPAN class="correction"&gt;features, then&lt;/SPAN&gt;&lt;SPAN class="apple-converted-space"&gt; overlay works and for another &lt;/SPAN&gt;&lt;SPAN class="correction"&gt;I&lt;/SPAN&gt;&lt;SPAN class="apple-converted-space"&gt; need to test in my system.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; font-family: 'Arial','sans-serif';"&gt;Let&lt;/SPAN&gt;&lt;SPAN class="apple-converted-space"&gt; &lt;SPAN style="font-family: 'Arial','sans-serif'; background: white;"&gt;you know my findings.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; font-family: 'Arial','sans-serif';"&gt;can you please give me yours sample files.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background: white; font-family: 'Arial','sans-serif';"&gt;Thanks &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 14:47:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65722#M2329</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-08-11T14:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Split polygon feature by percentage</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65723#M2330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Second one is a table.&lt;/P&gt;&lt;P&gt;You can create a sample as below.&lt;/P&gt;&lt;P&gt;Create any random polygon (with UTM/WGS_1984 projection).&lt;/P&gt;&lt;P&gt;And a table with 4 records where a field &amp;lt;Field_Per&amp;gt; will have values of say 20, 35, 15, 30 for the four records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your efforts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 15:41:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65723#M2330</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2016-08-11T15:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Split polygon feature by percentage</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65724#M2331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you see this thread &lt;A href="https://community.esri.com/thread/164177"&gt;Advice for splitting polygon into several "strips"&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 16:19:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65724#M2331</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2016-08-11T16:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Split polygon feature by percentage</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65725#M2332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wes,&lt;/P&gt;&lt;P&gt;Thank you for sharing the link. But my problem is different. The polygon needs to be split into variable sizes (area) based on the percentage value from another table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 07:08:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65725#M2332</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2016-08-12T07:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Split polygon feature by percentage</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65726#M2333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try this script.&amp;nbsp; I'm not familiar with the ET-Geotools version, but I think it does more or less the same.&amp;nbsp; It adds the split parts to the existing polygon layer, but you can change it to write to a new feature class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy

mxd = arcpy.mapping.MapDocument('CURRENT')
df = mxd.activeDataFrame
layers = arcpy.mapping.ListLayers(df)
# select layer - my known polygon layer with only one polygon
poly = layers[2]
# split steps
splits = [20, 30, 50]


# get polygon and extent properties
with arcpy.da.SearchCursor(poly, ["SHAPE@"]) as pcursor:
&amp;nbsp;&amp;nbsp; for prow in pcursor:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; polygon = prow[0]&amp;nbsp;&amp;nbsp;&amp;nbsp; # polygon to cut
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e = polygon.extent&amp;nbsp;&amp;nbsp; # bounding extent of polygon
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print e.XMin,e.YMin,e.XMax,e.YMax
del pcursor


# geometric cut test iteration step size - modify value to get better accuracy
stepsize = 0.001
# set parameters to move from left to right over the polygon
leftXstart = e.XMin
leftX = e.XMin + stepsize
ymax = e.YMax
ymin = e.YMin

cutpoly = polygon
icursor = arcpy.da.InsertCursor(poly, ["SHAPE@"])
&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;# iterate cut percentage list&lt;/SPAN&gt;
for i in splits[:2]:
&amp;nbsp;&amp;nbsp; print i
&amp;nbsp;&amp;nbsp; tol = 0
&amp;nbsp;&amp;nbsp; while tol &amp;lt; i:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # construct NS line
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pntarray = arcpy.Array()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pntarray.add(arcpy.Point(leftX, ymax))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pntarray.add(arcpy.Point(leftX, ymin))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pline = arcpy.Polyline(pntarray,arcpy.SpatialReference(4326))&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # cut polygon and get split-parts
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cutlist = cutpoly.cut(pline)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tol = 100 * cutlist[1].area / polygon.area&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; leftX += stepsize
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #print str(leftX) + ":" + str(tol)
&amp;nbsp;&amp;nbsp; cutpoly = cutlist[0]
&amp;nbsp;&amp;nbsp; # part 0 is on the right side and part 1 is on the left side of the cut
&amp;nbsp;&amp;nbsp; icursor.insertRow([cutlist[1]])
# insert last cut remainder
icursor.insertRow([cutlist[0]])
del icursor&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the result for cutting the polygon into 20%, 30% and 50%&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/215263_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:32:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65726#M2333</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2021-12-10T22:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Split polygon feature by percentage</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65727#M2334</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 have a similar issue however I have multiple polygons in my case some 200 polygons and I would like to split them based on a percentage. &amp;nbsp;I don't really know how to structure my data either to achieve my end result. &amp;nbsp;Basically I have 200 building footprints each building has multiple tenants and I want to split the polygons by the percentage of space each tenant is occupying. &amp;nbsp;Currently I have all the polygons or building footprints in one layer and all the tenants in a point layer. &amp;nbsp;I have looked all over and have found no solution to this problem any help would be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jake&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 16:22:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65727#M2334</guid>
      <dc:creator>JacobSiech1</dc:creator>
      <dc:date>2016-11-14T16:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Split polygon feature by percentage</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65728#M2335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi FC Basson,&lt;/P&gt;&lt;P&gt;I wanted to know if you could help me with your script that you have. &amp;nbsp;It does not want to run for me. &amp;nbsp;It gets to line 13 and says, " with arcpy.da.SearchCursor(poly, ["SHAPE@"]) as pcursor: TypeError: 'in_table' is not a table or a featureclass" do you know what might be causing this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;~J~S~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 14:21:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65728#M2335</guid>
      <dc:creator>JacobSiech1</dc:creator>
      <dc:date>2017-01-12T14:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Split polygon feature by percentage</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65729#M2336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I fixed the last issue but now have another. &amp;nbsp;This is the error that comes up:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt; File "C:\Users\jacob.siech\Desktop\TestScript.py", line 42, in &amp;lt;module&amp;gt;&lt;BR /&gt; cutlist = cutpoly.cut(pline)&lt;BR /&gt; File "c:\program files (x86)\arcgis\desktop10.4\arcpy\arcpy\arcobjects\arcobjects.py", line 859, in cut&lt;BR /&gt; return convertArcObjectToPythonObject(self._arc_object.Cut(*gp_fixargs((other,))))&lt;BR /&gt;RuntimeError: All geometries involved in this operation must have the same spatial reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the spatial reference of the data fraim and the layer and they are the same. &amp;nbsp;So I do not know what to do now. &amp;nbsp;Any help would be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;~J~S~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 15:32:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65729#M2336</guid>
      <dc:creator>JacobSiech1</dc:creator>
      <dc:date>2017-01-12T15:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Split polygon feature by percentage</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65730#M2337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post the code you are currently using? If you are using the code from above line 40 sets a spatial reference that may be different from the feature class you are using.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 19:19:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65730#M2337</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2017-01-12T19:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Split polygon feature by percentage</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65731#M2338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yup you are right I found that my projection was different than that was in the code so I changed it and now it work &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;yea. &amp;nbsp;Now I just need to adapt the code to do multiple polygons and to cut the polygon based on attributes &amp;nbsp;You wouldn't have any input on how to go about doing this? &amp;nbsp;Any help would be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;~J~S~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 19:43:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65731#M2338</guid>
      <dc:creator>JacobSiech1</dc:creator>
      <dc:date>2017-01-12T19:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Split polygon feature by percentage</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65732#M2339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got the code to work however I wanted to know if there was anyway to have the code cut the polygon parallel to one of the sides. &amp;nbsp;Since in my case I am cutting rectangles I would like it to cut those rectangles parallel to one of the side. &amp;nbsp;Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;~J~S~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 20:12:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65732#M2339</guid>
      <dc:creator>JacobSiech1</dc:creator>
      <dc:date>2017-01-12T20:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Split polygon feature by percentage</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65733#M2340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Automating the process to detect the angle of the correct side might be tricky unless you provide it as an attribute for the polygon feature, but you can definitely cut at an angle by setting different X-values for the cut-line's start and end points (lines 38 and 39) - you just need to determine the difference based on the required angle.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 05:49:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65733#M2340</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2017-01-13T05:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Split polygon feature by percentage</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65734#M2341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi FC Basson,&lt;/P&gt;&lt;P&gt;Thanks for the reply. &amp;nbsp;I changed the value or at lease added a value to the X-value and it work like you said. &amp;nbsp;However I am still a little hazy on how to find the value using an angle. &amp;nbsp;I just use trial and error for one of the polygons but this will obviously not work for more than 200 polygon that I have to do. &amp;nbsp;I guess I could find the value for each the first time and put it in an attribute and add that value to the X-value but that could take some time. &amp;nbsp;Is there a way to calculate this value using the attribute calculate functions?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;~J~S~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 20:01:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65734#M2341</guid>
      <dc:creator>JacobSiech1</dc:creator>
      <dc:date>2017-01-13T20:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Split polygon feature by percentage</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65735#M2342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi FC Basson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for sharing the code. I have tried to adapt it to work for my layer but it came up with an error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime error&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;File "&amp;lt;string&amp;gt;", line 36, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\arcobjects\arcobjects.py", line 825, in cut&lt;/P&gt;&lt;P&gt;return convertArcObjectToPythonObject(self._arc_object.Cut(*gp_fixargs((other,))))&lt;/P&gt;&lt;P&gt;RuntimeError: A polygon cut operation could not classify all parts of the polygon as left or right of the cutting line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;line 36: cutlist = cutpoly.cut(pline)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea the error came up?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 02:55:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65735#M2342</guid>
      <dc:creator>DanielThen</dc:creator>
      <dc:date>2017-05-25T02:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Split polygon feature by percentage</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65736#M2343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;after implementing i am getting following error:&lt;/P&gt;&lt;P&gt;Runtime error &lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt; File "&amp;lt;string&amp;gt;", line 42, in &amp;lt;module&amp;gt;&lt;BR /&gt; File "c:\program files (x86)\arcgis\desktop10.5\arcpy\arcpy\arcobjects\arcobjects.py", line 867, in cut&lt;BR /&gt; return convertArcObjectToPythonObject(self._arc_object.Cut(*gp_fixargs((other,))))&lt;BR /&gt;RuntimeError: A polygon cut operation could not classify all parts of the polygon as left or right of the cutting line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 10:00:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65736#M2343</guid>
      <dc:creator>Vaibhavsingh10</dc:creator>
      <dc:date>2018-04-06T10:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Split polygon feature by percentage</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65737#M2344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems like the cutting line is not intersecting with the polygon.&amp;nbsp; Is the spatial reference of the polygon also 4326?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2018 10:19:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65737#M2344</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2018-04-10T10:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Split polygon feature by percentage</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65738#M2345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has there been any advancements to this error? I am attempting to use the script but am coming back with the same error as Vaibhav. I have changed the SpatialReference to my data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2019 23:10:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/split-polygon-feature-by-percentage/m-p/65738#M2345</guid>
      <dc:creator>AlexMarczynski2</dc:creator>
      <dc:date>2019-02-20T23:10:51Z</dc:date>
    </item>
  </channel>
</rss>

