Ważne

Tłumaczenie jest wysiłkiem społeczności QGISa przyłącz się. Ta strona jest obecnie przetłumaczona w 64.44%.

24.1.12. Point Cloud Conversion

Informacja

These algorithms are only available if QGIS uses the PDAL library version 2.5.0 or newer.

24.1.12.1. Konwertuj format

Converts a point cloud to a different file format, e.g. creates a compressed .LAZ.

Parametry

Etykieta

Nazwa

Typ

Opis

Warstwa wejściowa

INPUT

[point cloud]

Input point cloud layer to convert

Przekonwertowany

OUTPUT

[point cloud]

Domyślnie: [Zapisz do pliku tymczasowego]

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

  • Zapisz do pliku tymczasowego

  • Zapisz do pliku…

Wyniki

Etykieta

Nazwa

Typ

Opis

Przekonwertowany

OUTPUT

[point cloud]

Output point cloud layer in a modified file format. Currently supported formats are .LAS, .LAZ, .COPC.LAZ and .VPC.

Kod Pythona

ID algorytmu: pdal:convertformat

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

The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.

24.1.12.2. Export to raster

Exports point cloud data to a 2D raster grid having cell size of given resolution, writing values from the specified attribute.

../../../../_images/point_cloud_exportraster.png

Rys. 24.10 Raster output using Intensity attribute of points

Parametry

Parametry podstawowe

Etykieta

Nazwa

Typ

Opis

Warstwa wejściowa

INPUT

[point cloud]

Input point cloud layer to export

Atrybut

ATTRIBUTE

[field] [enumeration]

A Field of the point cloud layer to extract the values from

Resolution of the density raster

RESOLUTION

[numeric: double]

Domyślnie: 1.0

Cell size of the output raster

Tile size for parallel runs

TILE_SIZE

[numeric: integer]

Domyślnie: 1000

Wyeksportowane

OUTPUT

[raster]

Domyślnie: [Zapisz do pliku tymczasowego]

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

  • Zapisz do pliku tymczasowego

  • Zapisz do pliku…

Parametry zaawansowane

Etykieta

Nazwa

Typ

Opis

Filter expression

Opcjonalne

FILTER_EXPRESSION

[wyrażenie]

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

Cropping extent

Opcjonalne

FILTER_EXTENT

[zasięg]

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

Opcjonalne

ORIGIN_X

[numeric: double]

Y origin of a tile for parallel runs

Opcjonalne

ORIGIN_Y

[numeric: double]

Wyniki

Etykieta

Nazwa

Typ

Opis

Wyeksportowane

OUTPUT

[raster]

Output raster layer features of the point cloud layer are exported to. Currently supported format is .TIF.

Kod Pythona

ID algorytmu: pdal:exportraster

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

The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.

24.1.12.3. Export raster (using triangulation)

Exports point cloud data to a 2D raster grid using a triangulation of points and then interpolating cell values from triangles.

Informacja

Using this algorithm can be slower if you are dealing with a large dataset. If your point cloud is dense, you can export your ground points as a raster using the Export to raster algorithm.

../../../../_images/point_cloud_exportrastertin.png

Rys. 24.11 Terrain raster output generated by point cloud triangulation

Parametry

Parametry podstawowe

Etykieta

Nazwa

Typ

Opis

Warstwa wejściowa

INPUT

[point cloud]

Input point cloud layer to export

Resolution of the density raster

RESOLUTION

[numeric: double]

Domyślnie: 1.0

Cell size of the output raster

Tile size for parallel runs

TILE_SIZE

[numeric: integer]

Domyślnie: 1000

Wyeksportowane

OUTPUT

[raster]

Domyślnie: [Zapisz do pliku tymczasowego]

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

  • Zapisz do pliku tymczasowego

  • Zapisz do pliku…

Parametry zaawansowane

Etykieta

Nazwa

Typ

Opis

Filter expression

Opcjonalne

FILTER_EXPRESSION

[wyrażenie]

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

Cropping extent

Opcjonalne

FILTER_EXTENT

[zasięg]

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

Opcjonalne

ORIGIN_X

[numeric: double]

Y origin of a tile for parallel runs

Opcjonalne

ORIGIN_Y

[numeric: double]

Wyniki

Etykieta

Nazwa

Typ

Opis

Exported (using triangulation)

OUTPUT

[raster]

Output raster layer features of the point cloud layer are exported to. Currently supported format is .TIF.

Kod Pythona

ID algorytmu: pdal:exportrastertin

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

The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.

24.1.12.4. Export to vector

Exports point cloud data to a vector layer with 3D points (a GeoPackage), optionally with extra attributes.

../../../../_images/point_cloud_exportvector.png

Rys. 24.12 Exporting point cloud (ground points) to a vector layer styled based on the elevation

Parametry

Parametry podstawowe

Etykieta

Nazwa

Typ

Opis

Warstwa wejściowa

INPUT

[point cloud]

Input point cloud layer to export

Atrybut

Opcjonalne

ATTRIBUTE

[field] [list]

One or more fields of the point cloud layer to export with the points.

Wyeksportowane

OUTPUT

[wektor]

Domyślnie: [Zapisz do pliku tymczasowego]

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

  • Zapisz do pliku tymczasowego

  • Zapisz do pliku…

Parametry zaawansowane

Etykieta

Nazwa

Typ

Opis

Filter expression

Opcjonalne

FILTER_EXPRESSION

[wyrażenie]

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

Cropping extent

Opcjonalne

FILTER_EXTENT

[zasięg]

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

Wyniki

Etykieta

Nazwa

Typ

Opis

Wyeksportowane

OUTPUT

[wektor]

Output vector layer features of the point cloud layer are exported to. Currently supported format is .GPKG.

Kod Pythona

ID algorytmu: pdal:exportvector

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

The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.