<?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: Densifiy a Circle in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/densifiy-a-circle/m-p/878433#M5531</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The oblongness could be a visual artifact, i.e., the shape isn't actually oblong but appears that way on the screen, or it could be the original circle isn't true because it is based on 2 points but can only be displayed as a true circle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would check the areas, perimeters, and coordinates of where the two shapes cross axes.&amp;nbsp; That will at least help inform whether the oblongness is purely visual or whether the shapes are changing during densification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, 1 millimeter vertices is crazy dense.&amp;nbsp; What if you densify at 1 decimeter, 1 meter, etc...&amp;nbsp; Does the oblongness get less or more?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Dec 2017 16:11:36 GMT</pubDate>
    <dc:creator>JoshuaBixby</dc:creator>
    <dc:date>2017-12-16T16:11:36Z</dc:date>
    <item>
      <title>Densifiy a Circle</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/densifiy-a-circle/m-p/878428#M5526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot get any of the density functions to work correctly on a true circle.&amp;nbsp; I simple want to draw a circle using the Circle create feature tool, then turn that circle into many points.&amp;nbsp; I want to do this, because i have found that when clipping and getting the difference of two circles, it works better if they are densified.&amp;nbsp; The problem is, is that everytime I try any of the 4 densify functions in Pro SDK, the circles turn into Oblong ovals.&amp;nbsp; I need them to preserve their circular shape, but have many vertices.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ArcObjects I simply did this&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;newPolygon&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Densify&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0001&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0001&lt;/SPAN&gt;&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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But in ArcGIS Pro, i cant get anything to work quite like that?&amp;nbsp; They all turn into ovals, not the true circle&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;densifyPolygon &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; GeometryEngine&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Instance&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GeodeticDensifyByDeviation&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;densifyPolygon&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0001&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;LinearUnit&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Feet&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;GeodeticCurveType&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Geodesic&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
densifyPolygon &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; GeometryEngine&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Instance&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;DensifyByLength&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;densifyPolygon&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;01&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
densifyPolygon &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; GeometryEngine&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Instance&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;DensifyByDeviation&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;densifyPolygon&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0001&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

etc&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&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;/SPAN&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 11:02:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/densifiy-a-circle/m-p/878428#M5526</guid>
      <dc:creator>MKa</dc:creator>
      <dc:date>2021-12-12T11:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Densifiy a Circle</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/densifiy-a-circle/m-p/878429#M5527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What projection are you using and how large are these circles?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 21:14:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/densifiy-a-circle/m-p/878429#M5527</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-12-15T21:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Densifiy a Circle</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/densifiy-a-circle/m-p/878430#M5528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These circles represent an irrigation system in an agriculture field. So around 200-400m in diameter.&amp;nbsp; The projection is UTM with the meridian centered for that area where the fields are at to best preserve distance.&amp;nbsp; Is there a particular projection that would be best for this that would preserve the circle during the densify procedure?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Dec 2017 13:32:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/densifiy-a-circle/m-p/878430#M5528</guid>
      <dc:creator>MKa</dc:creator>
      <dc:date>2017-12-16T13:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Densifiy a Circle</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/densifiy-a-circle/m-p/878431#M5529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;a densification of 0.001 would represent 1 millimeter if your file is indeed in a utm projection... perhaps specify your densification in units appropriate to the circumference of the circle.&amp;nbsp; most arc* based circles use an n-gon of 360 points to represent a circle.&amp;nbsp; You can calculate your current point spacing from the circumference/360 then you can space appropriately&lt;/P&gt;&lt;P&gt;Now... if the file is actually in decimal degrees... project it to UTM first since guessing spacing from arc-seconds is less than desirable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Dec 2017 13:59:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/densifiy-a-circle/m-p/878431#M5529</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-12-16T13:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Densifiy a Circle</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/densifiy-a-circle/m-p/878432#M5530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My users use the Circle tool from the editing tool bar to draw the circle via heads up digitizing.&amp;nbsp; But I need this circle to be converted from the 2 points of a circle, to a densified circle~ of points.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem can be recreated by taking the circle created using the out of box circle edit tool, then in the onRowCreated event try to densify it.&amp;nbsp; I always get the oblong circle or oval.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Dec 2017 14:16:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/densifiy-a-circle/m-p/878432#M5530</guid>
      <dc:creator>MKa</dc:creator>
      <dc:date>2017-12-16T14:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Densifiy a Circle</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/densifiy-a-circle/m-p/878433#M5531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The oblongness could be a visual artifact, i.e., the shape isn't actually oblong but appears that way on the screen, or it could be the original circle isn't true because it is based on 2 points but can only be displayed as a true circle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would check the areas, perimeters, and coordinates of where the two shapes cross axes.&amp;nbsp; That will at least help inform whether the oblongness is purely visual or whether the shapes are changing during densification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, 1 millimeter vertices is crazy dense.&amp;nbsp; What if you densify at 1 decimeter, 1 meter, etc...&amp;nbsp; Does the oblongness get less or more?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Dec 2017 16:11:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/densifiy-a-circle/m-p/878433#M5531</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-12-16T16:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Densifiy a Circle</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/densifiy-a-circle/m-p/878434#M5532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the circle is oblong, then I suspect that the map viewer is in geographic coordinates and not in a projected coordinate system like UTM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Dec 2017 19:43:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/densifiy-a-circle/m-p/878434#M5532</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-12-16T19:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Densifiy a Circle</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/densifiy-a-circle/m-p/878435#M5533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for all of your help.&amp;nbsp; I think I have the solution now.&amp;nbsp; It was a combination of my projection before and after the densify was executed.&amp;nbsp;&amp;nbsp;Additionally, using 1m distance was more than sufficient for my needs.&amp;nbsp; I projected my item to WebMercator, then densified, then projected back to my original Spatial Reference.&amp;nbsp; I need to still check that the shape was correctly preserved, but this seemed to do the trick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;SpatialReference previousSR &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; densifyPolygon&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SpatialReference&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;//Need to get to WebMercator in order to get the circle the same&lt;/SPAN&gt;
densifyPolygon &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; GeometryEngine&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Instance&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Project&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;densifyPolygon&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; SpatialReferences&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;WebMercator&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
densifyPolygon &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; GeometryEngine&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Instance&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;DensifyByLength&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;densifyPolygon&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
densifyPolygon &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; GeometryEngine&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Instance&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Project&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;densifyPolygon&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; previousSR&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

_dataInspector&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Shape &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; densifyPolygon&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 11:02:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/densifiy-a-circle/m-p/878435#M5533</guid>
      <dc:creator>MKa</dc:creator>
      <dc:date>2021-12-12T11:02:59Z</dc:date>
    </item>
  </channel>
</rss>

