Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
2 years ago
by
Eric Duminil
Browse files
Options
Download
Email Patches
Plain Diff
required wkt
parent
0cbe2911
master
develop
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/eu/simstadt/regionchooser/RegionChooserCommandLineInterface.java
+1
-3
...tadt/regionchooser/RegionChooserCommandLineInterface.java
with
1 addition
and
3 deletions
+1
-3
src/main/java/eu/simstadt/regionchooser/RegionChooserCommandLineInterface.java
+
1
-
3
View file @
30b3cb26
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets