<?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 convert geometry measurement into meters in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/convert-geometry-measurement-into-meters/m-p/530730#M4562</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi I have a polyline that I'm drawing on the map and I'd like to calculate its length in meters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently I do this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
distanceSeg=new Polyline();
double&amp;nbsp; len1=distanceSeg.calculateLength2D();
double m_len=Unit.convertUnits(len1, Unit.create(AngularUnit.Code.DEGREE) ,Unit.create(LinearUnit.Code.METER));&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but the call to Unit.convertUnits throws&amp;nbsp; a GeometryException...any idea what I'm doing wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Sep 2012 10:57:35 GMT</pubDate>
    <dc:creator>alessandroferrucci</dc:creator>
    <dc:date>2012-09-18T10:57:35Z</dc:date>
    <item>
      <title>convert geometry measurement into meters</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/convert-geometry-measurement-into-meters/m-p/530730#M4562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi I have a polyline that I'm drawing on the map and I'd like to calculate its length in meters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently I do this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
distanceSeg=new Polyline();
double&amp;nbsp; len1=distanceSeg.calculateLength2D();
double m_len=Unit.convertUnits(len1, Unit.create(AngularUnit.Code.DEGREE) ,Unit.create(LinearUnit.Code.METER));&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but the call to Unit.convertUnits throws&amp;nbsp; a GeometryException...any idea what I'm doing wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 10:57:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/convert-geometry-measurement-into-meters/m-p/530730#M4562</guid>
      <dc:creator>alessandroferrucci</dc:creator>
      <dc:date>2012-09-18T10:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: convert geometry measurement into meters</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/convert-geometry-measurement-into-meters/m-p/530731#M4563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Which platform are you working with? This forum is for ArcGIS Runtime SDK for iOS. Please post your question in appropriate forum.&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, 18 Sep 2012 15:11:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/convert-geometry-measurement-into-meters/m-p/530731#M4563</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2012-09-18T15:11:29Z</dc:date>
    </item>
  </channel>
</rss>

