<?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 PointCloudLayer not showing in WPF in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/pointcloudlayer-not-showing-in-wpf/m-p/1179791#M11053</link>
    <description>&lt;P&gt;I am using ArcGISRuntime WPF 100.13.0.&lt;/P&gt;&lt;P&gt;I am trying to import a scene layer package (.slpk) that I created in ArcGis Pro from a LAS file.&lt;/P&gt;&lt;P&gt;Everything load, no error message. The scene move to the extend of the layer but nothing show up.&lt;/P&gt;&lt;P&gt;Here is the code I use (mostly taken from the exemple appart that I'm am trying to load a local file.)&lt;/P&gt;&lt;P&gt;SceneMapView is my scene create in xaml.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;private const 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;async void loadPointCloud()&lt;BR /&gt;{&lt;BR /&gt;// Create a surface and add the elevation service to it.&lt;BR /&gt;&lt;BR /&gt;Surface groundSurface = new Surface();&lt;BR /&gt;groundSurface.ElevationSources.Add(new ArcGISTiledElevationSource(new Uri(ElevationServiceUrl)));&lt;/P&gt;&lt;P&gt;// Add the surface to the scene.&lt;BR /&gt;SceneMapView.Scene.BaseSurface = groundSurface;&lt;/P&gt;&lt;P&gt;string pointCloudPath = "D:\\LAS\\Run2_1_right.slpk";&lt;BR /&gt;PointCloudLayer test = new PointCloudLayer(new Uri(pointCloudPath));&lt;BR /&gt;SceneMapView.Scene.OperationalLayers.Add(test);&lt;BR /&gt;await test.LoadAsync();&lt;BR /&gt;await SceneMapView.SetViewpointAsync(new Viewpoint(test.FullExtent));&lt;BR /&gt;}&lt;/P&gt;</description>
    <pubDate>Fri, 03 Jun 2022 13:35:29 GMT</pubDate>
    <dc:creator>francoisfaucher</dc:creator>
    <dc:date>2022-06-03T13:35:29Z</dc:date>
    <item>
      <title>PointCloudLayer not showing in WPF</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/pointcloudlayer-not-showing-in-wpf/m-p/1179791#M11053</link>
      <description>&lt;P&gt;I am using ArcGISRuntime WPF 100.13.0.&lt;/P&gt;&lt;P&gt;I am trying to import a scene layer package (.slpk) that I created in ArcGis Pro from a LAS file.&lt;/P&gt;&lt;P&gt;Everything load, no error message. The scene move to the extend of the layer but nothing show up.&lt;/P&gt;&lt;P&gt;Here is the code I use (mostly taken from the exemple appart that I'm am trying to load a local file.)&lt;/P&gt;&lt;P&gt;SceneMapView is my scene create in xaml.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;private const 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;async void loadPointCloud()&lt;BR /&gt;{&lt;BR /&gt;// Create a surface and add the elevation service to it.&lt;BR /&gt;&lt;BR /&gt;Surface groundSurface = new Surface();&lt;BR /&gt;groundSurface.ElevationSources.Add(new ArcGISTiledElevationSource(new Uri(ElevationServiceUrl)));&lt;/P&gt;&lt;P&gt;// Add the surface to the scene.&lt;BR /&gt;SceneMapView.Scene.BaseSurface = groundSurface;&lt;/P&gt;&lt;P&gt;string pointCloudPath = "D:\\LAS\\Run2_1_right.slpk";&lt;BR /&gt;PointCloudLayer test = new PointCloudLayer(new Uri(pointCloudPath));&lt;BR /&gt;SceneMapView.Scene.OperationalLayers.Add(test);&lt;BR /&gt;await test.LoadAsync();&lt;BR /&gt;await SceneMapView.SetViewpointAsync(new Viewpoint(test.FullExtent));&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 13:35:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/pointcloudlayer-not-showing-in-wpf/m-p/1179791#M11053</guid>
      <dc:creator>francoisfaucher</dc:creator>
      <dc:date>2022-06-03T13:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: PointCloudLayer not showing in WPF</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/pointcloudlayer-not-showing-in-wpf/m-p/1179830#M11054</link>
      <description>&lt;P&gt;When you say there are no error messages, I see that you await the LoadAsync (and hopefully you have a try/catch around that too), but are you also handling the SceneView.LayerViewStateChanged event?&lt;/P&gt;&lt;P&gt;For reference see&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/api-reference/api/netwin/wpf/Esri.ArcGISRuntime.UI.Controls.GeoView.LayerViewStateChanged.html" target="_blank"&gt;https://developers.arcgis.com/net/api-reference/api/netwin/wpf/Esri.ArcGISRuntime.UI.Controls.GeoView.LayerViewStateChanged.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 15:33:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/pointcloudlayer-not-showing-in-wpf/m-p/1179830#M11054</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2022-06-03T15:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: PointCloudLayer not showing in WPF</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/pointcloudlayer-not-showing-in-wpf/m-p/1179858#M11055</link>
      <description>&lt;P&gt;Adding try catch doesn't change anything. I am not handling that event. Can it change anything to the behavior of loading the layer ?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 16:53:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/pointcloudlayer-not-showing-in-wpf/m-p/1179858#M11055</guid>
      <dc:creator>francoisfaucher</dc:creator>
      <dc:date>2022-06-03T16:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: PointCloudLayer not showing in WPF</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/pointcloudlayer-not-showing-in-wpf/m-p/1179884#M11056</link>
      <description>&lt;P&gt;LayerViewStateChanged reports status/warnings/errors once the layer is added to the view (it doesn't change the behavior of loading the layer, which is unrelated to the view).&lt;/P&gt;&lt;P&gt;For reference see&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/api-reference/api/netwin/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Mapping.LayerViewStatus.html" target="_blank"&gt;https://developers.arcgis.com/net/api-reference/api/netwin/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Mapping.LayerViewStatus.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 18:13:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/pointcloudlayer-not-showing-in-wpf/m-p/1179884#M11056</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2022-06-03T18:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: PointCloudLayer not showing in WPF</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/pointcloudlayer-not-showing-in-wpf/m-p/1179901#M11057</link>
      <description>&lt;P&gt;The issues was the projection that needed to be ESPG4326 (the one from my scene by default). I recreated the slpk and it now works.&lt;/P&gt;&lt;P&gt;Thats for the help.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 19:15:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/pointcloudlayer-not-showing-in-wpf/m-p/1179901#M11057</guid>
      <dc:creator>francoisfaucher</dc:creator>
      <dc:date>2022-06-03T19:15:47Z</dc:date>
    </item>
  </channel>
</rss>

