Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
The initial value in XMax, YMax, ZMax (https://github.com/apache/incubator-sedona/blob/master/common/src/main/java/org/apache/sedona/common/Functions.java#L133)
should be -Double.MAX_VALUE since the coordinates can be negative.
Double.MIN_VALUE is not negative. See https://stackoverflow.com/questions/3884793/why-is-double-min-value-in-not-negative
Attachments
Issue Links
- links to