Важно

Translation is a community effort you can join. This page is currently translated at 41.18%.

28.1.14. Point Cloud Extraction

NEW in 3.32

28.1.14.1. Boundary

Exports a polygon file containing point cloud layer boundary. It may contain holes and it may be a multi-part polygon.

../../../../_images/point_cloud_boundary.png

Рис. 28.16 Extracting high vegetation and building polygons from an input point cloud layer

Параметры

Basic parameters

Ярлык

Имя

Тип

Описание

Исходный слой

INPUT

[point cloud]

Input point cloud layer to calculate boundary for

Resolution of cells used to calculate boundary

Optional

RESOLUTION

[number]

Resolution of cells used to calculate boundary

Minimal number of points in a cell to consider cell occupied

Optional

THRESHOLD

[number]

Minimal number of points in a cell to consider cell occupied

Boundary

OUTPUT

[vector: polygon]

По умолчанию: [Сохранить во временный файл]

Specify the point cloud file to use as output. One of:

  • Сохранить во временный файл

  • Save to File…

Advanced parameters

Ярлык

Имя

Тип

Описание

Filter expression

Optional

FILTER_EXPRESSION

[expression]

A PDAL expression for selecting a subset of features in the point cloud data

Cropping extent

Optional

FILTER_EXTENT

[extent]

A map extent for selecting a subset of features in the point cloud data

Available methods are:

  • Calculate from layer…: uses extent of a layer loaded in the current project

  • Calculate from layout map…: uses extent of a layout map item in the active project

  • Calculate from bookmark…: uses extent of a saved bookmark

  • Use map canvas extent

  • Draw on canvas: click and drag a rectangle delimiting the area to take into account

  • Enter the coordinates as xmin, xmax, ymin, ymax

Результаты

Ярлык

Имя

Тип

Описание

Boundary

OUTPUT

[vector: polygon]

Output polygon vector layer with the point cloud boundary. Currently supported format is .GPKG.

Код на Python

Algorithm ID: pdal:boundary

import processing
processing.run("algorithm_id", {parameter_dictionary})

ID алгоритма отображается при наведении мыши на алгоритм в Инструментах анализа. Словарь parameter dictionary содержит ключи параметров и их значения. См. Изпользование алгоритмов геообработки в консоли для детального описания того, как запускать алгоритмы анализа из консоли Python.

28.1.14.2. Density

Exports a raster file based on the number of points within each raster cell - useful for quality checking of point cloud datasets.

../../../../_images/point_cloud_density.png

Рис. 28.17 Point density (number of points per 2x2 m) as a raster

Параметры

Basic parameters

Ярлык

Имя

Тип

Описание

Исходный слой

INPUT

[point cloud]

Input point cloud layer to export

Resolution of the density raster

RESOLUTION

[number]

Default: 1.0

Cell size of the output raster

Tile size for parallel runs

TILE_SIZE

[number]

Default: 1000

Size of the tiles to split the data into for parallel runs

Density

OUTPUT

[растр]

По умолчанию: [Сохранить во временный файл]

Specify the raster file to export the data to. One of:

  • Сохранить во временный файл

  • Save to File…

Advanced parameters

Ярлык

Имя

Тип

Описание

Filter expression

Optional

FILTER_EXPRESSION

[expression]

A PDAL expression for selecting a subset of features in the point cloud data

Cropping extent

Optional

FILTER_EXTENT

[extent]

A map extent for selecting a subset of features in the point cloud data

Available methods are:

  • Calculate from layer…: uses extent of a layer loaded in the current project

  • Calculate from layout map…: uses extent of a layout map item in the active project

  • Calculate from bookmark…: uses extent of a saved bookmark

  • Use map canvas extent

  • Draw on canvas: click and drag a rectangle delimiting the area to take into account

  • Enter the coordinates as xmin, xmax, ymin, ymax

X origin of a tile for parallel runs

Optional

ORIGIN_X

[number]

Y origin of a tile for parallel runs

Optional

ORIGIN_Y

[number]

Результаты

Ярлык

Имя

Тип

Описание

Density

OUTPUT

[растр]

Output raster layer with number of points within each cell. Currently supported format is .TIF.

Код на Python

Algorithm ID: pdal:density

import processing
processing.run("algorithm_id", {parameter_dictionary})

ID алгоритма отображается при наведении мыши на алгоритм в Инструментах анализа. Словарь parameter dictionary содержит ключи параметров и их значения. См. Изпользование алгоритмов геообработки в консоли для детального описания того, как запускать алгоритмы анализа из консоли Python.

28.1.14.3. filter

Extracts point from the input point cloud which match PDAL expression and/or are inside of a cropping rectangle.

../../../../_images/point_cloud_filter.png

Рис. 28.18 Filtering of high vegetation class from an input point cloud layer

Параметры

Ярлык

Имя

Тип

Описание

Исходный слой

INPUT

[point cloud]

Input point cloud layer to export

Filter expression

Optional

FILTER_EXPRESSION

[expression]

A PDAL expression for selecting a subset of features in the point cloud data

Cropping extent

Optional

FILTER_EXTENT

[extent]

A map extent for selecting a subset of features in the point cloud data

Available methods are:

  • Calculate from layer…: uses extent of a layer loaded in the current project

  • Calculate from layout map…: uses extent of a layout map item in the active project

  • Calculate from bookmark…: uses extent of a saved bookmark

  • Use map canvas extent

  • Draw on canvas: click and drag a rectangle delimiting the area to take into account

  • Enter the coordinates as xmin, xmax, ymin, ymax

Filtered

OUTPUT

[point cloud]

По умолчанию: [Сохранить во временный файл]

Specify the point cloud file to export the data to. One of:

  • Сохранить во временный файл

  • Save to File…

Результаты

Ярлык

Имя

Тип

Описание

Filtered

OUTPUT

[point cloud]

Output point cloud layer with the filtered features of the input point cloud layer. Currently supported formats are .LAS, .LAZ, .COPC.LAZ and .VPC.

Код на Python

Algorithm ID: pdal:filter

import processing
processing.run("algorithm_id", {parameter_dictionary})

ID алгоритма отображается при наведении мыши на алгоритм в Инструментах анализа. Словарь parameter dictionary содержит ключи параметров и их значения. См. Изпользование алгоритмов геообработки в консоли для детального описания того, как запускать алгоритмы анализа из консоли Python.