sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] branch geoapi-4.0 updated: Comment out for now an optimization which is actually degrading performances in the context of a JavaFX viewer. https://issues.apache.org/jira/browse/SIS-497
Date Tue, 30 Jun 2020 10:43:26 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


The following commit(s) were added to refs/heads/geoapi-4.0 by this push:
     new 0420f26  Comment out for now an optimization which is actually degrading performances
in the context of a JavaFX viewer. https://issues.apache.org/jira/browse/SIS-497
0420f26 is described below

commit 0420f26b29a756908f37df09fbe0b5940931ad46
Author: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
AuthorDate: Tue Jun 30 12:42:13 2020 +0200

    Comment out for now an optimization which is actually degrading performances in the context
of a JavaFX viewer.
    https://issues.apache.org/jira/browse/SIS-497
---
 .../src/main/java/org/apache/sis/gui/coverage/RenderingData.java       | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/RenderingData.java
b/application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/RenderingData.java
index f5b103a..8fab99c 100644
--- a/application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/RenderingData.java
+++ b/application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/RenderingData.java
@@ -216,7 +216,8 @@ final class RenderingData implements Cloneable {
                 changeOfCRS = CRS.findOperation(dataGeometry.getCoordinateReferenceSystem(),
objectiveCRS, areaOfInterest);
                 final double accuracy = CRS.getLinearAccuracy(changeOfCRS);
                 processor.setPositionalAccuracyHints(
-                        Quantities.create(0.25, Units.PIXEL),
+//                      TODO: uncomment after https://issues.apache.org/jira/browse/SIS-497
is fixed.
+//                      Quantities.create(0.25, Units.PIXEL),
                         (accuracy > 0) ? Quantities.create(accuracy, Units.METRE) : null);
             } catch (FactoryException e) {
                 recoverableException(e);


Mime
View raw message