aditya24

MGRS to Point Method does not work!

Discussion created by aditya24 on Mar 25, 2013
Latest reply on Apr 4, 2013 by njarecha-esristaff
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!
the Error is :

Assertion failed: (m_ptr), function operator->, file /Source/borg/share/SharedArcGIS/Include/GeometryXLib/PlatformBase.h, line 369.

i have tried to put the grid string in many different formats and also to supply the it as following:


AGSPoint *point2 =[geometryEngine pointFromMGRS:[engine mgrsFromPoint:point1 numDigits:9 rounding:NO addSpaces:YES]];

But still the app crashed!

Could you please help me with this!

Thank you

Outcomes