From 4bac4a40f7735f17d8e6b2ebe7c90c3c7ae75848 Mon Sep 17 00:00:00 2001 From: Ravi Peters Date: Sat, 16 Sep 2023 12:36:41 +0200 Subject: [PATCH] update readme and single reconstruct flowchart --- README.md | 10 +++++----- flowcharts/gfc-brecon | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6e49027..56fe793 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ Options: A flowchart can contain some parameters that are set for the whole flowchart. These are called *globals* To see the global parameters of a flowchart and their explanation pass the `--list-globals` option. ```shell -geof flowchart.json --list-globals +geof flowchart.json --verbose --list-globals ``` An example of the flowchart globals printed by `--list-globals`: ```shell @@ -106,9 +106,9 @@ Available globals: > building_identifier [Unique identifier attribute present in input footprint source] default value: "fid" > input_footprint [Input 2D vector file with building footprint(s)] - default value: "test-data/wippolder.gpkg" - > input_footprint_select [Feature number to load (value must be in the range 1 to number of features in foootprint input)] - default value: 1 + default value: "" + > input_footprint_select_sql ["OGR SQL statement to select one input footprint from the input_footprint file, eg \"fid=47\"] + default value: "fid=47\" ... ``` @@ -160,7 +160,7 @@ lod22-reconstruct \ Here we override the default values that are set in the flowchart. The `input_footprint` and `input_pointcloud` are passed directly in the command line. -In addition, the `input_footprint_select=47` (to select the 47th feature from the input footprint file) is read from the config file `config.toml`. +In addition, the `input_footprint_select_sql='fid=47'` (to select the 47th feature from the input footprint file) is read from the config file `config.toml`. Combining the command line parameters and the config file allows you to keep the parameters that don't change with each model in the configuration file, while passing input and output parameters in the command line. diff --git a/flowcharts/gfc-brecon b/flowcharts/gfc-brecon index 919acf7..c3dbe76 160000 --- a/flowcharts/gfc-brecon +++ b/flowcharts/gfc-brecon @@ -1 +1 @@ -Subproject commit 919acf7bb9433ca9495ff258057dc59c0cfab6f7 +Subproject commit c3dbe7652460259ea39ff89e2403b41d186bdcc4