Export Scenes using Processing Algorithm¶
Do you want to export many scenes as web pages, image files or 3D model files? You can do them using Qgis2threejs algorithms in Processing tool box. Qgis2threejs provides three algorithms - “Export as Web Page”, “Export as Image” and “Export as 3D Model”.
Add a DEM layer that covers the whole area you are going to export, a vector layer to point out area of interest for each scene and any other layers to project. The vector layer is called as coverage layer and should have title field that contains string used as title of file to export.
Open Qgis2threejs exporter and set up a scene.
- Open one of the Qgis2threejs algorithms from Processing toolbox.
- Select the coverage layer and the title field, and configure other parameters. Coverage layer must be visible in QGIS project when “Current Feature Filter” option is checked.
- Click on Run button.
A vector layer. Creates and exports scenes focused on each feature of this layer.
A field that contains string used as title of file to export.
Current Feature Filter
Hides coverage layer features other than currently focused feature from texture image to be rendered.
Path to output directory.
Fit to Geometry
Zoom to current feature geometry.
Fixed scale (based on map canvas)
Use current map canvas scale.
Default value is 10.
Texture base width (px)
Default value is 1024.
Texture base height (px)
In “Fit to Geometry” scale mode, leave this zero to respect aspect ratio of buffered geometry bounding box. In “Fixed scale” scale mode, aspect ratio of map canvas size is respected when this is set to zero. Default value is 0.
An expression which represents header label in HTML.
An expression which represents footer label in HTML.
Export Settings File (.qto3settings)
Optional. Path to export settings file. Leave this empty to use current export settings.
Export as Web Page¶
Select one of web page templates. See Export to Web Dialog in Exporter page and Web Viewer Templates.
Export as Image¶
Output image width in pixel. Default value is 2480.
Output image height in pixel. Default value is 1748.
Export as 3D Model¶
No specific settings.