Select to view content in your preferred language

I have a .LAS file - how do I create a PointCloudLayer?

518
2
03-01-2024 12:59 PM
ChrisCrowe
Emerging Contributor

I am developing an application and I want to automate the creation of a WebScene. As part of this I need to have the WebScene include a point cloud layer.

I have the .LAS file but I do not know how to process or upload it so that it will become a point cloud layer. 

I notice if I use ArcGIS Pro to create a WebScene it creates a point cloud layer on tiles.arcgis.com

https://tiles.arcgis.com/tiles/{ORGID}/arcgis/rest/services/Scene2_WSL1/SceneServer/layers/0?

I can reference an already existing point cloud layer for my WebScene but my application will need to create the point cloud layer as part of its execution.

I also notice I cant add a .LAS as a new item via the web UI - This file type is not supported.

My application is using the  .NET SDK for ArcGIS and manually uses the REST APIs to create feature server layers etc. 

Any ideas appreciated. 

Chris

 

0 Kudos
2 Replies
PreetiMaske
Esri Regular Contributor

Creating point cloud layer can not be done in ArcGIS Maps SDK for .NET using Rest APIs. If you want to publish it programmatically you need use an ArcGIS Pro Geoprocessing Tool called `Create Point Cloud Scene Layer Content (Data Management)`. Once you have the output .slpk you can use it in your .NET SDK app and add it to scene.

https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-point-cloud-scene-lay...

0 Kudos
ChrisCrowe
Emerging Contributor

Hi @PreetiMaske 

I have since found that I need to manually create a SLPK file. This looks to be a lot of work even thought the format is open source. There is however not a real implementation with source code, just documentation.

I will see how I get on with that.


Cheers

Chris

 

0 Kudos