sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] 02/02: Referencing bug fix: CoordinateOperation metadata were sometime overwritten by CoordinateSystem metadata. https://issues.apache.org/jira/browse/SIS-483
Date Sun, 08 Dec 2019 16:36:58 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit 92f425d5b663add5484f76c8301016e92898a825
Author: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
AuthorDate: Sun Dec 8 17:04:51 2019 +0100

    Referencing bug fix: CoordinateOperation metadata were sometime overwritten by CoordinateSystem
metadata.
    https://issues.apache.org/jira/browse/SIS-483
---
 .../main/java/org/apache/sis/referencing/factory/sql/EPSGDataAccess.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/sql/EPSGDataAccess.java
b/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/sql/EPSGDataAccess.java
index 3f9ec4f..8e0bcb8 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/sql/EPSGDataAccess.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/sql/EPSGDataAccess.java
@@ -2964,6 +2964,7 @@ next:               while (r.next()) {
                          * to GeoAPI. Actually GeoAPI has a method doing part of the job,
but incomplete (e.g. the pure
                          * GeoAPI method can not handle Molodensky transform because it does
not give the target datum).
                          */
+                        opProperties = new HashMap<>(opProperties);             //
Because this class uses a shared map.
                         final MathTransform mt;
                         final MathTransformFactory mtFactory = owner.mtFactory;
                         if (mtFactory instanceof DefaultMathTransformFactory) {


Mime
View raw message