geo3d.pdal.writers

Attributes

Functions

las(→ Dict[str, Any])

Create writers.las's dictionary.

gdal(→ Dict[str, Any])

Create writers.gdal's dictionary.

Module Contents

geo3d.pdal.writers.WRITER_TYPES
geo3d.pdal.writers.las(filename: str, minor_version: int, dataformat_id: int) Dict[str, Any]

Create writers.las’s dictionary.

Parameters:
  • filename (str) – The path to the file to be stored.

  • minor_version (int) – All LAS files are version 1, but minor version can be in (0 - 4).

  • dataformat_id (int) – Specification of the Dataformat of the LAS file.

Returns:

The Writer’s options dictionary.

Return type:

dict

geo3d.pdal.writers.gdal(filename: str, resolution: float, output_type: str | None = None, window_size: float | None = None, data_type: str | None = None, gdalopts: str | None = None) Dict[str, Any]

Create writers.gdal’s dictionary.

Parameters:
  • filename (str) – The path to the output raster file (.tif).

  • resolution (float) – Length of raster cell edges in X/Y units.

  • output_type (Optional[str]) – A comma separated list of statistics for which to produce raster layers.

  • window_size (Optional[float]) – The maximum distance from a donor cell to a target cell when applying fallback interpolation method.

  • data_type (Optional[str]) – The data type to use for the output raster.

  • gdalopts (Optional[str]) – A list of key/value options to pass to the GDAL driver.

Returns:

The Writer’s options dictionary.

Return type:

Dict[str, Any]