Jia Yu created SEDONA-204:
-----------------------------
Summary: Init value in X/Y/Z max should be -Double.MAX
Key: SEDONA-204
URL: https://issues.apache.org/jira/browse/SEDONA-204
Project: Apache Sedona
Issue Type: Bug
Reporter: Jia Yu
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
--
This message was sent by Atlassian Jira
(v8.20.10#820010)