<?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: [.NET] Get DTED Data (Elevation) Between Two Points in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/net-get-dted-data-elevation-between-two-points/m-p/309559#M8079</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Dear All,&lt;BR /&gt;&lt;BR /&gt;I want to get DTED data (elevation) between two points (on a line).&lt;BR /&gt;Is there any built-in function for this purpose or I should implement it on my own?&lt;BR /&gt;&lt;BR /&gt;What I want is similar to Linear Line of Sight (LLOS), but it should be on a &lt;SPAN style="text-decoration:underline;"&gt;direct&lt;/SPAN&gt; line. I want to check if there is collision between two points or not.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;Sincerely&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This might be a junk solution..given two points, you could divide the line joining source and destination points into very minute equal distanced sampling points, get the elevation at each sampling point. Then calculate slopes at every consecutive points and compare with next set of consecutive points. For example there are 3 consecutive sampling points A, B,C and say the slope or Tan theta between A and B is 60 degrees, slope between B and C is 120 degrees .. then A is not in LLOS with C. This is how Line of sight algorithm works internally.. you need to repeat this process with all sampling points and assign green and Red colors appropriately for those in LLOS and not in LLOS respectively. I had gone through Line of Sight AML in ArcInfo Workstation few years back and this is how it works internally. Hope this helps &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pavan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Apr 2013 06:29:32 GMT</pubDate>
    <dc:creator>Santosh_Pavan_KumarNukala</dc:creator>
    <dc:date>2013-04-05T06:29:32Z</dc:date>
    <item>
      <title>[.NET] Get DTED Data (Elevation) Between Two Points</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/net-get-dted-data-elevation-between-two-points/m-p/309558#M8078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to get DTED data (elevation) between two points (on a line).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any built-in function for this purpose or I should implement it on my own?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I want is similar to Linear Line of Sight (LLOS), but it should be on a &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;direct&lt;/SPAN&gt;&lt;SPAN&gt; line. I want to check if there is collision between two points or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sincerely&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 14:10:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/net-get-dted-data-elevation-between-two-points/m-p/309558#M8078</guid>
      <dc:creator>oyleiste</dc:creator>
      <dc:date>2013-04-04T14:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: [.NET] Get DTED Data (Elevation) Between Two Points</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/net-get-dted-data-elevation-between-two-points/m-p/309559#M8079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Dear All,&lt;BR /&gt;&lt;BR /&gt;I want to get DTED data (elevation) between two points (on a line).&lt;BR /&gt;Is there any built-in function for this purpose or I should implement it on my own?&lt;BR /&gt;&lt;BR /&gt;What I want is similar to Linear Line of Sight (LLOS), but it should be on a &lt;SPAN style="text-decoration:underline;"&gt;direct&lt;/SPAN&gt; line. I want to check if there is collision between two points or not.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;Sincerely&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This might be a junk solution..given two points, you could divide the line joining source and destination points into very minute equal distanced sampling points, get the elevation at each sampling point. Then calculate slopes at every consecutive points and compare with next set of consecutive points. For example there are 3 consecutive sampling points A, B,C and say the slope or Tan theta between A and B is 60 degrees, slope between B and C is 120 degrees .. then A is not in LLOS with C. This is how Line of sight algorithm works internally.. you need to repeat this process with all sampling points and assign green and Red colors appropriately for those in LLOS and not in LLOS respectively. I had gone through Line of Sight AML in ArcInfo Workstation few years back and this is how it works internally. Hope this helps &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pavan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 06:29:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/net-get-dted-data-elevation-between-two-points/m-p/309559#M8079</guid>
      <dc:creator>Santosh_Pavan_KumarNukala</dc:creator>
      <dc:date>2013-04-05T06:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: [.NET] Get DTED Data (Elevation) Between Two Points</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/net-get-dted-data-elevation-between-two-points/m-p/309560#M8080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, I did something similar to your suggestion. I create a polyline (which is a single line indeed) using &lt;/SPAN&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;STRONG&gt;TO&lt;/STRONG&gt;&lt;SPAN&gt; points. Then, I get elevation of 100 points between &lt;/SPAN&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;STRONG&gt;TO&lt;/STRONG&gt;&lt;SPAN&gt; points.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works. But I should replace 100 with significant data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you again for your helpful reply. I appreciate it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sincerely&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Apr 2013 07:06:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/net-get-dted-data-elevation-between-two-points/m-p/309560#M8080</guid>
      <dc:creator>oyleiste</dc:creator>
      <dc:date>2013-04-06T07:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: [.NET] Get DTED Data (Elevation) Between Two Points</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/net-get-dted-data-elevation-between-two-points/m-p/309561#M8081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thank you very much for your reply.&lt;BR /&gt;&lt;BR /&gt;Well, I did something similar to your suggestion. I create a polyline (which is a single line indeed) using &lt;STRONG&gt;FROM&lt;/STRONG&gt; and &lt;STRONG&gt;TO&lt;/STRONG&gt; points. Then, I get elevation of 100 points between &lt;STRONG&gt;FROM&lt;/STRONG&gt; and &lt;STRONG&gt;TO&lt;/STRONG&gt; points.&lt;BR /&gt;&lt;BR /&gt;It works. But I should replace 100 with significant data.&lt;BR /&gt;&lt;BR /&gt;Thank you again for your helpful reply. I appreciate it.&lt;BR /&gt;Sincerely&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Fixing the number of Sample points would not be right, in which case the distance between consecutive points might vary depending upon distance between FROM and TO points. The work around I suggest would be instead of taking the number of sampling points as constant (100 in this case), take the interval (in distance) between two successive points as constant. For example assuming the distance between two successive points is 1 meter, if the distance between FROM and TO points is 100 meters, you get 100 sample points, if it is 150 meters you get 150 sample points. In this case you need to calculate the distance between FROM and TWO points and divide with your interval to get number of points. This is better than taking 100 sample points everytime. Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pavan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2013 10:19:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/net-get-dted-data-elevation-between-two-points/m-p/309561#M8081</guid>
      <dc:creator>Santosh_Pavan_KumarNukala</dc:creator>
      <dc:date>2013-04-08T10:19:41Z</dc:date>
    </item>
  </channel>
</rss>

