Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
269e45c7
Commit
269e45c7
authored
Oct 16, 2025
by
Luna Riegel
Browse files
Refactor: Make debugging logs debug log-level
parent
3cb4b163
Changes
2
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/datastructure/ImplicitGeometryHolder.java
View file @
269e45c7
...
@@ -76,6 +76,9 @@ public class ImplicitGeometryHolder extends Geometry {
...
@@ -76,6 +76,9 @@ public class ImplicitGeometryHolder extends Geometry {
logger
.
warn
(
"RelativeGeometries of the following gmlIDs could not be resolved: {}"
,
missingGeoms
);
logger
.
warn
(
"RelativeGeometries of the following gmlIDs could not be resolved: {}"
,
missingGeoms
);
}
}
deferredRelGeomObjects
.
clear
();
deferredRelGeomObjects
.
clear
();
if
(
logger
.
isDebugEnabled
())
{
logger
.
debug
(
"Resolving HRef geometries finished"
);
}
}
}
private
ImplicitGeometryHolder
(
Lod
lod
)
{
private
ImplicitGeometryHolder
(
Lod
lod
)
{
...
...
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/parser/CityGmlParser.java
View file @
269e45c7
...
@@ -599,13 +599,15 @@ public class CityGmlParser {
...
@@ -599,13 +599,15 @@ public class CityGmlParser {
CityModel
cModel
=
mapper
.
getModel
().
getCityModel
();
CityModel
cModel
=
mapper
.
getModel
().
getCityModel
();
// remove those that should have been parsed
// remove those that should have been parsed
logger
.
info
(
"Getting parsed object from CityDoctorModel"
);
logger
.
debug
(
"Getting parsed object from CityDoctorModel"
);
List
<
AbstractCityObject
>
parsedCityObjects
=
mapper
.
getModel
().
createFeatureStream
().
filter
(
Objects:
:
nonNull
)
List
<
AbstractCityObject
>
parsedCityObjects
=
mapper
.
getModel
().
createFeatureStream
().
filter
(
Objects:
:
nonNull
)
.
map
(
CityObject:
:
getGmlObject
).
toList
();
.
map
(
CityObject:
:
getGmlObject
).
toList
();
logger
.
info
(
"Removing all parsed city objects from acos"
);
logger
.
debug
(
"Removing all parsed city objects from acos"
);
acos
.
removeAll
(
parsedCityObjects
);
acos
.
removeAll
(
parsedCityObjects
);
// re-add all not parsed objects
// re-add all not parsed objects
logger
.
info
(
"Resolving HRefs"
);
if
(
logger
.
isInfoEnabled
()
&&
verbose
){
logger
.
info
(
"Resolving HRefs"
);
}
for
(
AbstractCityObject
aco
:
acos
)
{
for
(
AbstractCityObject
aco
:
acos
)
{
cModel
.
getCityObjectMembers
().
add
(
new
AbstractCityObjectProperty
(
aco
));
cModel
.
getCityObjectMembers
().
add
(
new
AbstractCityObjectProperty
(
aco
));
}
}
...
...
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