Select to view content in your preferred language

Feature Layer below ground layer in Web Scene

1452
5
11-20-2023 01:06 PM
MichaelTrier
New Contributor

I'm attempting to create my first web scene displaying various point, line and polygon layers. I don't want the polygon layers to be selectable so I made them into a vector tile layer.

For the point and line layers, for some reason they are underneath the ground layer. Before I shared the web scene, I made sure both of the point and line layers elevation was set to "On the ground" and when that didn't work I added a 1 meter vertical offset; however, they are still below the ground. 

Any ideas on how to fix this?

0 Kudos
5 Replies
Katie_Clark
MVP Alum

I had something like this happen to me recently, and I discovered it was because the layer had z-values enabled, but none assigned. Maybe that's the case here? 

Best,
Katie

If this answer helped you, please consider giving a kudos and/or marking as the accepted solution. Thanks!
MichaelTrier
New Contributor

MichaelTrier_0-1700515837518.png

HI Katherine! Here's what it looks like if I pane underground. How would II check to see if the z value issue that you experienced is my problem as well?

 

0 Kudos
Katie_Clark
MVP Alum

Oh gosh, I'm actually quite new to working in scenes myself and I was working with the ArcGIS API for JavaScript. What I did in my case was just republish the layer with z-values disabled.

If you look at the REST endpoint for the feature layer it should provide information and say whether the layer has z-values enabled or not. You can access that from the item details page for the layer, and the bottom right of the page.

Other than that, I don't have more advice because like I said I'm new to the 3D stuff as well! I'll definitely keep my eyes on this post if someone else chimes in with a different idea 🙂

Best,
Katie

If this answer helped you, please consider giving a kudos and/or marking as the accepted solution. Thanks!
0 Kudos
gis_KIWI4
Frequent Contributor

Hi @MichaelTrier  - 

I believe you can fix this by setting the 'Elevation Mode' in the Options.
Select the Layer -> Under Drawing Style, select Options -> Set Elevation mode to 'On the Ground' OR Relative to Ground.

Hope this helps 🙂 

gis_KIWI4_0-1700539074910.png

gis_KIWI4_1-1700539130726.png

 

 

0 Kudos
GreteSoosalu
Esri Contributor

Hi @MichaelTrier 

Hope the above mentioned tips for setting the elevation mode has helped you to make your content visible above the ground. 

PS: When using "On the ground", it doesn't matter whether the service has z-values or not, the results are the same. In case of the relative elevation modes, the z values are interpreted as an offset from the ground/scene. 

PPS: if you want to disable selection of single features/polygons, you can do it by disabling the popups with the following steps (in Scene Viewer): 

GreteSoosalu_0-1700747163523.png

GreteSoosalu_1-1700747192392.png

GreteSoosalu_2-1700747218166.png

 

0 Kudos