<?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: How to get elevation / Z value using map view object in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-get-elevation-z-value-using-map-view-object/m-p/1053483#M5477</link>
    <description>&lt;P&gt;If you want to get elevation from screen coordinate in 3D using sceneview, you can look into the following sample.&lt;BR /&gt;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-android/tree/main/java/get-elevation-at-point" target="_blank"&gt;https://github.com/Esri/arcgis-runtime-samples-android/tree/main/java/get-elevation-at-point&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However if you looking to get elevation on a 2D MapView. Then you can add an elevation service like below provided one&amp;nbsp;as a RasterLayer and perform mapView.identifyLayerAsync&amp;nbsp;on that layer to get elevation. Note that the elevation service requires an ArcGIS Online organizational subscription or an ArcGIS Developer account&lt;/P&gt;&lt;P&gt;&lt;A href="https://elevation.arcgis.com/arcgis/rest/services/WorldElevation/Terrain/ImageServer" target="_blank"&gt;https://elevation.arcgis.com/arcgis/rest/services/WorldElevation/Terrain/ImageServer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RasterLayer rasterLayer = new RasterLayer(new ImageServiceRaster("ServiceURl"));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Rama&lt;/P&gt;</description>
    <pubDate>Fri, 30 Apr 2021 23:07:00 GMT</pubDate>
    <dc:creator>RamaChintapalli</dc:creator>
    <dc:date>2021-04-30T23:07:00Z</dc:date>
    <item>
      <title>How to get elevation / Z value using map view object</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-get-elevation-z-value-using-map-view-object/m-p/1052594#M5471</link>
      <description>&lt;P&gt;Our team is working on Run Time SDK to develop Mobile application for field survey. We have a requirement of &amp;nbsp;elevation / Z value, we are using ArcGIS online basemaps in ESRI Map View for android.&lt;/P&gt;&lt;P&gt;Is there any way to get the elevation / Z value using map view object. Please suggest.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 05:26:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-get-elevation-z-value-using-map-view-object/m-p/1052594#M5471</guid>
      <dc:creator>TrilokChouhan</dc:creator>
      <dc:date>2021-04-29T05:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to get elevation / Z value using map view object</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-get-elevation-z-value-using-map-view-object/m-p/1053483#M5477</link>
      <description>&lt;P&gt;If you want to get elevation from screen coordinate in 3D using sceneview, you can look into the following sample.&lt;BR /&gt;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-android/tree/main/java/get-elevation-at-point" target="_blank"&gt;https://github.com/Esri/arcgis-runtime-samples-android/tree/main/java/get-elevation-at-point&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However if you looking to get elevation on a 2D MapView. Then you can add an elevation service like below provided one&amp;nbsp;as a RasterLayer and perform mapView.identifyLayerAsync&amp;nbsp;on that layer to get elevation. Note that the elevation service requires an ArcGIS Online organizational subscription or an ArcGIS Developer account&lt;/P&gt;&lt;P&gt;&lt;A href="https://elevation.arcgis.com/arcgis/rest/services/WorldElevation/Terrain/ImageServer" target="_blank"&gt;https://elevation.arcgis.com/arcgis/rest/services/WorldElevation/Terrain/ImageServer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RasterLayer rasterLayer = new RasterLayer(new ImageServiceRaster("ServiceURl"));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Rama&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 23:07:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-get-elevation-z-value-using-map-view-object/m-p/1053483#M5477</guid>
      <dc:creator>RamaChintapalli</dc:creator>
      <dc:date>2021-04-30T23:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to get elevation / Z value using map view object</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-get-elevation-z-value-using-map-view-object/m-p/1233531#M5899</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/17660"&gt;@RamaChintapalli&lt;/a&gt;, thank you for your help.&lt;/P&gt;&lt;P&gt;Out team are trying to get elevation on a 2D MapView&amp;nbsp;also (not via 3D using scene view which works fine but consumes extra RAM and leads to overhead).&lt;/P&gt;&lt;P&gt;But loading of image service raster&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;val &lt;/SPAN&gt;imageServiceRaster = ImageServiceRaster(&lt;SPAN&gt;"https://elevation.arcgis.com/arcgis/rest/services/WorldElevation/Terrain/ImageServer"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;always fails with the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; com.esri.arcgisruntime.ArcGISRuntimeException: Internal error.: Failed to read configuration data&lt;/P&gt;&lt;P&gt;Platform: Android&lt;/P&gt;&lt;P&gt;Version: 100.15.0&lt;/P&gt;&lt;P&gt;Are any suggestions/tips what can be the issue root cause?&lt;/P&gt;</description>
      <pubDate>Sat, 19 Nov 2022 20:50:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-get-elevation-z-value-using-map-view-object/m-p/1233531#M5899</guid>
      <dc:creator>OleksiyTarasyuk</dc:creator>
      <dc:date>2022-11-19T20:50:17Z</dc:date>
    </item>
  </channel>
</rss>

