<?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 Query terrain data to get elevation in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/query-terrain-data-to-get-elevation/m-p/1085568#M6971</link>
    <description>&lt;P&gt;I need to query terrain dataset to get elevation.&amp;nbsp; However i have not found any sample code i can use.&amp;nbsp; In ArcObject,&amp;nbsp; 3D Analyst has to be enabled.&amp;nbsp; I'd like to know how to do this in ArcGIS Pro.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for help.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Aug 2021 01:27:31 GMT</pubDate>
    <dc:creator>YinghongLi1</dc:creator>
    <dc:date>2021-08-04T01:27:31Z</dc:date>
    <item>
      <title>Query terrain data to get elevation</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/query-terrain-data-to-get-elevation/m-p/1085568#M6971</link>
      <description>&lt;P&gt;I need to query terrain dataset to get elevation.&amp;nbsp; However i have not found any sample code i can use.&amp;nbsp; In ArcObject,&amp;nbsp; 3D Analyst has to be enabled.&amp;nbsp; I'd like to know how to do this in ArcGIS Pro.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for help.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 01:27:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/query-terrain-data-to-get-elevation/m-p/1085568#M6971</guid>
      <dc:creator>YinghongLi1</dc:creator>
      <dc:date>2021-08-04T01:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Query terrain data to get elevation</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/query-terrain-data-to-get-elevation/m-p/1085636#M6974</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use &lt;SPAN&gt;GetZsFromSurfaceAsync BUT it needs the surface to be loaded into a map in the current project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There does not seem to be a generic Surface API like in Desktop ISurface where you can load a surface programmatically&amp;nbsp;(not in the current document/project) and do stuff to it like use .Z to get the Z value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Unbelievably&lt;SPAN&gt;, given we are YEARS into Pro being a product there are almost no API's for extensions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/index.html#topic1.html" target="_blank"&gt;ArcGIS Pro 2.8 API Reference Guide - ArcGIS Pro 2.8 API Reference Guide&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and there seems absolutely no appetite to put them in. You are left with using GP tools which are wholly unsuitable&amp;nbsp;for development&amp;nbsp;purposes (just like using GP tools for FC/field creation until DDL turned up in 2.8).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;OverlayGroundSurface sample in the "&lt;/SPAN&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Map-Exploration/OverlayGroundSurface" rel="nofollow noopener noreferrer" target="_blank"&gt;ArcGIS Pro SDK Community Samples&lt;/A&gt;&lt;SPAN&gt;" GitHub Repo is using&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;GetZsFromSurfaceAsync.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 11:59:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/query-terrain-data-to-get-elevation/m-p/1085636#M6974</guid>
      <dc:creator>AdamDavis</dc:creator>
      <dc:date>2021-08-04T11:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Query terrain data to get elevation</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/query-terrain-data-to-get-elevation/m-p/1085652#M6976</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;I have not tested it this.&amp;nbsp; I did notice that there is nothing found related to terrain.&amp;nbsp; Too bad.&amp;nbsp; may need to put this in the new update list....&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 12:50:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/query-terrain-data-to-get-elevation/m-p/1085652#M6976</guid>
      <dc:creator>YinghongLi1</dc:creator>
      <dc:date>2021-08-04T12:50:54Z</dc:date>
    </item>
  </channel>
</rss>

