<?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: Which type of layer should I use for DEM hosted as a map service on ArcGIS Enterprise? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/which-type-of-layer-should-i-use-for-dem-hosted-as/m-p/1360083#M83094</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/507049"&gt;@Sage_Wall&lt;/a&gt;&amp;nbsp;. Thank you for your reply!&lt;/P&gt;&lt;P&gt;I have a question though: I think Image Service is used for both views, but ImageLayer is flat so it works only for 2D (and 3D if you don't need elevation). However, if you need elevation, then you would use the same Image Service url but with ElevationLayer?&lt;/P&gt;</description>
    <pubDate>Tue, 12 Dec 2023 23:06:45 GMT</pubDate>
    <dc:creator>oookokkookookk</dc:creator>
    <dc:date>2023-12-12T23:06:45Z</dc:date>
    <item>
      <title>Which type of layer should I use for DEM hosted as a map service on ArcGIS Enterprise?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/which-type-of-layer-should-i-use-for-dem-hosted-as/m-p/1359497#M83081</link>
      <description>&lt;P&gt;Hello developers,&lt;/P&gt;&lt;P&gt;I am able to use TileLayer for my cached map service and MapImageLayer for my dynamic map service no problem for both mapView and sceneView.&lt;/P&gt;&lt;P&gt;But for DEM, which layer should I use for mapView and which for sceneView?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Btw, in ArcPro, the DEM is made from a geotif file and is displayed black and white for its height values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any tips/suggestions would be appreciated!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 01:54:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/which-type-of-layer-should-i-use-for-dem-hosted-as/m-p/1359497#M83081</guid>
      <dc:creator>oookokkookookk</dc:creator>
      <dc:date>2023-12-12T01:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Which type of layer should I use for DEM hosted as a map service on ArcGIS Enterprise?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/which-type-of-layer-should-i-use-for-dem-hosted-as/m-p/1359642#M83085</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/739337"&gt;@oookokkookookk&lt;/a&gt;&amp;nbsp;thanks for posting your question.&amp;nbsp; You'll likely want to publish the DEM as an Image Service and use an ImageryLayer for both views.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-ImageryLayer.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://enterprise.arcgis.com/en/server/latest/publish-services/windows/publish-elevation-service.htm" target="_blank"&gt;https://enterprise.arcgis.com/en/server/latest/publish-services/windows/publish-elevation-service.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 13:49:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/which-type-of-layer-should-i-use-for-dem-hosted-as/m-p/1359642#M83085</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2023-12-12T13:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Which type of layer should I use for DEM hosted as a map service on ArcGIS Enterprise?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/which-type-of-layer-should-i-use-for-dem-hosted-as/m-p/1360083#M83094</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/507049"&gt;@Sage_Wall&lt;/a&gt;&amp;nbsp;. Thank you for your reply!&lt;/P&gt;&lt;P&gt;I have a question though: I think Image Service is used for both views, but ImageLayer is flat so it works only for 2D (and 3D if you don't need elevation). However, if you need elevation, then you would use the same Image Service url but with ElevationLayer?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 23:06:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/which-type-of-layer-should-i-use-for-dem-hosted-as/m-p/1360083#M83094</guid>
      <dc:creator>oookokkookookk</dc:creator>
      <dc:date>2023-12-12T23:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Which type of layer should I use for DEM hosted as a map service on ArcGIS Enterprise?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/which-type-of-layer-should-i-use-for-dem-hosted-as/m-p/1360123#M83095</link>
      <description>&lt;P&gt;Yeah that's correct&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/739337"&gt;@oookokkookookk&lt;/a&gt;&amp;nbsp;, same service but two different layer types.&amp;nbsp; Use the ImageLayer in 2D and the ElevationLayer in the map's ground property in 3D. Sorry for the confusing answer.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;let elevLyr = new ElevationLayer({
  // Custom elevation service
  url: "https://sampleserver6.arcgisonline.com/arcgis/rest/services/Elevation/MtBaldy_Elevation/ImageServer"
});
// Add elevation layer to the map's ground.
map.ground.layers.add(elevLyr);&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 13 Dec 2023 01:02:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/which-type-of-layer-should-i-use-for-dem-hosted-as/m-p/1360123#M83095</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2023-12-13T01:02:26Z</dc:date>
    </item>
  </channel>
</rss>

