Skip to content

[Tutorial] Conversion of shapefile with point geometries to 3D Tiles

allyoucanmap edited this page Aug 29, 2024 · 4 revisions

This tutorial shows how to convert a shapefile with point geometries to 3D Tiles.

See the Prerequisites section before starting this tutorial.

Objective

Create tree instance models in 3D Tiles format that represent the position of trees, given as input data the Urban_Forestry_Street_Tree_Benefits_EPSG_26985.shp.zip shapefile.

Below the workflow graph highlighting steps and tools:

graph LR;
    shp_point("Shapefile Point (.shp.zip)")-->geom_point[Geometry Manipulation]-->postgis_point[PostGIS]-->i3dm.export-->3d_intance((3DTiles));
Loading

Steps

Select the Pipelines menu item in the left sidebar and then click on the + Add Pipeline to create a new pipeline. In the Add Pipeline dialog enter Trees as title and select the Urban_Forestry_Street_Tree_Benefits_EPSG_26985.shp.zip from the asset dropdown then click on save.

Create a new pipeline

A new pipeline is available in the table, click on the title to enter the edit page

Edit the pipeline

Update geometry using the tree model by selecting it from the Model filename field

Change point model

Generate 3D Tiles by clicking on the Run button. (The generated tileset can be downloaded from the user interface with the download icon near the SUCCESS status tag.)

Initialize tiling process from user interface

Preview of generated 3D Tiles in Cesium.js by clicking on the tileset link under the SUCCESS status tag.

Visualize the tileset output result in a Cesium viewer