Commit 30b3cb26 authored by Eric Duminil's avatar Eric Duminil
Browse files

required wkt

parent 0cbe2911
...@@ -40,7 +40,7 @@ class RegionChooserCommandLineInterface implements Callable<Integer> ...@@ -40,7 +40,7 @@ class RegionChooserCommandLineInterface implements Callable<Integer>
boolean localCoordinates; boolean localCoordinates;
@Option(names = { "-w", @Option(names = { "-w",
"--wkt" }, description = "File containing WKT polygon, or - for stdin", paramLabel = "polygon.wkt") "--wkt" }, required = true, description = "File containing WKT polygon, or - for stdin", paramLabel = "polygon.wkt")
String wktFile = "-"; String wktFile = "-";
@Override @Override
...@@ -85,8 +85,6 @@ public Integer call() throws Exception { ...@@ -85,8 +85,6 @@ public Integer call() throws Exception {
StringBuilder sb = RegionExtractor.selectRegionDirectlyFromCityGML(wktPolygon, localCRS.toString(), citygmls); StringBuilder sb = RegionExtractor.selectRegionDirectlyFromCityGML(wktPolygon, localCRS.toString(), citygmls);
//TODO: Check how many buildings are written. Warning if 0?
RegionChooserUtils.writeStringBuilderToFile(sb, outputCityGML); RegionChooserUtils.writeStringBuilderToFile(sb, outputCityGML);
return 0; return 0;
......
Markdown is supported
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