Make Ground(elavation) layer trasparant

1054
11
Jump to solution
03-07-2023 03:09 AM
WH1981
by
New Contributor III

Hello,

I have a question. In ArcGIS Online in a local scene (RD New) i can make the ground layer 100% transparant. That works.

But i wanna make the ground layer 100% transparant in ArcGIS Pro or ArcGIS Online. Saved in the ground file self.

I use a raster as a groundlayer and give it no color and set it 100% transparant in ArcGIS Pro. But when i share the map. The ground layer has a grey color and comes through my scene layer.

WH1981_0-1678187277168.png

How can i give it no color or 100% transparant.

Best regards

 

 

 

0 Kudos
1 Solution

Accepted Solutions
GreteSoosalu
Esri Contributor

Thanks for sharing your webscene!

We looked into it  and your polygons coming from the SceneService (in absolute height) indeed intersect with the ground elevation. 

When comparing the data in ArcGIS Online to the same scene in ArcGIS Pro, the latter also has such intersections but slightly less (it is easier to compare the difference when adding a dark base map to the scene). This difference is due to the ArcGIS Pro loading the elevation data in higher detail compared to the online Webscene Viewer. 

Some workarounds that might help you: 

  • use the SceneViewer in high quality mode: this will use elevation data in a slightly higher detail (you need to reload your page to trigger the reload):
    GreteSoosalu_0-1678359792686.png
  • instead of using land-use polygons from a SceneService (that are set to absolute height), one could look for the same data as a FeatureService and drape them to the elevation (2D symbology with elevation mode: "On the ground"). 
  • If you need the elevation data for the surroundings but not for your focus area (because you use the SceneService polygons at an absolute height), you could make the focus area flat by publishing a custom elevation layer (here's an example scene with two elevation layers from the Living Atlas). 
  • or (as discussed earlier in this thread) don't use any base map and make the ground transparent

Let us know if you have any further questions. 

View solution in original post

0 Kudos
11 Replies
RussRoberts
Esri Notable Contributor

elevation layers do not contain a transparency property. The ground transparency is applied to all elevation layers in the scene so if you have multiple elevation layers that transparency is applied to all and does not need to be set on each layer independently. 

https://developers.arcgis.com/web-scene-specification/objects/ground/

0 Kudos
WH1981
by
New Contributor III

Thanks, But is there not a possibility to give the elevation layer GrondLaag no color instead of grey, without changing the ground transparancy? This one hasn't any color:

ttps://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer

I placed in ArcGIS Pro my layers on the ground on the grondlayer. Than i made with the layer 3d feature tool a 3D layer of the layers. and then i publish the map. In ArcGIS Online the grondLaag is visible on some places through my 3d layers.

0 Kudos
RussRoberts
Esri Notable Contributor

Have you configured the color under the ground properties

RussRoberts_0-1678197921508.png

 

Click on color

RussRoberts_2-1678197997360.png

 

 

Then select no color

RussRoberts_1-1678197960838.png

 

 

WH1981
by
New Contributor III

Thanks, yes i find that setting of the color. But i find it strange that the 3d layers are not staying on top of the ground like in ArcGIS Pro. The solution i now use is to give the 3d layers a offset of 1 meter. But its stupped that i must do that.

0 Kudos
GreteSoosalu
Esri Contributor

Hi @WH1981 

This is unexpected that the 3d layer is on top of the ground only if an offset is added.

Could you maybe share your scene (e.g. via a direct message) or explain what type of layers and settings you are using? It would help us if we knew things like: in which spatial reference your scene is; is the layer a SceneLayer or a FeatureLayer; whether the layer has z values; which elevation mode the layer uses. 

I tried reproduce how the offset affects the 3d layer but in all cases the 3d data stayed at the same height with transparent ground as with non-transparent ground. I tested with buildings on a SceneLayer (Absolute height) and with FeatureLayers (using On the ground or Relative to ground elevation modes). 

GreteSoosalu_0-1678281545939.png

 

WH1981
by
New Contributor III

Hello.

I send the sceneweb link direct to you.

In AP i had RD new feature classes (polygonen) and place that on the ground (proporties> elevation). With the Elevation RD as ground layer. Then i use 3d layer tool to make a multipatch of the layers. And then i publish the webmap with the multipatches and the ground layer.

0 Kudos
GreteSoosalu
Esri Contributor

One more question - are you experiencing that the 3d layers are not staying on top of the ground in ArcGIS Online web scene viewer or is this happening in Unity? (I noticed that you've also asked about similar issue in the Unity Maps SDK forum

0 Kudos
GreteSoosalu
Esri Contributor

Thanks for sharing your webscene!

We looked into it  and your polygons coming from the SceneService (in absolute height) indeed intersect with the ground elevation. 

When comparing the data in ArcGIS Online to the same scene in ArcGIS Pro, the latter also has such intersections but slightly less (it is easier to compare the difference when adding a dark base map to the scene). This difference is due to the ArcGIS Pro loading the elevation data in higher detail compared to the online Webscene Viewer. 

Some workarounds that might help you: 

  • use the SceneViewer in high quality mode: this will use elevation data in a slightly higher detail (you need to reload your page to trigger the reload):
    GreteSoosalu_0-1678359792686.png
  • instead of using land-use polygons from a SceneService (that are set to absolute height), one could look for the same data as a FeatureService and drape them to the elevation (2D symbology with elevation mode: "On the ground"). 
  • If you need the elevation data for the surroundings but not for your focus area (because you use the SceneService polygons at an absolute height), you could make the focus area flat by publishing a custom elevation layer (here's an example scene with two elevation layers from the Living Atlas). 
  • or (as discussed earlier in this thread) don't use any base map and make the ground transparent

Let us know if you have any further questions. 

0 Kudos
WH1981
by
New Contributor III

Hello,

Thanks for your detailed answer.

When i increase the quality level in the webscene the result is not very better. 

That's a good tip to use the Dark gray basemap (RD) to check the layers and the ground elevation!

I use Multipatches because i need scene layers for Unity:) In Unity i made a table where i load the ArcGIS layers on. And my first problem was that in Unity there is not a option to make the elevation layer transparant.  That's why i tried in Arcgis pro and Arcgis Online to make the layers good visible.

Also i made the possibility to turn layers and off (and opacity) in Unity. For example when i turn the scenelayer with grasses off you can see the portal image tile layer (orthophoto) I need the ground elevation for my image layers. The scene layers already have height (absolute height) Otherwise i have a gap of 10 meters between my scenelayers and image layers in Unity.

But i have another problem with the elevation layer in Unity and that is that when i walk around the table i walk on the elevation of the arcgis map and not on the floor of the room. The elevation layer stopped visible around the table but physical not it seems. When i disable the elevation i can walk on the floor. But then i have a gap:(

 

 

 

0 Kudos