<?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 MGRS to Point Method does not work! in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/mgrs-to-point-method-does-not-work/m-p/417207#M3553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i am trying to convert to a AGSPoint from a MGRS grid String. But the function -(AGSPoint*)pointFromMGRS:(NSString*)mgrs; does not return the point! It Crashes the App!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the Error is : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Assertion failed: (m_ptr), function operator-&amp;gt;, file /Source/borg/share/SharedArcGIS/Include/GeometryXLib/PlatformBase.h, line 369.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i have tried to put the grid string in many different formats and also to supply the it as following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; AGSPoint *point2 =[geometryEngine pointFromMGRS:[engine mgrsFromPoint:point1 numDigits:9 rounding:NO addSpaces:YES]];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But still the app crashed!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please help me with this!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Mar 2013 13:01:33 GMT</pubDate>
    <dc:creator>adityamehta</dc:creator>
    <dc:date>2013-03-25T13:01:33Z</dc:date>
    <item>
      <title>MGRS to Point Method does not work!</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/mgrs-to-point-method-does-not-work/m-p/417207#M3553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i am trying to convert to a AGSPoint from a MGRS grid String. But the function -(AGSPoint*)pointFromMGRS:(NSString*)mgrs; does not return the point! It Crashes the App!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the Error is : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Assertion failed: (m_ptr), function operator-&amp;gt;, file /Source/borg/share/SharedArcGIS/Include/GeometryXLib/PlatformBase.h, line 369.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i have tried to put the grid string in many different formats and also to supply the it as following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; AGSPoint *point2 =[geometryEngine pointFromMGRS:[engine mgrsFromPoint:point1 numDigits:9 rounding:NO addSpaces:YES]];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But still the app crashed!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please help me with this!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 13:01:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/mgrs-to-point-method-does-not-work/m-p/417207#M3553</guid>
      <dc:creator>adityamehta</dc:creator>
      <dc:date>2013-03-25T13:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: MGRS to Point Method does not work!</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/mgrs-to-point-method-does-not-work/m-p/417208#M3554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please post MSGR string and point you are using for both methods so I can look into it.&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>Mon, 25 Mar 2013 21:00:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/mgrs-to-point-method-does-not-work/m-p/417208#M3554</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2013-03-25T21:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: MGRS to Point Method does not work!</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/mgrs-to-point-method-does-not-work/m-p/417209#M3555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Nimesh for replying.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Following is the coordinates and value for MGRS i am passing. When i try to get the value for mgrsFromPoint method i get "40R BN 38 09" and this is the same MGRS coordinate string i pass for the pointToMGRS method which again returns the above mentioned error!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AGSPoint *point=[[AGSPoint alloc]initWithX:54.4166351 y:24.4787678 spatialReference:self.mapView.spatialReference];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NSLog(@"%@",[engine mgrsFromPoint:point numDigits:2 rounding:NO addSpaces:YES]);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NSLog(@"%@",[engine pointFromMGRS:@"40R BN 38 09"]);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note : I am using the ArcGIS Runtime SDK for iOS v 2.3.2 for my project. I even tried if this works in 10.1.1 but the same error came up. Please help. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Aditya&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 04:38:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/mgrs-to-point-method-does-not-work/m-p/417209#M3555</guid>
      <dc:creator>adityamehta</dc:creator>
      <dc:date>2013-03-26T04:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: MGRS to Point Method does not work!</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/mgrs-to-point-method-does-not-work/m-p/417210#M3556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the info. I'll look into it.&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, 26 Mar 2013 22:18:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/mgrs-to-point-method-does-not-work/m-p/417210#M3556</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2013-03-26T22:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: MGRS to Point Method does not work!</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/mgrs-to-point-method-does-not-work/m-p/417211#M3557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I confirm that this is a bug. We'll fix it in the future version of the SDK.&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>Thu, 04 Apr 2013 19:24:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/mgrs-to-point-method-does-not-work/m-p/417211#M3557</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2013-04-04T19:24:09Z</dc:date>
    </item>
  </channel>
</rss>

