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?
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?
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?
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 🙂
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 🙂
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):