General options¶
- -h, --help (default: false)¶
Show help message
- -a, --attributes (default: false)¶
List output attributes
- -v, --version (default: false)¶
Show version
- -j, --jobs <int> (default: 0)¶
Number of threads to use
- -c, --config <string> (default: <no value>)¶
Configuration file
- --trace-interval <int> (default: 10)¶
Interval for tracing in seconds
- --loglevel (trace|debug|info) (default: info)¶
Specify loglevel
Input options¶
- --id-attribute <string> (default: <no value>)¶
Building ID attribute to be used as identifier in CityJSONSeq output.
- --force-lod11-attribute <string> (default: <no value>)¶
Input attribute (boolean) to force individual buildings to always be reconstructed using simple extrusion (LoD 1.1).
- --yoc-attribute <string> (default: <no value>)¶
Input attribute (integer) containing the building’s year of construction. Only relevant when multiple pointclouds are provided.
- --h-terrain-attribute <string> (default: <no value>)¶
Input attribute (float) with fallback terrain elevation for each building. Used in case no terrain elevation can be derived from the pointcloud. See also –h-terrain-strategy
- --h-roof-attribute <string> (default: <no value>)¶
Input attribute (float) containing fallback roof height for buildings in case no roof height can be derived from the pointcloud.
- --polygon-source-layer <string> (default: <no value>)¶
Select this layer name from
<polygon-source>
. By default the first layer is used.
- --filter <string> (default: <no value>)¶
Specify WHERE clause in OGR SQL to select specfic features from
<polygon-source>
.
- --box (xmin ymin xmax ymax) (default: <no value>)¶
Axis aligned bounding box specifying the region of interest. Data outside of this region will be ignored.
- --srs <string> (default: <no value>)¶
Manually set or override Spatial Reference System for input data.
- --bld-class <int> (default: 6)¶
LAS classification code that contains the building points.
- --grnd-class <int> (default: 2)¶
LAS classification code that constains the ground points.
- --[no-]skip-pc-check (default: false)¶
Disable/enable check if all supplied pointcloud files exist.
Crop options¶
- --ceil-point-density <float> (default: 20)¶
Enforce this point density ceiling on each building pointcloud.
- --cellsize <float> (default: 0.5)¶
Cellsize used for quick pointcloud analysis (eg. point density and nodata regions).
- --lod11-fallback-area <int> (default: 69000)¶
LoD 1.1 fallback threshold area in square meters. If the area of the roofprint is larger than this value, the building will be always be reconstructed using a LoD 1.1 extrusion.
- --[no-]clear-insufficient (default: true)¶
Do not attempt to reconstruct buildings with insufficient pointcloud data. If
--h-roof-attribute
is set, an LoD 1.1 extrusion will be performed, otherwise no 3D model will be generated.
- --[no-]compute-pc-98p (default: false)¶
Compute and output the 98th percentile of pointcloud height for each building.
- --[no-]crop-only (default: false)¶
Only perform the crop phase, do not perform reconstruction,
- --[no-]crop-output (default: false)¶
Output building pointclouds from crop phase as LAS files.
- --[no-]crop-output-all (default: false)¶
Output building pointclouds for each pointcloud. Only relevant when multiple pointclouds are provided.Implies
--crop-output
- --[no-]crop-rasters (default: false)¶
Output rasterised pointcloud analytics from crop phase as GeoTIFF files. Implies
--crop-output
- --[no-]index (default: false)¶
Output index.gpkg file with quick pointcloud analystics from crop phase.
Reconstruction options¶
- --[no-]lod12 (default: false)¶
Generate LoD 1.2 geometries in CityJSONSeq output.
- --[no-]lod13 (default: false)¶
Generate LoD 1.3 geometries in CityJSONSeq output.
- --[no-]lod22 (default: true)¶
Generate LoD 2.2 geometries in CityJSONSeq output.
- --complexity-factor <float> (default: 0.888)¶
Complexity factor for building model geometry. A number between 0.0 and 1.0. Higher values lead to more detailed building models, lower values to simpler models.
- --[no-]clip-terrain (default: true)¶
Set to true to activate the procedure that clips parts from the input roofprint wherever patches of ground points are detected.May cause irregular outlines in reconstruction result.
- --lod13-step-height <float> (default: 3)¶
Step height in meters, used for LoD 1.3 generalisation.Adjacent roofparts with a height discontinuity that is smaller than this value are merged. Only affects LoD 1.3 geometry.
- --plane-detect-k <int> (default: 15)¶
Number of points used in nearest neighbour queries for plane detection. Higher values will lead to longer processing times, but may help with growing plane regions through areas with a poor point distribution.
- --plane-detect-min-points <int> (default: 15)¶
Minimum number of points required for detecting a plane in the pointcloud.
- --plane-detect-epsilon <float> (default: 0.3)¶
Maximum distance (in meters) from inliers to plane during plane fitting procedure. Higher values offer more robustness against oversegmentation, but may result in less accurate plane detection.
- --h-terrain-strategy (buffer_tile|buffer_user|user) (default: buffer_tile)¶
Strategy to determine terrain elevation that is used to set the height of building floors.
buffer_tile
: use the 5th percentile lowest elevation point in a 3 meter buffer around the roofprint. If no points are found, we fall back to the lowest elevation point in the current tile. This may give undesired results for hilly areas.buffer_user
: same asbuffer_tile
, but with now with a fallback to the elevation provided via--h-terrain-attribute
.user
: always use the elevation provided via--h-terrain-attribute
.
- --lod11-fallback-planes <int> (default: 900)¶
Number of planes required for LoD 1.1 fallback. When more than this number of planes is detected, abort the reconstruction process and fallback to LoD 1.1 extrusion. Primarily used to limit the reconstruction time per building.
- --lod11-fallback-time <int> (default: 1800000)¶
Time for LOD 1.1 fallback in milliseconds. When more than this time is spent on expensive parts of the reconstruction algorithm, abort and fallback to LoD 1.1 extrusion.
Output options¶
- --[no-]tiling (default: false)¶
Enable or disable output tiling.
- --tilesize (x y) (default: [1000,1000])¶
Tilesize for rectangular output tiles in meters.
- --[no-]split-cjseq (default: false)¶
Output CityJSONSequence file for each building instead of one file per tile.
- --[no-]omit-metadata (default: false)¶
Omit metadata line in CityJSONSequence output.
- --cj-scale (x y z) (default: [0.001,0.001,0.001])¶
Scaling applied to CityJSON output vertices
- --cj-translate (x y z) (default: <no value>)¶
Translation applied to CityJSON output vertices. Uses dataset center by default.
- --attribute-rename key=value[,...] (default: azimuth=rf_azimuth,extrusion_mode=rf_extrusion_mode,force_lod11=rf_force_lod11,h_ground=rf_h_ground,h_pc_98p=rf_h_pc_98p,h_roof_50p=rf_h_roof_50p,h_roof_70p=rf_h_roof_70p,h_roof_max=rf_h_roof_max,h_roof_min=rf_h_roof_min,h_roof_ridge=rf_h_roof_ridge,is_glass_roof=rf_is_glass_roof,is_mutated=rf_is_mutated,nodata_frac=rf_nodata_frac,nodata_r=rf_nodata_r,pc_select=rf_pc_select,pc_source=rf_pc_source,pc_year=rf_pc_year,pointcloud_unusable=rf_pointcloud_unusable,pt_density=rf_pt_density,reconstruction_time=rf_t_run,rmse_lod12=rf_rmse_lod12,rmse_lod13=rf_rmse_lod13,rmse_lod22=rf_rmse_lod22,roof_n_planes=rf_roof_planes,roof_n_ridgelines=rf_ridgelines,roof_type=rf_roof_type,slope=rf_slope,success=rf_success,val3dity_lod12=rf_val3dity_lod12,val3dity_lod13=rf_val3dity_lod13,val3dity_lod22=rf_val3dity_lod22,volume_lod12=rf_volume_lod12,volume_lod13=rf_volume_lod13,volume_lod22=rf_volume_lod22)¶
Rename output attributes. If no value is provided, the attribute will not be written. See the list of available attributes with
--attributes
. By default attribute names are prefixed withrf_
.