README.md 1.24 KB
Newer Older
1
2
# CityDoctor2

3
4
[![pipeline status](https://transfer.hft-stuttgart.de/gitlab/betzms/citydoctor2/badges/master/pipeline.svg)](https://transfer.hft-stuttgart.de/gitlab/betzms/citydoctor2/-/commits/master)

5
6
7
8
9
10
11
CityDoctor2 is a Java program for validating CityGML files. It checks whether certain criteria for e.g. geometries are met and outputs a report on the results.

## Installation

Use [Maven](https://maven.apache.org/) to build CityDoctor2.

```bash
Matthias Betz's avatar
Matthias Betz committed
12
cd CityDoctorParent
13
14
15
mvn install
```

Matthias Betz's avatar
Matthias Betz committed
16
CityDoctor2 uses the [quality ade plugin](https://transfer.hft-stuttgart.de/gitlab/betzms/qualityade). A jar is provided in a local repository for ease of use.
17

18
19
## Usage

20
Once built there is a CityDoctorValidation-\<version\>.zip file in the target folder of the CityDoctorValidation folder in which the CityDoctorValidation jar can be used to start the program.
21
22

```bash
Matthias Betz's avatar
Matthias Betz committed
23
java -classpath libs/*;plugins/*;CityDoctorValidation-<version>.jar de.hft.stuttgart.citydoctor2.CityDoctorValidation -in <path-to-gml-file>.gml -config <path-to-validation-config>.yml -xmlReport <path-to-xml-output>.xml -pdfReport <path-to-pdf-output>.pdf -out <path-to-output-gml>.gml
24
25
26
```

Note:
Matthias Betz's avatar
Matthias Betz committed
27
-xmlReport, -pdfReport and -out are optional
28
29
30
31


## License
[LGPL](http://www.gnu.org/licenses/lgpl-3.0.de.html)