Hi
I am testing scene view support for vector tiles from a server using the ArcGIS .NET WPF SDK.
Observations:
Scene View Setup:
Testing Two Vector Tile Servers:
How I Create the Vector Tile Layer:
Troubleshooting:
Question:
How can I investigate why the local vector tile server data does appear the map data in Scene View?
I have attached a screen dump of a test program :
- the upper part is 2D map view of the vector data,
- the lower part is 2.5D display of the same vector data lacking map information
Regards
Gunnar Gisleberg
Locus Solutions AS
An Enghouse Company
Solved! Go to Solution.
Thank you for a quick response.
Hello @GunnarGisleberg,
Thank you for reaching out with your query. Let me make sure that I understand your problem here. If you use a vector tiled layer from a server that is hosted locally, it is not rendering any data only in the context of the scene.
Without really taking a look at the data and some debugging I cannot tell with is going on that's preventing the data from getting rendered. What you can do is you could look at the network requests through fidder/charles to see if you are able to see anything that is causing the problem. If I had to guess anything, it seems like something related to spatial reference. What is the spatial reference of the layer that you have hosted locally?
I'd like to hear back on what you find and then go from there. Please let us know what you find.
Regards,
Koushik
Thank you! I shall compare the spatial references from the vector tile servers
Please look at the output window when debugging and look for draw or load errors. You can also look at the layer's LoadStatus or the SceneView's LayerViewStateChanged event.
My guess is it's some sort of tilingscheme not supported with the current data / spatial reference.
Thank you- I shall investigate the proposed actions.
Thanks for the advise -
This message appears during load:
Spatial reference invalid or incompatible: The Spatial Reference is invalid or incompatible with the Scene's
The scene has {SpatialReference[Wkid=4326]},
The vectortile layer has {SpatialReference[Wkid=25833]}
Is it possible to create a scene with spatialReference compatible with the vectory layer SpatialReference?
I have tried to create Scene instances using a specific spatialReference without success:
- chatgpt suggestion is to use a constructor with spaticalreference as argument- it does exist: Scene myScene = new Scene(SpatialReferences.WebMercator);
I have tried a couple of suggestions but always ends up with 4326 as the Scene reference
Is it possible to open a scene from a vector layer where SpatialReference = 25833 ?
Your vector data must be in WebMercator for it to work with the 3D scene. 25833 isn't currently compatible.
The scene itself is always 4326.
Thank you for a quick response.