<?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: Convert geographic units (decimal degrees) to meters in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/convert-geographic-units-decimal-degrees-to-meters/m-p/226690#M5907</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I said "If i convert some distance from meters to map units and reverse (even if i define the same start point and azimuth) i get different values of input and output."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It means when i convert 10000 meters to degrees and reverse i don't get 10000 meters as a result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Off course the results i get is deterministic.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Aug 2011 14:17:16 GMT</pubDate>
    <dc:creator>DimaShats</dc:creator>
    <dc:date>2011-08-04T14:17:16Z</dc:date>
    <item>
      <title>Convert geographic units (decimal degrees) to meters</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/convert-geographic-units-decimal-degrees-to-meters/m-p/226688#M5905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My application uses ArcEngine 10.0. The spatial reference of the data is&amp;nbsp; WGS84 Geo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to calculate the distance between objects in meters. For this purpose i use pe_geodesic_distance function from pe.dll.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to perform queries "find all objects in 100 meters distance and azimuth 45 degrees" also.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For converting meters to map units (degrees) i use pe_geodesic_coordinate function from pe.dll.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I define the center point of calculation and find another point in given azimuth. After this action i calculate the distance in map units (degrees) between two points (simple Euclidean distance). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If i convert some distance from meters to map units and reverse (even if i define the same start point&amp;nbsp; and azimuth) i get different values of input and output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am i wrong when i use simple Euclidean distance while meters-&amp;gt;degree conversion?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did anybody implement something like this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dima Shats ??? GIS Software Infrastructure Team Leader&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ness Technologies&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2011 13:03:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/convert-geographic-units-decimal-degrees-to-meters/m-p/226688#M5905</guid>
      <dc:creator>DimaShats</dc:creator>
      <dc:date>2011-08-02T13:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Convert geographic units (decimal degrees) to meters</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/convert-geographic-units-decimal-degrees-to-meters/m-p/226689#M5906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Something is strange here, computers are deterministic, if you user same input and get different outputs.:confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Verify that points you use are using same spatial reference, use SnapToSpatialReference to be sure coordinates are within resolution and on the map grid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Other approach is to create Line by points and get Length from line.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards Dubravko&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2011 18:31:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/convert-geographic-units-decimal-degrees-to-meters/m-p/226689#M5906</guid>
      <dc:creator>DubravkoAntonic</dc:creator>
      <dc:date>2011-08-02T18:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Convert geographic units (decimal degrees) to meters</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/convert-geographic-units-decimal-degrees-to-meters/m-p/226690#M5907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I said "If i convert some distance from meters to map units and reverse (even if i define the same start point and azimuth) i get different values of input and output."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It means when i convert 10000 meters to degrees and reverse i don't get 10000 meters as a result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Off course the results i get is deterministic.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 14:17:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/convert-geographic-units-decimal-degrees-to-meters/m-p/226690#M5907</guid>
      <dc:creator>DimaShats</dc:creator>
      <dc:date>2011-08-04T14:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Convert geographic units (decimal degrees) to meters</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/convert-geographic-units-decimal-degrees-to-meters/m-p/226691#M5908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That is deterministic enough &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Transformation and rounding at decimal places takes therir price.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 18:24:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/convert-geographic-units-decimal-degrees-to-meters/m-p/226691#M5908</guid>
      <dc:creator>DubravkoAntonic</dc:creator>
      <dc:date>2011-08-04T18:24:08Z</dc:date>
    </item>
  </channel>
</rss>

