arcgis runtime加载本地地形后出现crash

I am using arcgis runtime .net 100.2.1. My WPF application with arcgis runtime crashes frequrently after loading my local elevation file. the crash happens when zooming in/out, or rotating the scene, is this a known issue and any ideas to avoid the crash?



below is my main steps to create the scene:

1,load the local slpk

Uri treespk = new System.Uri(slpkPath);
var sceneLayer = new ArcGISSceneLayer();
// add the scene layer to the scene
sceneLayer.Source = treespk;
sceneView.Scene.OperationalLayers.Add(sceneLayer);

2,load the local elevation file with "tif" suffix.

var elevationSource = new RasterElevationSource(myFiles);

// Add elevationSource to BaseSurface's ElevationSources
sceneView.Scene.BaseSurface.ElevationSources.Add(elevationSource);
已邀请:

朱新颖

赞同来自:

1,本地高程数据作为DEM需要生成tpk文件的;
2,tpk的切片方案需要和底图的切片方案相一致,并且压缩格式使用lerc
 

要回复问题请先登录注册