<?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 Features with empty geometry in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/features-with-empty-geometry/m-p/614925#M15825</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a polygon feature class and need to store some times features with shape = null. If I insert an empty-geometry Feature from the Silverlight app, the next time I query features from that feature class, the Geometry of the other Features (with valid polygons) in the app is invalid. For example, extent displays values of NaN. I can see that the JSON response seems to be correct: the Feature comes only with Attributes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also wanted to update a Feature, such that its Geometry gets removed. So I set Geometry to null and call SaveEdits(), but the request doesn't send the Geometry attribute. I tried removing all rings from the polygon, and it didn't work either. Not sure if this actually screwed up my feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How should I deal with this type of requirements?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help will be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Orlando&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jul 2012 15:11:33 GMT</pubDate>
    <dc:creator>OrlandoCarvajal</dc:creator>
    <dc:date>2012-07-19T15:11:33Z</dc:date>
    <item>
      <title>Features with empty geometry</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/features-with-empty-geometry/m-p/614925#M15825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a polygon feature class and need to store some times features with shape = null. If I insert an empty-geometry Feature from the Silverlight app, the next time I query features from that feature class, the Geometry of the other Features (with valid polygons) in the app is invalid. For example, extent displays values of NaN. I can see that the JSON response seems to be correct: the Feature comes only with Attributes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also wanted to update a Feature, such that its Geometry gets removed. So I set Geometry to null and call SaveEdits(), but the request doesn't send the Geometry attribute. I tried removing all rings from the polygon, and it didn't work either. Not sure if this actually screwed up my feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How should I deal with this type of requirements?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help will be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Orlando&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 15:11:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/features-with-empty-geometry/m-p/614925#M15825</guid>
      <dc:creator>OrlandoCarvajal</dc:creator>
      <dc:date>2012-07-19T15:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Features with empty geometry</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/features-with-empty-geometry/m-p/614926#M15826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello there...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps someone from ESRI could give me an idea on what's going on here? Bug? Developer mistake? Lack of functionality? Cannot be replicated?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Orlando&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 13:10:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/features-with-empty-geometry/m-p/614926#M15826</guid>
      <dc:creator>OrlandoCarvajal</dc:creator>
      <dc:date>2012-07-26T13:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Features with empty geometry</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/features-with-empty-geometry/m-p/614927#M15827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't see any techinical issue in what you are doing. I tried both of your usecases on &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/HomelandSecurity/operations/FeatureServer/2"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/HomelandSecurity/operations/FeatureServer/2&lt;/A&gt;&lt;SPAN&gt; and didn't run into any issue. Both cases were successful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For updating I did&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(MyMap.Layers[1] as FeatureLayer).SelectedGraphics.ToList()[0].Geometry = null;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And for adding a new feature,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;private void Button_Click(object sender, RoutedEventArgs e)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Graphic g = new Graphic();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.Attributes["collection_time"] = DateTime.Now;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.Attributes["description"] = "Empty Shape";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (MyMap.Layers[1] as FeatureLayer).Graphics.Add(g);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try a simple usecase using service above and let us know if you find any problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 16:25:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/features-with-empty-geometry/m-p/614927#M15827</guid>
      <dc:creator>PreetiMaske</dc:creator>
      <dc:date>2012-07-26T16:25:59Z</dc:date>
    </item>
  </channel>
</rss>

