Is it possible to visualize web tile layer above web feature layer ?

620
3
Jump to solution
03-18-2023 08:25 AM
Labels (1)
TomášAndrš
New Contributor

Hello, I'm trying to create 3D web scene with scene viewer and I want to visualize raster layer (which is not supposed to be a basemap) on top of a polygon vector layer. I've set the order of the layers in the "Layers" pane (as shown bellow) but the raster layer is still showing bellow the vector layer. 

TomAndr_0-1679152729539.png

I've also tried to create the same map but in 2D (via Map Viewer). But if I try to add the raster layer in "Layers" pane I get this error: 

  • The layer, 'Kernel_3000_50', is not compatible with the current basemap. To add the layer, add it to the map as the basemap.

It seems like it is not possible to add raster layer other than basemap. Can someone please help me to figure this out ? What am I doing wrong ? Is it even possible to create web scene like this ?

0 Kudos
1 Solution

Accepted Solutions
GreteSoosalu
Esri Contributor

Hi @TomášAndrš 

Regarding the issue you mention in SceneView, it looks like you are trying to render a tiled raster layer on top of a feature layer that has an “on-the-ground” elevation mode.

Please note that the on-the-ground FeatureLayers render on top of all tiled layers (the latter are considered as part of the ground). 

For simple cases, it might also work to publish the features as VectorTileLayers. Then, the layer order is respected between all tiled layers (i.e this VectorTileLayer and any WebTileLayers).

Let us know if you have any further questions. 

View solution in original post

3 Replies
David_McRitchie
Esri Contributor

Hello Tomáš, in this case the raster layer is in a different projection system from the basemap and so cannot be added to the Map Viewer.

I would check the basemap item listing and see what the map projection is. Under best metadata practices this should be listed under the description as seen below.

GBprojection.png

 

Hope that helps,

David

Esri UK -Technical Support Analyst
0 Kudos
GreteSoosalu
Esri Contributor

Hi @TomášAndrš 

Regarding the issue you mention in SceneView, it looks like you are trying to render a tiled raster layer on top of a feature layer that has an “on-the-ground” elevation mode.

Please note that the on-the-ground FeatureLayers render on top of all tiled layers (the latter are considered as part of the ground). 

For simple cases, it might also work to publish the features as VectorTileLayers. Then, the layer order is respected between all tiled layers (i.e this VectorTileLayer and any WebTileLayers).

Let us know if you have any further questions. 

TomášAndrš
New Contributor

Thank you @GreteSoosalu, this has resolved my issue.

(For anyone having the same problem. The TileLayer and the VectorTileLayer also needs to have the same tilling scheme. This might be common knowledge, but I didn't know that, so it might also be helpful for someone else in the future)

0 Kudos