Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eric Duminil
RegionChooser
Commits
30b3cb26
Commit
30b3cb26
authored
Oct 10, 2022
by
Eric Duminil
Browse files
required wkt
parent
0cbe2911
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/eu/simstadt/regionchooser/RegionChooserCommandLineInterface.java
View file @
30b3cb26
...
...
@@ -40,7 +40,7 @@ class RegionChooserCommandLineInterface implements Callable<Integer>
boolean
localCoordinates
;
@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
=
"-"
;
@Override
...
...
@@ -85,8 +85,6 @@ public Integer call() throws Exception {
StringBuilder
sb
=
RegionExtractor
.
selectRegionDirectlyFromCityGML
(
wktPolygon
,
localCRS
.
toString
(),
citygmls
);
//TODO: Check how many buildings are written. Warning if 0?
RegionChooserUtils
.
writeStringBuilderToFile
(
sb
,
outputCityGML
);
return
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment