<?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: Geometry could not be set in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/geometry-could-not-be-set/m-p/167784#M1550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;what's erroce code ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Oct 2012 22:20:47 GMT</pubDate>
    <dc:creator>zhangbo</dc:creator>
    <dc:date>2012-10-06T22:20:47Z</dc:date>
    <item>
      <title>Geometry could not be set</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/geometry-could-not-be-set/m-p/167782#M1548</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 am attempting to save geometry from a sketch layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My method /seems/ textbook to me, but perhaps there's something someone can spot that is throwing things off?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;AGSFeatureTemplate *template = [self.geoLayer.templates objectAtIndex:0];// there is only 1 template self.newFeature = [self.geoLayer featureWithTemplate:template]; self.newFeature.geometry = self.sketchLayer.geometry; [self.geoLayer addFeatures:[NSArray arrayWithObject:self.newFeature]];&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This results in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;{ &amp;nbsp;&amp;nbsp;&amp;nbsp; error =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; code = 1015; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; description = "Geometry could not be set."; &amp;nbsp;&amp;nbsp;&amp;nbsp; }; &amp;nbsp;&amp;nbsp;&amp;nbsp; globalId = "&amp;lt;null&amp;gt;"; &amp;nbsp;&amp;nbsp;&amp;nbsp; objectId = 0; &amp;nbsp;&amp;nbsp;&amp;nbsp; success = 0; }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ANY ideas are welcome.&amp;nbsp; Google only produces a list of error codes... nothing else on this error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Sep 2012 01:13:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/geometry-could-not-be-set/m-p/167782#M1548</guid>
      <dc:creator>ChrisRiver</dc:creator>
      <dc:date>2012-09-29T01:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Geometry could not be set</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/geometry-could-not-be-set/m-p/167783#M1549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just to clear this up.&amp;nbsp; It turned out to be an issue with how the feature class spatial reference was set up.&amp;nbsp; I tried adding geometry using the web API tools on the server and got an error indicating that the extent was out of bounds.&amp;nbsp; Once this was cleared up I didn't get the "Geometry could not be set" error message.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 12:29:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/geometry-could-not-be-set/m-p/167783#M1549</guid>
      <dc:creator>ChrisRiver</dc:creator>
      <dc:date>2012-10-01T12:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Geometry could not be set</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/geometry-could-not-be-set/m-p/167784#M1550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;what's erroce code ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Oct 2012 22:20:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/geometry-could-not-be-set/m-p/167784#M1550</guid>
      <dc:creator>zhangbo</dc:creator>
      <dc:date>2012-10-06T22:20:47Z</dc:date>
    </item>
  </channel>
</rss>

