<?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 can we determine minimum bounding rectangle in Arcgis? in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-determine-minimum-bounding-rectangle-in/m-p/684084#M6076</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Coordinates look normal, they point to Indore India for the WGS_1984_Web_Mercator_Auxiliary_Sphere projected coordinate system. You mention that you are converting the coordinates into ArcGIS coordinates. What do you exactly mean by that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The spatial reference you mentioned applies for the map and the polygon layer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another question; if the polygons reside in the same featureclass (layer) does the &lt;STRONG&gt;fullEnvelope &lt;/STRONG&gt;property in the &lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_layer.html" title="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_layer.html"&gt;10.2.5: AGSLayer Class Reference&lt;/A&gt; not work for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Feb 2016 14:17:28 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2016-02-23T14:17:28Z</dc:date>
    <item>
      <title>How can we determine minimum bounding rectangle in Arcgis?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-determine-minimum-bounding-rectangle-in/m-p/684077#M6069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If we have multiple polygons and we want to calculate the minimum bounding rectangle, how can we do this?&lt;/P&gt;&lt;P&gt;In the native iOS it's done &lt;A href="http://stackoverflow.com/questions/1303265/algorithm-for-determining-minimum-bounding-rectangle-for-collection-of-latitude"&gt;http://stackoverflow.com/questions/1303265/algorithm-for-determining-minimum-bounding-rectangle-for-collection-of-latitude&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 07:21:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-determine-minimum-bounding-rectangle-in/m-p/684077#M6069</guid>
      <dc:creator>Hemant_SinghRathore</dc:creator>
      <dc:date>2016-02-23T07:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: How can we determine minimum bounding rectangle in Arcgis?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-determine-minimum-bounding-rectangle-in/m-p/684078#M6070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't worked with the Runtime SDK for iOS, but I just had a look at the documentation and the &lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_polygon.html" title="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_polygon.html"&gt;10.2.5: AGSPolygon Class Reference&lt;/A&gt; has a property envelope that returns a &lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_envelope.html" title="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_envelope.html"&gt;10.2.5: AGSEnvelope Class Reference&lt;/A&gt; . I would have expected to find methods for the union of envelopes, but for some reason I only see methods for intersecting envelopes. Anyway, you can use the methods provided in the page you referenced,&amp;nbsp; extracting the xmin, ymin, xmax, ymax properties of the AGSEnvelope. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 11:53:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-determine-minimum-bounding-rectangle-in/m-p/684078#M6070</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2016-02-23T11:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: How can we determine minimum bounding rectangle in Arcgis?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-determine-minimum-bounding-rectangle-in/m-p/684079#M6071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I have already tried that and I was able to get the min and max value but while plotting those values on the arcgis map.&lt;BR /&gt;Map is throwing the below exception:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;​&lt;STRONG&gt;libc++abi.dylib: terminating with uncaught exception of type Esri_runtimecore::Common::Out_of_range_exception: Out of range&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 12:09:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-determine-minimum-bounding-rectangle-in/m-p/684079#M6071</guid>
      <dc:creator>Hemant_SinghRathore</dc:creator>
      <dc:date>2016-02-23T12:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: How can we determine minimum bounding rectangle in Arcgis?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-determine-minimum-bounding-rectangle-in/m-p/684080#M6072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As mentioned before I have no experience with the Runtime SDK for iOS, but I would verify the spatial reference of the map, the envelope and polygons. I you are inserting projected coordinates (large values) and these are being interpreted as geographic coordinates, this may cause these type of problems. Or if for some reason a value is not set of the output bounding envelope, this could also be the cause. Have you verified the values?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 12:14:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-determine-minimum-bounding-rectangle-in/m-p/684080#M6072</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2016-02-23T12:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can we determine minimum bounding rectangle in Arcgis?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-determine-minimum-bounding-rectangle-in/m-p/684081#M6073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/147639"&gt;Xander Bakker&lt;/A&gt;​ Thanks for your help.&lt;BR /&gt;Yes i have debug the values and my code is correctly converting the coordinates into Arcgis coordinates.&lt;BR /&gt;I guess my code is correctly getting the min and max coordinates but due to some reason code is throwing exception while using those values with Arcgis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 12:23:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-determine-minimum-bounding-rectangle-in/m-p/684081#M6073</guid>
      <dc:creator>Hemant_SinghRathore</dc:creator>
      <dc:date>2016-02-23T12:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: How can we determine minimum bounding rectangle in Arcgis?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-determine-minimum-bounding-rectangle-in/m-p/684082#M6074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you list the values you obtain and the spatial reference? I think this info might be helpful for someone with knowledge of the SDK to see what might be going wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 12:36:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-determine-minimum-bounding-rectangle-in/m-p/684082#M6074</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2016-02-23T12:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: How can we determine minimum bounding rectangle in Arcgis?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-determine-minimum-bounding-rectangle-in/m-p/684083#M6075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here are the values x = 8435479.317740, y = 2595778.804307, spatial reference: [AGSSpatialReference: wkid = 3857]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 13:02:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-determine-minimum-bounding-rectangle-in/m-p/684083#M6075</guid>
      <dc:creator>Hemant_SinghRathore</dc:creator>
      <dc:date>2016-02-23T13:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can we determine minimum bounding rectangle in Arcgis?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-determine-minimum-bounding-rectangle-in/m-p/684084#M6076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Coordinates look normal, they point to Indore India for the WGS_1984_Web_Mercator_Auxiliary_Sphere projected coordinate system. You mention that you are converting the coordinates into ArcGIS coordinates. What do you exactly mean by that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The spatial reference you mentioned applies for the map and the polygon layer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another question; if the polygons reside in the same featureclass (layer) does the &lt;STRONG&gt;fullEnvelope &lt;/STRONG&gt;property in the &lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_layer.html" title="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_layer.html"&gt;10.2.5: AGSLayer Class Reference&lt;/A&gt; not work for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 14:17:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-determine-minimum-bounding-rectangle-in/m-p/684084#M6076</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2016-02-23T14:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can we determine minimum bounding rectangle in Arcgis?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-determine-minimum-bounding-rectangle-in/m-p/684085#M6077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To get min bounding rectangle of a bunch of geometries, you should union them together using the geometry engine - &lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_geometry_engine.html#a813c367a8c4ac9d9e1f11a26b6a4abca" title="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_geometry_engine.html#a813c367a8c4ac9d9e1f11a26b6a4abca"&gt;10.2.5: AGSGeometryEngine Union&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;You can then use the envelope of the resulting geometry&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 05:55:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-determine-minimum-bounding-rectangle-in/m-p/684085#M6077</guid>
      <dc:creator>DiveshGoyal</dc:creator>
      <dc:date>2016-02-24T05:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: How can we determine minimum bounding rectangle in Arcgis?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-determine-minimum-bounding-rectangle-in/m-p/684086#M6078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help &lt;A href="https://community.esri.com/migrated-users/147639"&gt;Xander Bakker&lt;/A&gt;​, reply from Divesh worked for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 10:26:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-determine-minimum-bounding-rectangle-in/m-p/684086#M6078</guid>
      <dc:creator>Hemant_SinghRathore</dc:creator>
      <dc:date>2016-02-24T10:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can we determine minimum bounding rectangle in Arcgis?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-determine-minimum-bounding-rectangle-in/m-p/684087#M6079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked thanks a ton.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 10:27:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/how-can-we-determine-minimum-bounding-rectangle-in/m-p/684087#M6079</guid>
      <dc:creator>Hemant_SinghRathore</dc:creator>
      <dc:date>2016-02-24T10:27:28Z</dc:date>
    </item>
  </channel>
</rss>

