<?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: Divide irregular polygon into equal areas by angle in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/divide-irregular-polygon-into-equal-areas-by-angle/m-p/86940#M2992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for the hero that wants to take it on, it is far easier to rotate polygon by the desired rotation angle, proceed with Alex's implementation, then rotate result back. &amp;nbsp;&lt;/P&gt;&lt;P&gt;This will work with projected coordinates.&amp;nbsp; Take the polygon, subtract the centroid value from the polygon points (ie a translation to the origin).&amp;nbsp; Rotate by your desired angle (rotation).&amp;nbsp; Do the work (rotate the reverse) and translate back to the original location.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jan 2018 21:54:14 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2018-01-15T21:54:14Z</dc:date>
    <item>
      <title>Divide irregular polygon into equal areas by angle</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/divide-irregular-polygon-into-equal-areas-by-angle/m-p/86939#M2991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an irregular polygon feature that I need to split into &lt;STRONG&gt;x&lt;/STRONG&gt; number of equal area features. I need to be able to have the divisions be something other than north/south or east/west.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="text-decoration: underline;"&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The black polygon in this case needs to be divided into 3 equal area polygons. I manually split these, but I need it to be more precise and the splits need to be aligned in parallel to each other. They need to be able to be calculated with an angle/rotation specification, and not just&amp;nbsp;&lt;SPAN&gt;north/south or east/west.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Irregular polygon of equal areas" class="image-4 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/392922_Untitled.png" style="width: 620px; height: 474px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="text-decoration: underline;"&gt;&lt;STRONG&gt;What I have tried:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://tereshenkov.wordpress.com/2017/09/10/dividing-a-polygon-into-a-given-number-of-equal-areas-with-arcpy/"&gt;This excellent code is the closest I have gotten to splitting an irregular polygon up into equal areas&lt;/A&gt;. Unfortunately, it only runs for &lt;SPAN&gt;north/south or east/west&lt;/SPAN&gt; lines. I can't figure out how to rotate it and I don't have enough coding experience/time to efficiently edit it for my needs.&lt;BR /&gt;&lt;IMG alt="" class="image-3 jive-image j-img-original" src="https://i.stack.imgur.com/wnAni.png" style="width: 620px; height: 267px;" /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;Fishnet Tool (&lt;SPAN&gt;as&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;suggested by&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/message/93973"&gt;this&lt;/A&gt;, &lt;A _jive_internal="true" href="https://community.esri.com/message/46705?q=Divide%20irregular%20polygon%20into%20equal%20areas"&gt;this&lt;/A&gt;, &lt;A _jive_internal="true" href="https://community.esri.com/thread/45459"&gt;this&lt;/A&gt;, and &lt;A href="https://gis.stackexchange.com/questions/3130/how-to-split-a-polygon-into-multiple-equal-width-polygons-in-arcmap-10"&gt;this&lt;/A&gt;) and this has an angle of rotation. However, this creates a grid, but not equal areas. Also, it is for the feature extent not shape.&lt;/LI&gt;&lt;LI&gt;I cannot use the Parcel Fabrics tool (as suggested by&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/message/93973"&gt;this&lt;/A&gt;, &lt;A href="https://gis.stackexchange.com/questions/3130/how-to-split-a-polygon-into-multiple-equal-width-polygons-in-arcmap-10"&gt;this&lt;/A&gt;, &lt;A href="https://gis.stackexchange.com/questions/34234/splitting-landcover-polygons-parcels-into-equal-sizes-while-retaining-road-ac"&gt;this&lt;/A&gt;, and &lt;A _jive_internal="true" href="https://community.esri.com/thread/45459"&gt;this&lt;/A&gt;)&amp;nbsp;as I don't have the necessary licensing for it.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It really blows my mind that this isn't a tool that exists/is readily available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice/suggestions is welcomed. Or, if you really want to be a super hero, &lt;A href="https://tereshenkov.wordpress.com/2017/09/10/dividing-a-polygon-into-a-given-number-of-equal-areas-with-arcpy/"&gt;edit the code so I can specify an angle for rotation&lt;/A&gt;. Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 21:20:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/divide-irregular-polygon-into-equal-areas-by-angle/m-p/86939#M2991</guid>
      <dc:creator>pokateo_</dc:creator>
      <dc:date>2018-01-15T21:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Divide irregular polygon into equal areas by angle</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/divide-irregular-polygon-into-equal-areas-by-angle/m-p/86940#M2992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for the hero that wants to take it on, it is far easier to rotate polygon by the desired rotation angle, proceed with Alex's implementation, then rotate result back. &amp;nbsp;&lt;/P&gt;&lt;P&gt;This will work with projected coordinates.&amp;nbsp; Take the polygon, subtract the centroid value from the polygon points (ie a translation to the origin).&amp;nbsp; Rotate by your desired angle (rotation).&amp;nbsp; Do the work (rotate the reverse) and translate back to the original location.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 21:54:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/divide-irregular-polygon-into-equal-areas-by-angle/m-p/86940#M2992</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-01-15T21:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Divide irregular polygon into equal areas by angle</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/divide-irregular-polygon-into-equal-areas-by-angle/m-p/86941#M2993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd stick to editing Alex Tereshenko's code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main thing to edit is the template line coordinates used for cutting&amp;nbsp;the polygons:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;pnt_arr&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;add&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Point&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;x_min&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; y_max&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;# top left&lt;/SPAN&gt;
pnt_arr&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;add&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Point&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;x_min&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; y_min&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;# bottom left‍‍‍‍&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;&lt;SPAN&gt;Suppose you want a cut line 45 degrees from NW to SE. You'd change the coordinates to:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;x_diff &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; math&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;tan&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;math&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;radians&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;45&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;y_max &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt; y_min&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
pnt_arr&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;add&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Point&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;x_min &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt; x_diff&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; y_max&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
pnt_arr&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;add&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Point&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;x_min&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; y_min&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;&lt;SPAN&gt;... then&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;keep trying cutting as you go right. Like picture below (maybe makes it more confusing...).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;IMG __jive_id="392924" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/392924_pastedImage_5.png" style="width: 312px; height: 153px;" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;&lt;SPAN&gt;Unfortunately, I don't believe there's any way to avoid coding on this one. You'd also have to do some extra coding to accommodate all possible line angles.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:19:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/divide-irregular-polygon-into-equal-areas-by-angle/m-p/86941#M2993</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2021-12-10T23:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Divide irregular polygon into equal areas by angle</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/divide-irregular-polygon-into-equal-areas-by-angle/m-p/86942#M2994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much, Dan!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know why it didn't occur to me to manually rotate it, run the tool, and then rotate it back. That works perfectly. You're the hero I needed but not the one I deserved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 14:30:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/divide-irregular-polygon-into-equal-areas-by-angle/m-p/86942#M2994</guid>
      <dc:creator>pokateo_</dc:creator>
      <dc:date>2018-01-16T14:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Divide irregular polygon into equal areas by angle</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/divide-irregular-polygon-into-equal-areas-by-angle/m-p/86943#M2995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The picture does indeed make it better! Thanks for your thinking on this. I'll play around editing the code with this soon!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 14:31:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/divide-irregular-polygon-into-equal-areas-by-angle/m-p/86943#M2995</guid>
      <dc:creator>pokateo_</dc:creator>
      <dc:date>2018-01-16T14:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Divide irregular polygon into equal areas by angle</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/divide-irregular-polygon-into-equal-areas-by-angle/m-p/86944#M2996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For anybody who runs across this thread and is looking for this functionality, please see &lt;A href="https://community.esri.com/ideas/4211-split-irregular-polygons-into-equal-parts?sr=search&amp;amp;searchId=6b8fe4fa-91c1-48d2-92bb-efeab9706728&amp;amp;searchIndex=2"&gt;Split irregular polygons into equal parts&lt;/A&gt;‌, add your vote and any specific user requirements in the comments.&lt;/P&gt;&lt;P&gt;This idea is Under Consideration for inclusion as a geoprocessing tool in ArcGIS Pro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 21:20:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/divide-irregular-polygon-into-equal-areas-by-angle/m-p/86944#M2996</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2018-01-16T21:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Divide irregular polygon into equal areas by angle</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/divide-irregular-polygon-into-equal-areas-by-angle/m-p/86945#M2997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is great to know! Thanks, Kory. Definitely looking forward to having this integrated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 21:26:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/divide-irregular-polygon-into-equal-areas-by-angle/m-p/86945#M2997</guid>
      <dc:creator>pokateo_</dc:creator>
      <dc:date>2018-01-16T21:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Divide irregular polygon into equal areas by angle</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/divide-irregular-polygon-into-equal-areas-by-angle/m-p/86946#M2998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ArcGIS Pro now has this tool to divide polygons into equal areas:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/subdivide-polygon.htm" title="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/subdivide-polygon.htm"&gt;Subdivide Polygon—Data Management toolbox | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jan 2020 03:27:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/divide-irregular-polygon-into-equal-areas-by-angle/m-p/86946#M2998</guid>
      <dc:creator>SergeyTolstov</dc:creator>
      <dc:date>2020-01-18T03:27:50Z</dc:date>
    </item>
  </channel>
</rss>

