Wichtig

Übersetzen ist eine Gemeinschaftsleistung - Sie können mitmachen <https://qgis.org/en/site/getinvolved/translate.html#becoming-a-translator>`_. Diese Seite ist aktuell zu 40.48% übersetzt.

28.1.1. 3D Tiles

NEW in 3.34

28.1.1.1. Convert B3DM to GLTF

Converts files from the legacy .B3DM format to .GLTF or .GLB.

Parameter

Bezeichnung

Name

Typ

Beschreibung

Input B3DM

INPUT

[3D Tile]

Input file to convert.

Output file

OUTPUT

[3D Tile]

Default: [Save to temporary file]

Specify the output 3D tile file. One of:

  • Save to a Temporary File

  • Save to File…

Ausgaben

Bezeichnung

Name

Typ

Beschreibung

Output file

OUTPUT

[3D Tile]

Output layer in .GLTF format.

Pythoncode

Algorithm ID: native:b3dmtogltf

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 Verarbeitung Algorithmen von der Konsole aus verwenden for details on how to run processing algorithms from the Python console.

28.1.1.2. Convert GLTF to vector features

Converts .GLTF or .GLB file contents to standard vector layer formats.

Parameter

Bezeichnung

Name

Typ

Beschreibung

Input GLTF

INPUT

[3D Tile]

Input file to convert.

Output polygons

Optional

OUTPUT_POLYGONS

[vector: polygon]

Default: [Create temporary layer]

Specify the output vector layer to store polygon features. One of:

  • Skip Output

  • Create Temporary Layer (TEMPORARY_OUTPUT)

  • Save to File…

  • Save to Geopackage…

  • Save to Database Table…

The file encoding can also be changed here.

Output lines

Optional

OUTPUT_LINES

[vector: line]

Default: [Create temporary layer]

Specify the output vector layer to store line features. One of:

  • Skip Output

  • Create Temporary Layer (TEMPORARY_OUTPUT)

  • Save to File…

  • Save to Geopackage…

  • Save to Database Table…

The file encoding can also be changed here.

Ausgaben

Bezeichnung

Name

Typ

Beschreibung

Output polygons

OUTPUT_POLYGONS

[vector: polygon]

A vector layer storing the polygon features in input layer.

Output lines

OUTPUT_LINES

[vector: line]

A vector layer storing the line features in input layer.

Pythoncode

Algorithm ID: native:gltftovector

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 Verarbeitung Algorithmen von der Konsole aus verwenden for details on how to run processing algorithms from the Python console.