sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] branch master updated (c8bf605 -> 309aad8)
Date Tue, 27 Aug 2019 09:30:26 GMT
This is an automated email from the ASF dual-hosted git repository.

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


    from c8bf605  Merge branch 'geoapi-3.1', without changing the way to create CodeList since
the new API is not available in GeoAPI 3.0.1.
     add 6371286  GridDerivation.subgrid(GridGeometry) should modify the resolution to match
the given `gridOfInterest`.
     add 4579037  Filter : add function register api, prepare SQL/MM function register
     add f2df1ad  Filter : support raw crs in ST_Transform, implement SimpleQuery.toString
     add cc7b369  Feature : do not skip attributes with characteristics in toString formating
     add 55e1313  Creation of GeodesicsOnEllipsoid class for computing geodescis on ellipsoid
of revolution. Based on the algorithm published in Karney C.F.F. (2013), Algorithms for geodesics,
SRI International, https://doi.org/10.1007/s00190-012-0578-z Deprecate DefaultEllipsoid.orthodromicDistance(…),
which is replaced by GeodeticCalculator. https://issues.apache.org/jira/browse/SIS-386
     add 2aecabd  Renamed GeodeticCalculator.createCircularRegion2D(…) as createGeodesicCircle2D(…).
     add efb5039  Document better the algorithm source and the accuracy.
     add 1146ab5  Rename dφ as mcosα and dλ as msinα. The previous name were misleading
since they were not displacements in degrees, but displacements in some conformal projection.
The difference is a cos(φ) factor on northing values.
     add 7d277eb  Take flattening in account when computing (∂y/∂φ)⁻¹.
     add 4b6bb5f  Omit redundant sinα0 field.
     add 6baf41f  Convenience method for repeating a character at the end of a StringBuilder.
     add aacd07f  Create a ClenshawSummation helper class for applying the Clenshaw summation
technic (recommended by Karney) on Karney equation 25. This technic has been applied in other
places in Apache SIS since it happen often in map projections. Before this class, we used
an OpenOffice spreadsheet for performing this summation. But Karney equation 25 is more difficult
because of its dependency to another term, the third flattening factor. Using an OpenOffice
spreadsheet was no longer [...]
     add 59d8460  Apply Clenshaw summation on Karney equation 25.
     add 98080c7  Now that the development of geodesic distance is completed, set STORE_LOCAL_VARIABLES
debug flag to false.
     add 31042ac  Adjustment in the way iteration tolerance is determined.
     add 919c2f2  Use the same latitude difference threshold for geodesic and rhumb line distances.
     add e7a95a2  fix(NetCDF): Remove subsampling doublon when preparing grid geometry for
reading.
     add 26efb3d  chore(Feature): minor fix on a javadoc sentence.
     add ff8e769  Reduce the number of distinct constants by replacing some additions by subtractions.
     add e3d94ef  Initial draft of Rhumb Line distance calculated using formulas published
by: G.G. Bennett, 1996. Practical Rhumb Line Calculations on the Spheroid. J. Navigation 49(1),
112--119. https://doi.org/10.1017/S0373463300013151
     add b8aa208  Add tests for the rhumb line equatorial case.
     add ad6c9d8  Rewrite Bennett equation 1 by merging ΔΨ = Ψ(φ₂) - Ψ(φ₁) in a
single step. It reduces the number of calls to Math.log and Math.pow.
     add dc53abf  Apply Clenshaw summation on Bennett (1996) equation 2.
     add 1101a6c  Replace sin or cos(atan2(Δλ, ΔΨ)) by more direct equivalence.
     add 8c9cf96  Add tests for the spherical case of rhumb line.
     add dba1bd6  Replace authalic radius by semi-major axis length in GeodeticCalculator.
The intent is to allow GeodesicsOnEllipsoid to delegate to its parent class in the equatorial
case.
     add d42ec44  Delegate to parent class for geodesic distance on equator.
     add 101aa25  Make computation of rhumb line robust to the case where longitude difference
is greater than 180°. Minor formatting.
     add 9a32072  Partially revert "Omit redundant sinα0 field." This reverts parts of commit
4b6bb5fd7844d977e14957a5d618b8f91873d4f7. The reason is that the merging sinα0 into msinα2
was dangerous. It makes the code more difficult to analyse and was a cause of bug in createGeodesicPath2D(…),
where msinα2 was updated by different ways than through α0 computation.
     add 4a0bac3  More accurate rhumb line distance in test cases using values computed by
Karney's online calculator.
     add 071aae3  Test rhumb line azimuth.
     add 07448ca  Replace checked exceptions by unchecked exceptions in GeodeticCalculator
API.
     add f2591a4  Replace RuntimeException by GeodeticException where appropriate.
     add 8811433  JTS : make CRS key constant public
     add e94684c  Filter : fix sort by comparator on Iterable types
     add e6a19fd  Documentation updates.
     add be6e5d5  Rename Node.name() as getName() in order to implement Function.getName().
     add 3cecdda  Rename AbstractFunction as NamedFunction with the following modifications:
- `name` and `fallback` field replaced by methods to override, since they are often fixed
values for a given class. - `equals(Object)` and `hashCode()` implementations inherited from
parent class. - Verification that `parameters` argument contains only non-null values.
     add 43187e6  Avoid direct reference to Java Topology Suite (JTS) library from the ST_Transform
class. Instead, use the Geometries intenal class which will delegate to JTS, ESRI or Java2D
depending which libraries are on the classpath. This commit also relaxes restrictions on type
of arguments (first expression may not be an instance of FeatureExpression, and second expression
does not need to be a literal).
     add 7daf0a9  CQL : add AntLR filter parser
     add 804cd1a  CQL : move all antlr specific methods in internal package
     add 4a864d9  Filter ; add comparison filter tests
     add 1518f6c  Filter : add Temporal filter function classes
     add aab81c7  Filter : add ST_Centroid and ST_Buffer
     add 0da1c1c  Fix the version number of Java Topology Suite (JTS) dependency.
     add 99cac87  More arguments verification at SimpleQuery construction time and `toString()`
adjustments.
     add 218845d  Clarify which exception may be thrown if result type of expressions can
not be determined.
     add e553027  When creating the FeatureType for a query or an expression, provide the
FeatureTypeBuilder where the properties can be appended directly.
     add 4877df8  Improve error message if the feature type of filtered data can not be determined.
     add a4a4228  Avoid direct dependency to Java Topology Suite (JTS) library, and adjust
exceptions.
     add 2d7e4a4  OGC filter specification mandates that the default value of `matchCase`
parameter is true.
     add c51c8cc  Better handling of temporal types in comparisons.
     add 86e4d51  Initial implementation of TemporalFunction.
     add b4d7b41  More tests about temporal functions.
     add 5961fbc  Verify also the ComparisonFunction name during tests, and verify at least
one of the two expression operands. Recycle some previously created objects, and add comments
about what is being tested in TemporalFunctionTest.
     add 25a4935  Minor reformating and test refactoring. Some module of CQL reviews will
be done later (hopefully), among other for avoiding dependency to AntLR, delegate geometry
parsing to JTS/ESRI library and for trying to avoid direct dependency to JTS. In the meantime,
the module is available on geoapi=4.0 branch for experiment but will be excluded from Apache
SIS 1.0 release.
     add a206c7b  Hide SQLMM class from public API (the function that it provides are available
through DefaultFilterFactory) and refactor tests.
     add 38edbe5  Merge branch 'geoapi-4.0' into geoapi-3.1. Contains GeodeticCalculator implementation
on ellipsoid and additional expression & filter implementations.
     new 309aad8  Merge branch 'geoapi-3.1' The main work is GeodeticCalculator on ellipsoid.
The work on filters & expressions is excluded since filter interfaces are not available
in GeoAPI 3.0.

The 1 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:
 .../org/apache/sis/services/LocationServlet.java   |  13 +-
 .../apache/sis/coverage/grid/GridDerivation.java   |  92 +-
 .../org/apache/sis/coverage/grid/GridGeometry.java |   4 +
 .../java/org/apache/sis/feature/FeatureFormat.java |  11 +-
 .../main/java/org/apache/sis/feature/Features.java |   6 +
 .../java/org/apache/sis/internal/feature/ESRI.java |  17 +-
 .../sis/internal/feature/FeatureExpression.java    |  46 -
 .../apache/sis/internal/feature/Geometries.java    | 234 ++++-
 .../java/org/apache/sis/internal/feature/JTS.java  | 100 ++-
 .../org/apache/sis/internal/feature/Java2D.java    |  22 +-
 .../org/apache/sis/internal/feature/Resources.java |  15 +
 .../sis/internal/feature/Resources.properties      |   3 +
 .../sis/internal/feature/Resources_fr.properties   |   3 +
 .../org/apache/sis/internal/feature/jts/JTS.java   |  59 +-
 .../sis/coverage/grid/GridDerivationTest.java      |  30 +-
 .../apache/sis/test/suite/FeatureTestSuite.java    |   2 +-
 .../org/apache/sis/distance/LatLonPointRadius.java |  45 +-
 .../sis/internal/referencing/EPSGFactoryProxy.java |   7 +-
 .../apache/sis/internal/referencing/Formulas.java  |   4 +-
 .../apache/sis/internal/referencing/Resources.java |   5 +
 .../sis/internal/referencing/Resources.properties  |   1 +
 .../internal/referencing/Resources_fr.properties   |   1 +
 .../referencing/provider/GeocentricAffine.java     |   2 +-
 .../sis/referencing/GeodesicsOnEllipsoid.java      | 996 +++++++++++++++++++++
 .../apache/sis/referencing/GeodeticCalculator.java | 474 +++++++---
 .../apache/sis/referencing/GeodeticException.java} |  46 +-
 .../sis/referencing/datum/DefaultEllipsoid.java    |   7 +-
 .../org/apache/sis/referencing/datum/Sphere.java   |   1 +
 .../sis/referencing/operation/matrix/Matrices.java |   5 +-
 .../operation/projection/Mollweide.java            |   4 +-
 .../operation/projection/package-info.java         |   6 +-
 .../apache/sis/referencing/ClenshawSummation.java  | 460 ++++++++++
 .../sis/referencing/GeodesicsOnEllipsoidTest.java  | 561 ++++++++++++
 .../sis/referencing/GeodeticCalculatorTest.java    | 371 +++++---
 .../sis/test/suite/ReferencingTestSuite.java       |   1 +
 .../main/java/org/apache/sis/io/TableAppender.java |   5 +-
 .../java/org/apache/sis/math/MathFunctions.java    | 255 +++++-
 .../java/org/apache/sis/util/ArgumentChecks.java   |  25 +
 .../java/org/apache/sis/util/StringBuilders.java   |  31 +-
 .../org/apache/sis/math/MathFunctionsTest.java     |  43 +
 .../test/java/org/apache/sis/test/TestCase.java    |   3 +
 ide-project/NetBeans/nbproject/genfiles.properties |   4 +-
 ide-project/NetBeans/nbproject/project.properties  |   2 +-
 ide-project/NetBeans/nbproject/project.xml         |   2 +
 .../apache/sis/internal/netcdf/RasterResource.java |  10 +-
 .../java/org/apache/sis/index/tree/QuadTree.java   |   5 +-
 .../org/apache/sis/internal/storage/Resources.java |  10 +
 .../sis/internal/storage/Resources.properties      |   2 +
 .../sis/internal/storage/Resources_fr.properties   |   2 +
 .../sis/internal/storage/query/FeatureSubset.java  |  10 +-
 .../sis/internal/storage/query/SimpleQuery.java    |  32 +-
 .../storage/gpx/GroupAsPolylineOperation.java      |   3 +
 52 files changed, 3584 insertions(+), 514 deletions(-)
 delete mode 100644 core/sis-feature/src/main/java/org/apache/sis/internal/feature/FeatureExpression.java
 create mode 100644 core/sis-referencing/src/main/java/org/apache/sis/referencing/GeodesicsOnEllipsoid.java
 copy core/{sis-utility/src/main/java/org/apache/sis/util/UnconvertibleObjectException.java
=> sis-referencing/src/main/java/org/apache/sis/referencing/GeodeticException.java} (63%)
 create mode 100644 core/sis-referencing/src/test/java/org/apache/sis/referencing/ClenshawSummation.java
 create mode 100644 core/sis-referencing/src/test/java/org/apache/sis/referencing/GeodesicsOnEllipsoidTest.java


Mime
View raw message