<?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 IFeature::Store not same for circle and square in GCS in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/ifeature-store-not-same-for-circle-and-square-in/m-p/201924#M5251</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using C#.net. I have come across a typical situation. The scene goes like as below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Add a graphic to Arc Map using native native drawing tool. Add one circle and one square/rectangle/any shaped polygon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Select the any one graphic. In code, I take geometry of that graphic, use IArea::area and get the area. say Area1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Convert the selected graphic to feature using native tools. Select the converted new feature. Take the geometry of feature. Use IArea::area and get the area. Say Area2. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Now if the graphic is circle then Area1 is not equal to Area2 while if the graphic is sqaure/rectangle/any other shaped polygon, then Area1 = Area2.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Apr 2010 05:47:56 GMT</pubDate>
    <dc:creator>AbhijeetKulkarni</dc:creator>
    <dc:date>2010-04-05T05:47:56Z</dc:date>
    <item>
      <title>IFeature::Store not same for circle and square in GCS</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/ifeature-store-not-same-for-circle-and-square-in/m-p/201924#M5251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using C#.net. I have come across a typical situation. The scene goes like as below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Add a graphic to Arc Map using native native drawing tool. Add one circle and one square/rectangle/any shaped polygon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Select the any one graphic. In code, I take geometry of that graphic, use IArea::area and get the area. say Area1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Convert the selected graphic to feature using native tools. Select the converted new feature. Take the geometry of feature. Use IArea::area and get the area. Say Area2. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Now if the graphic is circle then Area1 is not equal to Area2 while if the graphic is sqaure/rectangle/any other shaped polygon, then Area1 = Area2.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Apr 2010 05:47:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/ifeature-store-not-same-for-circle-and-square-in/m-p/201924#M5251</guid>
      <dc:creator>AbhijeetKulkarni</dc:creator>
      <dc:date>2010-04-05T05:47:56Z</dc:date>
    </item>
    <item>
      <title>IFeature::Store not same for circle and square in GCS</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/ifeature-store-not-same-for-circle-and-square-in/m-p/201925#M5252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How big is the difference?&amp;nbsp; I believe the geometry will be snapped to the spatial reference of the feature class when the feature is stored.&amp;nbsp; This may cause a slight variation from the original area.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Apr 2010 11:58:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/ifeature-store-not-same-for-circle-and-square-in/m-p/201925#M5252</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2010-04-05T11:58:50Z</dc:date>
    </item>
    <item>
      <title>IFeature::Store not same for circle and square in GCS</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/ifeature-store-not-same-for-circle-and-square-in/m-p/201926#M5253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well the difference in my case is 100+ Acres.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Apr 2010 13:49:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/ifeature-store-not-same-for-circle-and-square-in/m-p/201926#M5253</guid>
      <dc:creator>AbhijeetKulkarni</dc:creator>
      <dc:date>2010-04-05T13:49:14Z</dc:date>
    </item>
    <item>
      <title>IFeature::Store not same for circle and square in GCS</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/ifeature-store-not-same-for-circle-and-square-in/m-p/201927#M5254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So what exactly are you doing?&amp;nbsp; You mention that you're using native tools to draw the graphic and to convert the graphic into a feature.&amp;nbsp; If so, then you aren't doing it in code so you aren't calling IFeature::Store.&amp;nbsp; If you are converting the graphic to a feature using code, then post your code and I'll take a look at it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Apr 2010 14:15:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/ifeature-store-not-same-for-circle-and-square-in/m-p/201927#M5254</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2010-04-05T14:15:06Z</dc:date>
    </item>
    <item>
      <title>IFeature::Store not same for circle and square in GCS</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/ifeature-store-not-same-for-circle-and-square-in/m-p/201928#M5255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry to mention the steps in bit wrong way. Step no 3 is -&amp;gt; get the geometry of selected graphic. assign it to pFeature.shape and few steps to add attributes and finally pFeature.store(). I am getting the geometry of selected graphic by using IGraphicscontainer,IGraphicscontainerSelect, IGroupElement and IElement. so PFeature.shape = pElement.geometry; and pFeature.store();&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Apr 2010 15:19:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/ifeature-store-not-same-for-circle-and-square-in/m-p/201928#M5255</guid>
      <dc:creator>AbhijeetKulkarni</dc:creator>
      <dc:date>2010-04-05T15:19:44Z</dc:date>
    </item>
    <item>
      <title>IFeature::Store not same for circle and square in GCS</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/ifeature-store-not-same-for-circle-and-square-in/m-p/201929#M5256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The elements in the map's graphics container should have the same spatial reference as the map.&amp;nbsp; If this spatial reference is different from the spatial reference of the feature class you're adding the feature to, then you should project the geometry into the spatial reference of the feature class.&amp;nbsp; Do the map and feature class have different spatial references?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Apr 2010 15:41:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/ifeature-store-not-same-for-circle-and-square-in/m-p/201929#M5256</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2010-04-05T15:41:04Z</dc:date>
    </item>
    <item>
      <title>IFeature::Store not same for circle and square in GCS</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/ifeature-store-not-same-for-circle-and-square-in/m-p/201930#M5257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Neil &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the spatial reference is same for all.There is no spatial reference issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Apr 2010 00:18:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/ifeature-store-not-same-for-circle-and-square-in/m-p/201930#M5257</guid>
      <dc:creator>AbhijeetKulkarni</dc:creator>
      <dc:date>2010-04-06T00:18:53Z</dc:date>
    </item>
  </channel>
</rss>

