<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Hello, everyone.  How to load local Slpk in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/hello-everyone-how-to-load-local-slpk/m-p/1195764#M2614</link>
    <description>&lt;P&gt;Thank you for your answer. After a day of research, I finally solved it. The error lies in the slpk file converted in osgb format, which cannot be recognized by arcgisruntime. Follow the steps below&lt;BR /&gt;1. First, the primary i3s level slpk is produced by "DJI Terra", and the coordinate system is WGS1984; arcgisruntime 3D scene currently only supports this coordinate system;&lt;BR /&gt;2. Using ArcGIS pro2.9 (which I currently use, 100 dollars / year, individual users), of course,In "geo processing" - Search and find "upgrade scenario package", press the prompt to enter the primary i3s level slpk file path, set the output path, and click the run button below,&lt;BR /&gt;3. After the above is completed, the ArcGIS runtime can be loaded according to the code in my post.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jul 2022 07:36:32 GMT</pubDate>
    <dc:creator>yw19841107</dc:creator>
    <dc:date>2022-07-26T07:36:32Z</dc:date>
    <item>
      <title>Hello, everyone.  How to load local Slpk</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/hello-everyone-how-to-load-local-slpk/m-p/1195199#M2611</link>
      <description>&lt;P&gt;Hello, everyone. When I was loading the local slpk file, there was a flash back phenomenon. Please advise me. Here is my code：&lt;/P&gt;&lt;P&gt;SceneView sceneView;&lt;BR /&gt;// set the title and size of the stage and show it&lt;BR /&gt;Stage stage=new Stage();&lt;BR /&gt;stage.setTitle("Display a scene tutorial");&lt;BR /&gt;stage.setWidth(800);&lt;BR /&gt;stage.setHeight(700);&lt;BR /&gt;stage.show();&lt;/P&gt;&lt;P&gt;// create a JavaFX scene with a stack pane as the root node, and add it to the scene&lt;BR /&gt;StackPane stackPane = new StackPane();&lt;BR /&gt;Scene fxScene = new Scene(stackPane);&lt;/P&gt;&lt;P&gt;stage.setScene(fxScene);&lt;/P&gt;&lt;P&gt;// Note: it is not best practice to store API keys in source code.&lt;BR /&gt;// The API key is referenced here for the convenience of this tutorial.&lt;BR /&gt;String yourApiKey = "AAPKe82436f57ac0479e84c38cd64354c2b7OJpYBvfcCaLME***********************";&lt;BR /&gt;ArcGISRuntimeEnvironment.setApiKey(yourApiKey);&lt;/P&gt;&lt;P&gt;// create a scene view to display the scene and add it to the stack pane&lt;BR /&gt;sceneView = new SceneView();&lt;BR /&gt;stackPane.getChildren().add(sceneView);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;// set the scene on the scene view&lt;BR /&gt;sceneView.setArcGISScene(scene);&lt;/P&gt;&lt;P&gt;// add base surface for elevation data&lt;BR /&gt;Surface surface = new Surface();&lt;BR /&gt;String elevationServiceUrl = "&lt;A href="https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer" target="_blank"&gt;https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer&lt;/A&gt;";&lt;BR /&gt;surface.getElevationSources().add(new ArcGISTiledElevationSource(elevationServiceUrl));&lt;BR /&gt;// add an exaggeration factor to increase the 3D effect of the elevation.&lt;BR /&gt;surface.setElevationExaggeration(2.5f);&lt;/P&gt;&lt;P&gt;scene.setBaseSurface(surface);&lt;/P&gt;&lt;P&gt;// add a point scene layer with points at world airport locations&lt;BR /&gt;// ArcGISSceneLayer pointSceneLayer = new ArcGISSceneLayer("&lt;A href="https://tiles.arcgis.com/tiles/V6ZHFr6zdgNZuVG0/arcgis/rest/services/Airports_PointSceneLayer/SceneServer/layers/0" target="_blank"&gt;https://tiles.arcgis.com/tiles/V6ZHFr6zdgNZuVG0/arcgis/rest/services/Airports_PointSceneLayer/SceneServer/layers/0&lt;/A&gt;");&lt;BR /&gt;// scene.getOperationalLayers().add(pointSceneLayer);&lt;BR /&gt;ArcGISSceneLayer sceneLayer = new ArcGISSceneLayer(slpkPath);&lt;BR /&gt;scene.getOperationalLayers().add(sceneLayer);&lt;BR /&gt;&lt;BR /&gt;//Point cameraLocation = new Point(120.0734669, 31.9008889, 5330.0, SpatialReferences.getWgs84());&lt;BR /&gt;//Camera camera = new Camera(cameraLocation, 355.0, 72.0, 0.0);&lt;BR /&gt;Camera camera = new Camera(120.0734669,31.9008889, 50, 345, 65, 0);&lt;BR /&gt;sceneView.setViewpointCamera(camera);&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jul 2022 13:57:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/hello-everyone-how-to-load-local-slpk/m-p/1195199#M2611</guid>
      <dc:creator>yw19841107</dc:creator>
      <dc:date>2022-07-23T13:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Hello, everyone.  How to load local Slpk</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/hello-everyone-how-to-load-local-slpk/m-p/1195229#M2612</link>
      <description>&lt;P&gt;Who can help me？&lt;/P&gt;</description>
      <pubDate>Sun, 24 Jul 2022 00:32:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/hello-everyone-how-to-load-local-slpk/m-p/1195229#M2612</guid>
      <dc:creator>yw19841107</dc:creator>
      <dc:date>2022-07-24T00:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Hello, everyone.  How to load local Slpk</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/hello-everyone-how-to-load-local-slpk/m-p/1195355#M2613</link>
      <description>&lt;P&gt;Can you tell me more about this flashback&amp;nbsp;&lt;SPAN&gt;phenomenon?&amp;nbsp; Is it temporary whilst data is coming in?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sometimes as data is loading and elevation sources are loading data will move about.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you also tell me what slpk data you are using?&lt;/P&gt;&lt;P&gt;Maybe post a video as it might help to describe the issue more clearly&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 11:04:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/hello-everyone-how-to-load-local-slpk/m-p/1195355#M2613</guid>
      <dc:creator>MarkBaird</dc:creator>
      <dc:date>2022-07-25T11:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Hello, everyone.  How to load local Slpk</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/hello-everyone-how-to-load-local-slpk/m-p/1195764#M2614</link>
      <description>&lt;P&gt;Thank you for your answer. After a day of research, I finally solved it. The error lies in the slpk file converted in osgb format, which cannot be recognized by arcgisruntime. Follow the steps below&lt;BR /&gt;1. First, the primary i3s level slpk is produced by "DJI Terra", and the coordinate system is WGS1984; arcgisruntime 3D scene currently only supports this coordinate system;&lt;BR /&gt;2. Using ArcGIS pro2.9 (which I currently use, 100 dollars / year, individual users), of course,In "geo processing" - Search and find "upgrade scenario package", press the prompt to enter the primary i3s level slpk file path, set the output path, and click the run button below,&lt;BR /&gt;3. After the above is completed, the ArcGIS runtime can be loaded according to the code in my post.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 07:36:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/hello-everyone-how-to-load-local-slpk/m-p/1195764#M2614</guid>
      <dc:creator>yw19841107</dc:creator>
      <dc:date>2022-07-26T07:36:32Z</dc:date>
    </item>
  </channel>
</rss>

