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
7a326d1b
Commit
7a326d1b
authored
Feb 25, 2021
by
Matthias Betz
Browse files
renaming requirements from SEM to SE
parent
b9293842
Pipeline
#1996
canceled with stage
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/utils/QualityADEUtils.java
View file @
7a326d1b
...
@@ -136,10 +136,10 @@ public class QualityADEUtils {
...
@@ -136,10 +136,10 @@ public class QualityADEUtils {
return
de
.
hft
.
stuttgart
.
quality
.
model
.
jaxb
.
ErrorId
.
GE_S_SELF_INTERSECTION
;
return
de
.
hft
.
stuttgart
.
quality
.
model
.
jaxb
.
ErrorId
.
GE_S_SELF_INTERSECTION
;
case
"GE_S_MULTIPLE_CONNECTED_COMPONENTS"
:
case
"GE_S_MULTIPLE_CONNECTED_COMPONENTS"
:
return
de
.
hft
.
stuttgart
.
quality
.
model
.
jaxb
.
ErrorId
.
GE_S_MULTIPLE_CONNECTED_COMPONENTS
;
return
de
.
hft
.
stuttgart
.
quality
.
model
.
jaxb
.
ErrorId
.
GE_S_MULTIPLE_CONNECTED_COMPONENTS
;
case
"SE
M
_ATTRIBUTE_WRONG_VALUE"
:
case
"SE_ATTRIBUTE_WRONG_VALUE"
:
return
de
.
hft
.
stuttgart
.
quality
.
model
.
jaxb
.
ErrorId
.
SE
M
_ATTRIBUTE_WRONG_VALUE
;
return
de
.
hft
.
stuttgart
.
quality
.
model
.
jaxb
.
ErrorId
.
SE_ATTRIBUTE_WRONG_VALUE
;
case
"SE
M
_ATTRIBUTE_MISSING"
:
case
"SE_ATTRIBUTE_MISSING"
:
return
de
.
hft
.
stuttgart
.
quality
.
model
.
jaxb
.
ErrorId
.
SE
M
_ATTRIBUTE_MISSING
;
return
de
.
hft
.
stuttgart
.
quality
.
model
.
jaxb
.
ErrorId
.
SE_ATTRIBUTE_MISSING
;
default
:
default
:
throw
new
IllegalStateException
(
"Cannot map "
+
key
+
" to ADE Error Id"
);
throw
new
IllegalStateException
(
"Cannot map "
+
key
+
" to ADE Error Id"
);
}
}
...
...
CityDoctorParent/CityDoctorValidation/src/main/java/de/hft/stuttgart/citydoctor2/check/Checker.java
View file @
7a326d1b
...
@@ -282,9 +282,9 @@ public class Checker {
...
@@ -282,9 +282,9 @@ public class Checker {
}
}
Requirement
missing
=
new
Requirement
();
Requirement
missing
=
new
Requirement
();
missing
.
setName
(
RequirementId
.
R_SE
M
_ATTRIBUTES_EXISTING
);
missing
.
setName
(
RequirementId
.
R_SE_ATTRIBUTES_EXISTING
);
Requirement
correct
=
new
Requirement
();
Requirement
correct
=
new
Requirement
();
correct
.
setName
(
RequirementId
.
R_SE
M
_ATTRIBUTES_CORRECT
);
correct
.
setName
(
RequirementId
.
R_SE_ATTRIBUTES_CORRECT
);
missing
.
setEnabled
(
config
.
getSchematronFilePath
()
!=
null
);
missing
.
setEnabled
(
config
.
getSchematronFilePath
()
!=
null
);
correct
.
setEnabled
(
config
.
getSchematronFilePath
()
!=
null
);
correct
.
setEnabled
(
config
.
getSchematronFilePath
()
!=
null
);
plan
.
getRequirements
().
add
(
missing
);
plan
.
getRequirements
().
add
(
missing
);
...
...
CityDoctorParent/CityDoctorValidation/src/main/java/de/hft/stuttgart/citydoctor2/checks/geometry/TooFewPolygonsCheck.java
View file @
7a326d1b
...
@@ -50,16 +50,15 @@ public class TooFewPolygonsCheck extends Check {
...
@@ -50,16 +50,15 @@ public class TooFewPolygonsCheck extends Check {
deps
.
add
(
CheckId
.
C_GE_P_INTERIOR_DISCONNECTED
);
deps
.
add
(
CheckId
.
C_GE_P_INTERIOR_DISCONNECTED
);
deps
.
add
(
CheckId
.
C_GE_P_INTERSECTING_RINGS
);
deps
.
add
(
CheckId
.
C_GE_P_INTERSECTING_RINGS
);
deps
.
add
(
CheckId
.
C_GE_P_NON_PLANAR
);
deps
.
add
(
CheckId
.
C_GE_P_NON_PLANAR
);
dependencies
=
Collections
.
unmodifiableList
(
deps
);
dependencies
=
Collections
.
unmodifiableList
(
deps
);
}
}
/**
/**
* This method does the main check whether the solid have at least 4 faces or
* This method does the main check whether the solid have at least 4 faces or
* not.
* not.
*
*
* @param toBeCheckedGeometry
* @param toBeCheckedGeometry The ViewableGeometry that has to be checked.
* The ViewableGeometry that has to be checked.
* @return Vector of CDErrors
* @return Vector of CDErrors
*/
*/
@Override
@Override
...
...
CityDoctorParent/non-maven-libs/de/hft/stuttgart/citygml4j-quality-ade/0.1.0/citygml4j-quality-ade-0.1.0.jar
View file @
7a326d1b
No preview for this file type
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