loader image
Vai al contenuto principale

4. Clip a VPC with a polygon layer

The VPC layer covers much more than the center of Middelburg, so we're going to clip it using a polygon layer. We can use the boundary shapefile that we've used in tutorial on interpolating point clouds.

1. In the terminal type the following command and press <Enter>:

pdal_wrench clip --input=merged.vpc --polygon=boundary.shp --output=center.vpc


Here again we specified the input vpc layer with --input. With --polygon we specify the polygon vector layer used for clipping and with --output we define the output vpc layer.

Now that our point cloud has been clipped to the center of Middelburg, we can proceed with interpolating the points to a Digital Surface Model (DSM).