基于Java平台下开发arcgis runtime100.14,如何加载本地的slpk三维场景文件

基于JAVA平台下开发arcgis runtime100.14,如何加载本地的slpk三维场景文件;下面是我的代码。但是没有成功,运行后会界面闪退

try {

      stage.setTitle("Add An Integrated Mesh Layer Sample");
      stage.setWidth(800);
      stage.setHeight(700);

      // create a JavaFX scene with a stack pane and set it to the stage
      StackPane stackPane = new StackPane();
      Scene fxScene = new Scene(stackPane);
      stage.setScene(fxScene);
     stage.show();

       // create a scene
      ArcGISScene scene = new ArcGISScene();

      // create a scene view and set the scene to it
       sceneView = new SceneView();
      sceneView.setArcGISScene(scene);

 
  
      // create an integrated mesh layer of Girona, Spain and add it to the scene's operational layers
      IntegratedMeshLayer integratedMeshLayer = new IntegratedMeshLayer("file:D:\\1.slpk");
      scene.getOperationalLayers().add(integratedMeshLayer);

     // set a camera position on the scene view
      sceneView.setViewpointCamera(new Camera(lat,lon , 200.0, 350, 65.0, 0));

     // add the scene view to the stack pane
      stackPane.getChildren().add(sceneView);
   } catch (Exception e) {
         // on any error, display the stack trace.
          e.printStackTrace();
    }

经过研究,我自己回答自己吧,这个slpk文件从osgb转换成slpk是不能被arcgisruntime所识别的,要做到以下几点:
1、首先由大疆智图,生产出初级的i3s级别的slpk,坐标系是GCS_WGS84;arcgisruntime三维场景目前只支持这个坐标系;
2、利用arcgis Pro2.9,目前是2.8;在“地理处理“——搜索找到”升级场景包“,按提示输入初级的i3s级别的slpk文件路径,设置好输出路径,点击下方运行按钮,
3、上述完成后,按照我帖子中的代码,arcgis runtime就可以加载了。