Skip to content

[Tutorial] Conversion of point cloud data to 3D tiles

allyoucanmap edited this page Jun 11, 2024 · 4 revisions

This tutorial shows how to convert a LAS file to 3D Tiles.

Prerequisites

The digital twin toolbox must be up and running at http://localhost:3000 (see "Setup and usage" for more info)

Create the 1916_processed.las file by following the section "[Tutorial] Processing of point cloud data, vertical datum shift and colorization".

Objective

Create a point cloud in 3D Tiles format given as input data the 1916_processed.las file.

Below the workflow graph highlighting steps and tools:

graph LR;
    data{static/data/}-->las("Point Cloud (.las)")-->py3dtiles-->3d_point_cloud((3DTiles))-->tilesets{static/tilesets/};
Loading

Steps

Select 1916_processed (.las) from input data section then click the Create a data sample for preview button, now the preview shows the color of the raster image applied to the processed point cloud data.

Select input data from User Interface and create preview

Retrieve metadata information by clicking on the Get projection button, the EPSG:26985 authority code will be used after in the tiling process.

Get projection metadata from UI

Generate 3D Tiles by clicking on the Create tileset button using following properties:

  • Add the projection authority number 26985 in the CRS number field
  • Add a geometric error scale factor of 0.15

Initialize tiling process from user interface

Preview of generated 3D Tiles in Cesium.js by clicking on the Tileset preview button in the feedback box

Visualize the tileset output result in a Cesium viewer

The generated tileset can be find inside the static/tilesets directory inside the folder named 1916_processed.