Skip to content

Commit

Permalink
import v0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
MScMOSS committed Dec 16, 2024
1 parent ca95bbc commit 06e24a8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 30 deletions.
28 changes: 0 additions & 28 deletions docs/CityDB tool/import.md

This file was deleted.

15 changes: 13 additions & 2 deletions docs/citydb-tool/import.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The **import** command imports one or more CityGML or CityJSON files into the 3D

## Usage

To import your files to the 3D City Database it is necessary to give along the information for the connection. Look up [Database connection] (./db-connection.md) for further information.
To import your files to the 3D City Database it is necessary to give along the information for the connection. Look up [Database connection](db-connection.md) for further information.

Use `citydb import citygml [OPTIONS] <file>` to import one or more citygml files from a directory into the database.

Expand All @@ -19,8 +19,10 @@ The command provides a range of [OPTIONS] to adapt the import process.

### Options Table

OPTION / Command | discription
OPTION / command | discription
------------ | -------------
`@<filename>...` | One or more argument files containing options.
`<file>...` | One or more files and directories to process (globpatterns allowed).
`--input-encoding= <encoding>` | Encoding of input file(s).
`--fail-fast` | Fail fast on errors.
`--temp-dir= <dir>` | Store temporary files in this directory.
Expand All @@ -33,3 +35,12 @@ OPTION / Command | discription
`--pid-file=<file>` | Create a file containing the process ID.
`--plugins=<dir>` | Load plugins from this directory.
`--use-plugins=<plugin[=true|false][,<plugin[=true|false]...]` | Enable or disable plugins with a matching fully qualified class name (default: true).


### Better Practice

You can use an textfile to combine and outsource commands and the link to the config.json to keep a better overwiew of issued commands. Save the textfile in the same folder as the config.json.

```bash
citydb import citygml <file> @options.txt
```

0 comments on commit 06e24a8

Please sign in to comment.