Skip to content
Snippets Groups Projects
Commit d5a3298e authored by Michael Riedel's avatar Michael Riedel
Browse files

minor modifications

parent 8f9541db
No related branches found
No related tags found
No related merge requests found
......@@ -10,13 +10,13 @@ Python script checks whether the database tables and columns referenced in a dee
## Usage
```powershell
python main.py --fs 'FEATURE STORE' --ps 'DB CONNECTION' --logfile 'OUTPUT LOG' [--mode [short|normal|debug]][--help]
python main.py --sql_fs 'FEATURE STORE' --db_connection 'DB CONNECTION' --logfile 'OUTPUT LOG' [--mode '[short|normal|debug]]'[--help]
```
## Parameters
* `--fs`: Deegree Server SQL Feature Store Configuration (.xml). This file contains the mapping from the relational database structure of a PostgreSQL database to a GML schema. Its structure is described in the documentation of [deegree server](https://download.deegree.org/documentation/3.5.5/html/#anchor-configuration-sqlfeaturestore).
* `--ps`: JSON file containing the connection information for the PostgreSQL database. The corresponding JSON schema can be found under `./schema/database-config.json`. Example (`./input/database.json`):
* `-s, --sql_fs`: Deegree Server SQL Feature Store Configuration (.xml). This file contains the mapping from the relational database structure of a PostgreSQL database to a GML schema. Its structure is described in the documentation of [deegree server](https://download.deegree.org/documentation/3.5.5/html/#anchor-configuration-sqlfeaturestore).
* `d, --db_connection`: JSON file containing the connection information for the PostgreSQL database. The corresponding JSON schema can be found under `./schema/database-config.json`. Example (`./input/database.json`):
```json
{
"host": "127.0.0.1",
......@@ -27,8 +27,8 @@ python main.py --fs 'FEATURE STORE' --ps 'DB CONNECTION' --logfile 'OUTPUT LOG'
}
```
Note: The *password* key is optional. If it is not set, the password is requested via a user input.
* `--logfile`: Log file for outputting the results. Missing tables and columns in the database are shown as warnings.
* `--mode`: Output mode (optional). Possible Values are:
* `-l, --logfile`: Log file for outputting the results. Missing tables and columns in the database are shown as warnings.
* `-m, --mode`: Output mode (optional). Possible Values are:
+ *short*: Shows only warnings
+ *normal*: default Value. Shows infos
* *debug*: verbose Output
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment