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
6310cfc3
Commit
6310cfc3
authored
Nov 26, 2025
by
Luna Riegel
Browse files
Fix: Force '.' as decimal separator for BBox-WKT
parent
96c59f97
Changes
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/datastructure/BoundingBox.java
View file @
6310cfc3
...
...
@@ -24,6 +24,7 @@ import de.hft.stuttgart.citydoctor2.utils.visitors.MinMaxExtentVisitor;
import
java.util.Collection
;
import
java.util.List
;
import
java.util.Locale
;
/**
* An axis aligned bounding box represented by its two corners
...
...
@@ -201,7 +202,7 @@ public class BoundingBox {
double
maxX
=
Math
.
max
(
x1
,
x2
);
double
maxY
=
Math
.
max
(
y1
,
y2
);
return
String
.
format
(
"POLYGON((%.3f %.3f, %.3f %.3f, %.3f %.3f, %.3f %.3f, %.3f %.3f))"
,
return
String
.
format
(
Locale
.
ROOT
,
"POLYGON((%.3f %.3f, %.3f %.3f, %.3f %.3f, %.3f %.3f, %.3f %.3f))"
,
minX
,
minY
,
maxX
,
minY
,
maxX
,
maxY
,
...
...
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