Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mayer
CircularGreenSimCity
Commits
770caa5b
Commit
770caa5b
authored
May 13, 2024
by
Eric Duminil
Browse files
EnrichCitygml: More data for Marieke.
parent
9ffe9e9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
enrich-citygml-with-greenarea/src/main/java/de/hft/stuttgart/scripts/PrepareDataForMarieke.java
View file @
770caa5b
...
...
@@ -16,7 +16,23 @@ public class PrepareDataForMarieke
public
static
void
main
(
String
[]
whatever
)
throws
Exception
{
processWholeRegion
();
processSmallBlocks
();
processStatusQuo
();
}
private
static
void
processStatusQuo
()
throws
IOException
,
CityGMLContextException
,
CityGMLReadException
,
InterruptedException
,
CityGMLWriteException
,
JAXBException
,
ParseException
{
File
folder
=
new
File
(
"data/Marieke/GebietsausschnittStatusQuo/"
);
File
shapefile
=
new
File
(
"data/Marieke/GebietsausschnittStatusQuo/Baum_alle.shp"
);
File
[]
gmls
=
folder
.
listFiles
((
dir
,
name
)
->
name
.
endsWith
(
".gml"
));
for
(
File
gml
:
gmls
)
{
System
.
err
.
println
(
">>> "
+
gml
);
String
extension
=
shapefile
.
getName
().
replaceAll
(
"\\.shp"
,
""
);
String
[]
args
=
new
String
[]
{
gml
.
toString
(),
// Input GML
shapefile
.
toString
(),
// Added trees, in Baumkatasterformat,
extension
,
// Output GML suffix
};
GreenEnricher
.
main
(
args
);
}
}
private
static
void
processSmallBlocks
()
throws
IOException
,
CityGMLContextException
,
CityGMLReadException
,
...
...
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