README.md 2.49 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
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.

Matthias Betz's avatar
Matthias Betz committed
7
8
9
10
## Homepage

[Here](https://transfer.hft-stuttgart.de/pages/citydoctor/citydoctorhomepage/de/) is a homepage with more detailed installation instruction and more information about the quality management process itself.

Matthias Betz's avatar
Matthias Betz committed
11
## Releases
12

Matthias Betz's avatar
Matthias Betz committed
13
14
15
The newest releases can be found in this [gitlab repository](https://transfer.hft-stuttgart.de/gitlab/citydoctor/citydoctorreleases).

You can download older releases from the BHT page [here](https://projekt.bht-berlin.de/citydoctor2/downloads/) or from a git repository [here](https://gitlab.com/volkercoors/CiD4Sim/-/tree/master/CityDoctorExtension).
Matthias Betz's avatar
Matthias Betz committed
16

Matthias Betz's avatar
Matthias Betz committed
17
18
19
20
21
22
Since version 3.12.0 CityDoctor2 requires java version 17, older version are based on version 1.8. The GUI version requires Javafx which is included in Java 1.8 but not in Java 17. You can download a Java version with Javafx included from [here](https://bell-sw.com/pages/downloads/#/java-17-lts). Choose your platform and then choose to download the full JRE or JDK which includes Javafx.

The releases include builds for the validation library (CityDoctorValidation-x.x.x) and the grahpic user interface (CityDoctorGUI-x.x.x). While the GUI is not open source it is free to use.

## Build

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

```bash
Matthias Betz's avatar
Matthias Betz committed
26
cd CityDoctorParent
27
28
29
mvn install
```

Matthias Betz's avatar
Matthias Betz committed
30
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.
31

32
33
## Usage

34
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.
35

Matthias Betz's avatar
Matthias Betz committed
36
37
There is a start script included in the binary releases of citydoctor. An example start command looks like this:

38
```bash
Matthias Betz's avatar
Matthias Betz committed
39
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
40
41
42
```

Note:
Matthias Betz's avatar
Matthias Betz committed
43
-xmlReport, -pdfReport and -out are optional
44
45
46


## License
Matthias Betz's avatar
Matthias Betz committed
47
[LGPL](http://www.gnu.org/licenses/lgpl-3.0.de.html)