3D lines from SQL Server

856
2
01-24-2017 12:24 AM
surikm1
New Contributor

Hi,

I have a table in SQL server that contains 3d lines in a geometry field, this table is frequently updated.

I want to show the features from this table on a scene  in .net client.

I created a query layer with pro and published it to my portal (10.4), which is configured with a federated server that the sql server is registered with.

Publishing the data as a feature service works fine and the features are displayed correctly in online scene viewer (as 3D) but in the .net client they appear flat.

I know I can use graphics overlay to display the features in 3D but I dont want that since the data set is quite large.

So basically I'm trying to figure out what are my possibilities here.

Thanks.

0 Kudos
2 Replies
dotMorten_esri
Esri Notable Contributor

Currently FeatureLayers renders draped on the terrain. You will have to use GraphicsOverlays to get the Z value to do anything.

0 Kudos
ManelKEDDAR
New Contributor III

Hello can you show me how you could display the 3D lines on your scene using your spatial table ; thanks advanced

0 Kudos