Commit 5b661fce authored by Eric Duminil's avatar Eric Duminil
Browse files

Updated doc

parent e6c69f5e
No related merge requests found
Pipeline #11221 passed with stage
in 38 seconds
Showing with 12 additions and 7 deletions
+12 -7
......@@ -6,7 +6,7 @@
It uses:
* [Java 8](https://simstadt.hft-stuttgart.de/getting-started/install-software/#java-8)
* [Java 8 or newer](https://simstadt.hft-stuttgart.de/getting-started/install-software/#java-17)
* JavaFX
* [Openlayers](https://openlayers.org/)
......@@ -57,10 +57,11 @@ With this feature, it should be easy to share geometry between users.
RegionChooser can also be called from the command-line:
```bash
Launching RegionChooser CLI --help
Usage: region_chooser [-hlV] [-e=31467] -o=output.gml -w=polygon.wkt -i=input.
gml[,input.gml...] [-i=input.gml[,input.gml...]]...
Extracts a region from one or more citygmls.
Launching RegionChooserCLI --help
Usage: region_chooser [-hlV] [--get-hull] [-e=31467] [-o=output.gml]
[-w=polygon.wkt] -i=input.gml[,input.gml...] [-i=input.gml
[,input.gml...]]...
Extracts a region from one or more citygmls, or calculates the convex hull.
-i, --input=input.gml[,input.gml...]
Citygml files to extract from
-o, --output=output.gml Output file
......@@ -69,6 +70,7 @@ Extracts a region from one or more citygmls.
-l, --local Are WKT coordinates in local CRS?
Coordinates are in WGS84 if unspecified.
-w, --wkt=polygon.wkt File containing WKT polygon, or - for stdin
--get-hull Calculate the convex hull of the input CityGML files
-h, --help Show this help message and exit.
-V, --version Print version information and exit.
```
......@@ -76,12 +78,15 @@ Extracts a region from one or more citygmls.
As an example:
```bash
java -classpath "Desktop\SimStadt_0.10.0-SNAPSHOT_master_20221019_7d2546f\lib\*"
eu.simstadt.regionchooser.RegionChooserCLI
SimStadt.bat
--input Grombühl.proj\LoD2_32_566_5516_2_BY.gml,Grombühl.proj\LoD2_32_568_5516_2_BY.gml,Grombühl.proj\LoD2_32_570_5516_2_BY.gml
--output Grombühl.proj\Grombühl.gml --wkt "POLYGON((9.920858224863567 49.807325539080495, 9.918540796274696 49.79447295986074, 9.992612680429975 49.79358644932381, 9.991926034922162 49.807325539080495, 9.920858224863567 49.807325539080495))"
```
```bash
./SimStadt.sh --get-hull --input example.gml
```
## Development
In order to compile, test and install RegionChooser into your local Maven repository:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment