<?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: JSAPI 4 - 3D Visualization relative to ground/elevation in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jsapi-4-3d-visualization-relative-to-ground/m-p/1067097#M20955</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/196223"&gt;@Tim_McGinnes&lt;/a&gt;&amp;nbsp; - so units and CRS match for view and layers but it turns out that when I use:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;{...
ground : 'world-elevation'
...}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in my map definition, I get:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;[esri.views.3d.layers.ElevationLayerView3D] #resolve() Failed to resolve layer view (layer title: 'Terrain3D', id: 'worldElevation') &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;because that layers has&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arne_Gelfert_0-1623356397537.png" style="width: 407px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/15678i2D6D4A2637DECAB4/image-dimensions/407x76?v=v2" width="407" height="76" role="button" title="Arne_Gelfert_0-1623356397537.png" alt="Arne_Gelfert_0-1623356397537.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;while the scene has:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arne_Gelfert_1-1623356431417.png" style="width: 376px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/15679i7BDF81C1A45D532B/image-dimensions/376x95?v=v2" width="376" height="95" role="button" title="Arne_Gelfert_1-1623356431417.png" alt="Arne_Gelfert_1-1623356431417.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And per ESRI's book of non-no's:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;A&amp;nbsp;SceneView&amp;nbsp;will only render layers that define a HeightModelInfo with an identical&amp;nbsp;vertCRS&amp;nbsp;to that of the scene, when using an&amp;nbsp;ellipsoidal&amp;nbsp;height model.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So thanks for pointing me in the right direction. Not entirely sure where I have to fix this - whether before publishing my service or in the code somewhere - but the fog is lifting for sure.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Jun 2021 20:31:14 GMT</pubDate>
    <dc:creator>Arne_Gelfert</dc:creator>
    <dc:date>2021-06-10T20:31:14Z</dc:date>
    <item>
      <title>JSAPI 4 - 3D Visualization relative to ground/elevation</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jsapi-4-3d-visualization-relative-to-ground/m-p/1065192#M20926</link>
      <description>&lt;P&gt;Trying to visualize some subsurface polyline features in 3D. Created a Scene in Pro and published to Portal/Server.&amp;nbsp;Then using JSAPI 4.18 to display.&lt;/P&gt;&lt;P&gt;The following plots my polylines.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const my3DLinesLayer = new FeatureLayer({
   url : 'my 3d URL',
   elevationInfo : {
      mode: 'relative-to-scene',
   },
   renderer : myRenderer
});&lt;/LI-CODE&gt;&lt;P&gt;But so do:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;mode : 'absolute-height'&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;and&lt;/P&gt;&lt;LI-CODE lang="c"&gt;mode : 'relative-to-ground'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What am I missing when it comes to the difference between "relative-to..." and "absolute..."?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In each case, my lines plot starting above ground and then continuing into subsurface. Since the line's starting point has a Z &amp;gt; 0, say Z = 1000, it looks like it get plotted starting 1000 units above ground. But the Z = 1000 should really be interpreted as starting at ground where ground = 1000 because these are absolute elevations.&lt;/P&gt;&lt;P&gt;So I can understand that '&lt;EM&gt;relative-to-surface&lt;/EM&gt;' or '&lt;EM&gt;relative-to-ground&lt;/EM&gt;' would work as described above - we're taking positive values for Z and plotting them above the ground and negative Z below - but why '&lt;EM&gt;absolute-height&lt;/EM&gt;'? Doesn't the ground elevation layer plot in relation to some approximation of sea level? So if ground is 1000 units above sea level, that's where my line-Z should be?&lt;/P&gt;&lt;P&gt;This is what I have in my map right now:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;const map = new Map({
   basemap: "satellite",
   ground: "world-elevation",
   fadeOnZoom: true,
   force3DTransforms: true,
   navigationMode: "classic"
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any suggestions you may have. I'm new to 3D in web mapping, so I may not be missing something obvious.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/38774"&gt;@RalucaNicola&lt;/a&gt;&amp;nbsp;- tagging you here since I've seen some great feedback from you in other threads.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 17:01:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jsapi-4-3d-visualization-relative-to-ground/m-p/1065192#M20926</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2021-06-04T17:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: JSAPI 4 - 3D Visualization relative to ground/elevation</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jsapi-4-3d-visualization-relative-to-ground/m-p/1065509#M20931</link>
      <description>&lt;P&gt;There is an interactive sample which shows how the various modes work:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/scene-elevationinfo/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/sample-code/scene-elevationinfo/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="elevation-info" style="width: 995px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/15287iFC464291F49706CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="elevation-info" alt="elevation-info" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 03:32:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jsapi-4-3d-visualization-relative-to-ground/m-p/1065509#M20931</guid>
      <dc:creator>Tim_McGinnes</dc:creator>
      <dc:date>2021-06-07T03:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: JSAPI 4 - 3D Visualization relative to ground/elevation</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jsapi-4-3d-visualization-relative-to-ground/m-p/1065616#M20932</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/196223"&gt;@Tim_McGinnes&lt;/a&gt;Thanks, Tim. Of course, I looked at that page and the observations I made were based on the different value for elevationInfo provided on that page. I've also since played with trying to use expressions but as soon as I do something as simple as&amp;nbsp;:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;featureExpressionInfo: {
    expression: "Geometry($feature).z * 2"
}&lt;/LI-CODE&gt;&lt;P&gt;the feature appear flat, draped across the ground.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 13:47:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jsapi-4-3d-visualization-relative-to-ground/m-p/1065616#M20932</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2021-06-07T13:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: JSAPI 4 - 3D Visualization relative to ground/elevation</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jsapi-4-3d-visualization-relative-to-ground/m-p/1065750#M20934</link>
      <description>&lt;P&gt;Is it possible to provide a more complete code extract and a screenshot showing your actual problem? I’m not really sure on what you’re trying to do.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 20:01:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jsapi-4-3d-visualization-relative-to-ground/m-p/1065750#M20934</guid>
      <dc:creator>Tim_McGinnes</dc:creator>
      <dc:date>2021-06-07T20:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: JSAPI 4 - 3D Visualization relative to ground/elevation</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jsapi-4-3d-visualization-relative-to-ground/m-p/1066138#M20939</link>
      <description>&lt;P&gt;Thanks, for chiming in, Tim.&lt;/P&gt;&lt;P&gt;So, say I have a 3D polyline that starts at XY and has Z = 1000 (as in 1000ft above MSL), and it has an endpoint of XY with Z = -1000, 1000ft below MSL. With the following settings in ArcGIS Pro:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arne_Gelfert_0-1623178227503.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/15434iB43E8FDDF0BC33C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Arne_Gelfert_0-1623178227503.png" alt="Arne_Gelfert_0-1623178227503.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This line plots entirely below the surface where elevation is at 1000' MSL. Great. just what I want.&lt;/P&gt;&lt;P&gt;After publishing this to ArcGIS Server and adding as FeatureLayer to webmap, I am unable to get it to plot as in Pro.&amp;nbsp; No matter what settings I try in elevationInfo, the feature will always start 1000' above the surface (ground) and extend to 1000' below surface. So everything is relative not to MSL but ground.&lt;/P&gt;&lt;P&gt;So maybe I need to define ground differently? I've looked at the documentation and haven't found anything.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 19:20:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jsapi-4-3d-visualization-relative-to-ground/m-p/1066138#M20939</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2021-06-08T19:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: JSAPI 4 - 3D Visualization relative to ground/elevation</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jsapi-4-3d-visualization-relative-to-ground/m-p/1066271#M20941</link>
      <description>&lt;P&gt;It's not a feet\metres problem is it?&amp;nbsp;I see you are using the World Elevation Surface which I believe is in metres. What horizontal and vertical coordinate systems are you using? Maybe check out the HeightModelInfo parameter on the WebScene in the JSAPI.&lt;/P&gt;&lt;P&gt;ArcGIS Pro can probably handle feature layers with different units and display them in the right place, but I think ArcGIS Online can't. Sorry, but it's a bit hard knowing what's happening without seeing the actual data\code.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 06:47:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jsapi-4-3d-visualization-relative-to-ground/m-p/1066271#M20941</guid>
      <dc:creator>Tim_McGinnes</dc:creator>
      <dc:date>2021-06-09T06:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: JSAPI 4 - 3D Visualization relative to ground/elevation</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jsapi-4-3d-visualization-relative-to-ground/m-p/1066975#M20952</link>
      <description>&lt;P&gt;I thought about the feet/meters thing as well and turns out that my source data actually has Z in meters. But after looking at the documentation again, I realize the "units" parameters in elevationInfo has not effect on Z.&lt;/P&gt;&lt;P&gt;I also found that using the offset = -1000 works and forces all lines down by 1000 units. But that's not really what I need.&amp;nbsp; It's as if it's either ignoring or misinterpreting ground.&amp;nbsp;&amp;nbsp;Haven't looked at HeighModelInfo. Not sure I had come across that. So this may help with elevation.&lt;/P&gt;&lt;P&gt;Sorry I'm not posting the a whole lot of code here.&amp;nbsp; Still appreciate your feedback.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 16:53:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jsapi-4-3d-visualization-relative-to-ground/m-p/1066975#M20952</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2021-06-10T16:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: JSAPI 4 - 3D Visualization relative to ground/elevation</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jsapi-4-3d-visualization-relative-to-ground/m-p/1067097#M20955</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/196223"&gt;@Tim_McGinnes&lt;/a&gt;&amp;nbsp; - so units and CRS match for view and layers but it turns out that when I use:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;{...
ground : 'world-elevation'
...}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in my map definition, I get:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;[esri.views.3d.layers.ElevationLayerView3D] #resolve() Failed to resolve layer view (layer title: 'Terrain3D', id: 'worldElevation') &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;because that layers has&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arne_Gelfert_0-1623356397537.png" style="width: 407px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/15678i2D6D4A2637DECAB4/image-dimensions/407x76?v=v2" width="407" height="76" role="button" title="Arne_Gelfert_0-1623356397537.png" alt="Arne_Gelfert_0-1623356397537.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;while the scene has:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arne_Gelfert_1-1623356431417.png" style="width: 376px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/15679i7BDF81C1A45D532B/image-dimensions/376x95?v=v2" width="376" height="95" role="button" title="Arne_Gelfert_1-1623356431417.png" alt="Arne_Gelfert_1-1623356431417.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And per ESRI's book of non-no's:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;A&amp;nbsp;SceneView&amp;nbsp;will only render layers that define a HeightModelInfo with an identical&amp;nbsp;vertCRS&amp;nbsp;to that of the scene, when using an&amp;nbsp;ellipsoidal&amp;nbsp;height model.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So thanks for pointing me in the right direction. Not entirely sure where I have to fix this - whether before publishing my service or in the code somewhere - but the fog is lifting for sure.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 20:31:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jsapi-4-3d-visualization-relative-to-ground/m-p/1067097#M20955</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2021-06-10T20:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: JSAPI 4 - 3D Visualization relative to ground/elevation</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jsapi-4-3d-visualization-relative-to-ground/m-p/1668155#M23797</link>
      <description>&lt;P&gt;the Elevation layer by itself doesn't seem to have HeightModelInfo property.&lt;BR /&gt;But a webscene does.&amp;nbsp;&lt;BR /&gt;Can anyone suggest the right approach to visualize feature layers (3D enabled) and unit system different from that of the scene.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;At present I have a Feature layer which floats somewhere above the ground.&amp;nbsp;&lt;BR /&gt;any advice would be most appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 11:20:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jsapi-4-3d-visualization-relative-to-ground/m-p/1668155#M23797</guid>
      <dc:creator>Rohanrajan</dc:creator>
      <dc:date>2025-11-24T11:20:10Z</dc:date>
    </item>
  </channel>
</rss>

