LuciadRIA currently supports two kinds of point clouds:
-
OGC 3D Tiles PNTS data, including those created by LuciadFusion.
-
Hexagon Smart Point Cloud data (HSPC), created by various Hexagon sensors and applications.
Visualizing these point clouds on a map requires two steps:
-
Create a model to connect to the service.
-
Use
OGC3DTilesModel
OGC 3D Tiles with PNTS point clouds. -
Use
HSPCTilesModel
for HSPC.
-
-
Use a
TileSet3DLayer
to visualize the model.
Example for OGC 3D Tiles:
// Create a model for the OGC 3D tileset
const url = "https://sampleservices.luciad.com/ogc/3dtiles/marseille-mesh/tileset.json";
OGC3DTilesModel.create(url).then(function(model) {
//Create a layer for the model
const layer = new TileSet3DLayer(model);
//Add the layer to the map
map.layerTree.addChild(layer);
});
Example for HSPC:
const url = "http://datamonster.myvr.net/mMap/data/pointcloud/APR/SanFrancisco/tree.hspc";
// Create a model for the HSPC dataset
HSPCTilesModel.create(url).then(function(model) {
//Create a layer for the model
const layer = new TileSet3DLayer(model);
//Add the layer to the map
map.layerTree.addChild(layer);
});
LuciadRIA also supports HSPC Pack files with file names that end in the |