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 (851bd10 -> 5b271a0)
Date Mon, 29 Apr 2019 16:34:21 GMT
This is an automated email from the ASF dual-hosted git repository.

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


    from 851bd10  Apply to ConformalProjection the same Snyder 3-35 formulas (trigonometric
identities) than we did for MeridianArcBased. Include the coefficients in the serialization,
since recomputing values after deserialization may not produce the exact same results than
the values computed at construction time. Since we apply a Snyder formula now, those fields
shouls be more stable than before.
     new 3ec1609  Cleanup in test and benchmark methods.
     new 6760894  Apply to EqualAreaProjection the same Snyder 3-35 formulas (trigonometric
identities) than we did for MeridianArcBased. Include coefficients and other fields in serialization
for the same reason than ConformalProjection (simplicity, stability). During this work, we
identified a bug in the series expansion of φ(β) where the last term was multiplied by e⁸
instead of e⁶. Fixing that bug bring the series expansion to a precision where we no longer
need iterations at least wi [...]
     new 5b271a0  Include MeridianArcBased fields in serialization for the same simplicity
and numerical stability reasons than ConformalProjection and EqualAreaProjection. Inconvenient
is that the serialization is more at risk to break if the formulas implemented in those case
are improved. However MathTransform serialization should not be used for long-term storage.
It is okay for RMI purpose between JVMs running the same version of SIS.

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../operation/projection/AlbersEqualArea.java      |   1 -
 .../operation/projection/ConformalProjection.java  |  14 +-
 .../operation/projection/CylindricalEqualArea.java |   1 -
 .../operation/projection/EqualAreaProjection.java  | 202 ++++++++++-----------
 .../operation/projection/MeridianArcBased.java     | 109 +++++------
 .../projection/ConformalProjectionTest.java        | 134 ++++++--------
 .../projection/EqualAreaProjectionTest.java        | 127 +++++++++++++
 .../projection/MercatorMethodComparison.java       | 107 +++--------
 .../sis/test/suite/ReferencingTestSuite.java       |   1 +
 9 files changed, 360 insertions(+), 336 deletions(-)
 create mode 100644 core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/EqualAreaProjectionTest.java


Mime
View raw message