<?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 Elevation differences between ArcMap and Pro in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/elevation-differences-between-arcmap-and-pro/m-p/1112522#M7305</link>
    <description>&lt;P&gt;I'm converting a Line of Sight process from ArcMap to Pro, and I'm getting different elevation values between them for the same XY point. Using the same 10-meter DEM between the programs will return values that are up to 0.5 units apart (feet, in this case). It doesn't sound like much, but it can produce results that are drastically different because the LOS may barely make it over a rise in one program but not another. One program isn't consistently higher than another, unfortunately. I'm using &lt;A href="https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#ISurface_GetElevation.htm" target="_self"&gt;ISurface.GetElevation&lt;/A&gt; in ArcMap and &lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/#topic14902.html" target="_self"&gt;Map.GetZsFromSurfaceAsync&lt;/A&gt; in Pro.&lt;/P&gt;&lt;P&gt;Are the interpolation methods different between the tools? I haven't been able to find any documentation about why the process would return a different value. Is there another method to call that would yield the same results as ArcMap?&lt;/P&gt;</description>
    <pubDate>Fri, 29 Oct 2021 19:19:16 GMT</pubDate>
    <dc:creator>tempStephenRhea_NV5</dc:creator>
    <dc:date>2021-10-29T19:19:16Z</dc:date>
    <item>
      <title>Elevation differences between ArcMap and Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/elevation-differences-between-arcmap-and-pro/m-p/1112522#M7305</link>
      <description>&lt;P&gt;I'm converting a Line of Sight process from ArcMap to Pro, and I'm getting different elevation values between them for the same XY point. Using the same 10-meter DEM between the programs will return values that are up to 0.5 units apart (feet, in this case). It doesn't sound like much, but it can produce results that are drastically different because the LOS may barely make it over a rise in one program but not another. One program isn't consistently higher than another, unfortunately. I'm using &lt;A href="https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#ISurface_GetElevation.htm" target="_self"&gt;ISurface.GetElevation&lt;/A&gt; in ArcMap and &lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/#topic14902.html" target="_self"&gt;Map.GetZsFromSurfaceAsync&lt;/A&gt; in Pro.&lt;/P&gt;&lt;P&gt;Are the interpolation methods different between the tools? I haven't been able to find any documentation about why the process would return a different value. Is there another method to call that would yield the same results as ArcMap?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 19:19:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/elevation-differences-between-arcmap-and-pro/m-p/1112522#M7305</guid>
      <dc:creator>tempStephenRhea_NV5</dc:creator>
      <dc:date>2021-10-29T19:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Elevation differences between ArcMap and Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/elevation-differences-between-arcmap-and-pro/m-p/1263103#M9490</link>
      <description>&lt;P&gt;I have the same problem. I was using ISurface.InterpolateShape in ArcMAP.&amp;nbsp; The geoprocessing tool InterpolateShape from ArcGIS Pro give same results as ArcMAP function. But not GetZsFromSurfaceAsync ... That's the code I'm using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Polyline clonePoly = _traceProfil.Clone() as Polyline;&lt;BR /&gt;var sR = clonePoly.SpatialReference;&lt;BR /&gt;var densePoly = GeometryEngine.Instance.DensifyByLength(clonePoly, sR.XYTolerance * 1000) as Polyline;&lt;BR /&gt;var zsResult = await _sceneMap.GetZsFromSurfaceAsync(densePoly, item.Nom);&lt;/P&gt;&lt;P&gt;Did you have any answers or solutions ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 16:01:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/elevation-differences-between-arcmap-and-pro/m-p/1263103#M9490</guid>
      <dc:creator>Marie-ChristineNicolle</dc:creator>
      <dc:date>2023-03-01T16:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Elevation differences between ArcMap and Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/elevation-differences-between-arcmap-and-pro/m-p/1263138#M9491</link>
      <description>&lt;P&gt;The SDK team fixed the bug with GetZsFromSurfaceAsync in version 2.9.4; which version are you using?&lt;/P&gt;&lt;P&gt;While waiting on the fix, we used the AddSurfaceInformation_3d tool to get elevation data, but InterpolateShape would work as well.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 17:07:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/elevation-differences-between-arcmap-and-pro/m-p/1263138#M9491</guid>
      <dc:creator>tempStephenRhea_NV5</dc:creator>
      <dc:date>2023-03-01T17:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Elevation differences between ArcMap and Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/elevation-differences-between-arcmap-and-pro/m-p/1263425#M9496</link>
      <description>&lt;P&gt;Thanks for the answer.&lt;/P&gt;&lt;P&gt;I'm using version 2.8.1. Il will try it in version 3.0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 08:43:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/elevation-differences-between-arcmap-and-pro/m-p/1263425#M9496</guid>
      <dc:creator>Marie-ChristineNicolle</dc:creator>
      <dc:date>2023-03-02T08:43:24Z</dc:date>
    </item>
  </channel>
</rss>

