You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by de...@apache.org on 2019/12/08 16:36:58 UTC
[sis] 02/02: Referencing bug fix: CoordinateOperation metadata were
sometime overwritten by CoordinateSystem metadata.
https://issues.apache.org/jira/browse/SIS-483
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 <ma...@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) {