This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git


The following commit(s) were added to refs/heads/geoapi-4.0 by this push:
     new 248ba7d5d5 Fix wrong value of `Units.POINT` (was expressed relatively 
to meter instead of inch).
248ba7d5d5 is described below

commit 248ba7d5d54ecb7b3bed9d509630f7a9a7a70b3f
Author: Martin Desruisseaux <[email protected]>
AuthorDate: Wed Nov 18 11:01:00 2026 +0100

    Fix wrong value of `Units.POINT` (was expressed relatively to meter instead 
of inch).
---
 .../src/org.apache.sis.util/main/org/apache/sis/measure/Units.java    | 4 ++--
 .../org.apache.sis.util/main/org/apache/sis/measure/package-info.java | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git 
a/endorsed/src/org.apache.sis.util/main/org/apache/sis/measure/Units.java 
b/endorsed/src/org.apache.sis.util/main/org/apache/sis/measure/Units.java
index d1bd8cb2a3..40dc6e4912 100644
--- a/endorsed/src/org.apache.sis.util/main/org/apache/sis/measure/Units.java
+++ b/endorsed/src/org.apache.sis.util/main/org/apache/sis/measure/Units.java
@@ -76,7 +76,7 @@ import static 
org.apache.sis.util.internal.shared.Constants.MILLIS_PER_TROPICAL_
  *
  * @author  Martin Desruisseaux (IRD, Geomatys)
  * @author  Alexis Manin (Geomatys)
- * @version 1.5
+ * @version 1.8
  * @since SIS 0.3
  */
 public final class Units {
@@ -1270,7 +1270,7 @@ public final class Units {
         CLARKE_FOOT    = add(m, LinearConverter.scale(3047972654d, 1E10), 
"ftCla", OTHER,    (short) 9005);
         FOOT           = add(m, LinearConverter.scale(   3048,    10000), 
"ft",    IMPERIAL, (short) 9002);
         INCH           = add(m, LinearConverter.scale(    254,    10000), 
"in",    IMPERIAL, (short) 0);
-        POINT          = add(m, LinearConverter.scale( 996264, 72000000), 
"pt",    OTHER,    (short) 0);
+        POINT          = add(m, LinearConverter.scale(253051056,  72E10), 
"pt",    OTHER,    (short) 0);
         /*
          * All Unit<Time>.
          */
diff --git 
a/endorsed/src/org.apache.sis.util/main/org/apache/sis/measure/package-info.java
 
b/endorsed/src/org.apache.sis.util/main/org/apache/sis/measure/package-info.java
index 5321c170cb..f59c6beee1 100644
--- 
a/endorsed/src/org.apache.sis.util/main/org/apache/sis/measure/package-info.java
+++ 
b/endorsed/src/org.apache.sis.util/main/org/apache/sis/measure/package-info.java
@@ -97,7 +97,8 @@
  *
  * @author  Martin Desruisseaux (MPO, IRD, Geomatys)
  * @author  Alexis Manin (Geomatys)
- * @version 1.7
+ * @version 1.8
+ *
  * @since SIS 0.3
  */
 package org.apache.sis.measure;

Reply via email to