<?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: how to use simplifyGeometry? in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-use-simplifygeometry/m-p/292494#M2626</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could you please try initializing geometry with spatial reference?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please go through &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/runtime-ios-sdk/concepts/index.html#/Geometry_Operations/00pw00000066000000/"&gt;Geometry Operations&lt;/A&gt;&lt;SPAN&gt; document. It explains each operation. After going through document, let me know if you still have any question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Nov 2012 15:36:32 GMT</pubDate>
    <dc:creator>NimeshJarecha</dc:creator>
    <dc:date>2012-11-06T15:36:32Z</dc:date>
    <item>
      <title>how to use simplifyGeometry?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-use-simplifygeometry/m-p/292493#M2625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi,I've used [AGSGeometryEngine simplifyGeometry:] to simplify a ployline like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; AGSGeometryEngine *engine=[AGSGeometryEngine defaultGeometryEngine];
&amp;nbsp;&amp;nbsp;&amp;nbsp; AGSMutablePolyline *line=[[AGSMutablePolyline alloc]init];
&amp;nbsp;&amp;nbsp;&amp;nbsp; // path 1
&amp;nbsp;&amp;nbsp;&amp;nbsp; [line addPathToPolyline];
&amp;nbsp;&amp;nbsp;&amp;nbsp; // point 1
&amp;nbsp;&amp;nbsp;&amp;nbsp; [line addPointToPath:[AGSPoint pointWithX:0 y:0 spatialReference:nil]];
&amp;nbsp;&amp;nbsp;&amp;nbsp; // point 2
&amp;nbsp;&amp;nbsp;&amp;nbsp; [line addPointToPath:[AGSPoint pointWithX:100 y:100 spatialReference:nil]];
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; // path 2
&amp;nbsp;&amp;nbsp;&amp;nbsp; [line addPathToPolyline];
&amp;nbsp;&amp;nbsp;&amp;nbsp; // point 3
&amp;nbsp;&amp;nbsp;&amp;nbsp; [line addPointToPath:[AGSPoint pointWithX:0 y:100 spatialReference:nil]];
&amp;nbsp;&amp;nbsp;&amp;nbsp; // point 4
&amp;nbsp;&amp;nbsp;&amp;nbsp; [line addPointToPath:[AGSPoint pointWithX:100 y:0 spatialReference:nil]];

&amp;nbsp;&amp;nbsp;&amp;nbsp; AGSMutablePolyline *x=(AGSMutablePolyline*)[engine simplifyGeometry:line];
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;the variable "line" 's two paths is crossed,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but the simplify result variable "x" 's paths is same to "line".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;why? thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 05:28:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-use-simplifygeometry/m-p/292493#M2625</guid>
      <dc:creator>___11</dc:creator>
      <dc:date>2012-11-06T05:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to use simplifyGeometry?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-use-simplifygeometry/m-p/292494#M2626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could you please try initializing geometry with spatial reference?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please go through &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/runtime-ios-sdk/concepts/index.html#/Geometry_Operations/00pw00000066000000/"&gt;Geometry Operations&lt;/A&gt;&lt;SPAN&gt; document. It explains each operation. After going through document, let me know if you still have any question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 15:36:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-to-use-simplifygeometry/m-p/292494#M2626</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-11-06T15:36:32Z</dc:date>
    </item>
  </channel>
</rss>

