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 3963a3a  Merge branch 'fix/jts3d' into geoapi-4.0 with modifications: 
for consistency with `Wrapper.getCoordinatesDimension(…)` expectation, replace 
all `new Coordinate(x,y)` by `new CoordinateXY(x,y)` in SIS code base.
     new 942e733  Require CRS dimension to be strictly equal to JTS geometry 
dimension. This is made possible by configuring `WKTReader` for constructing 2D 
geometries when there is no explicit Z or M.
     new a8edb40  Add an implementation of JTS `CoordinateSequenceFactory` 
interface which stores coordinate values in packed arrays (like what JTS 
`PackedCoordinateSequence` does) but without retaining a copy in a 
`SoftReference<Coordinate[]>` (because we want to save memory for bigger uses, 
such as rendered images).

The 2 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:
 .../apache/sis/internal/feature/Geometries.java    |   5 +-
 .../apache/sis/internal/feature/jts/Factory.java   | 214 ++++++++--
 .../feature/jts/PackedCoordinateSequence.java      | 473 +++++++++++++++++++++
 .../jts/PackedCoordinateSequenceFactory.java       | 142 +++++++
 .../apache/sis/internal/feature/jts/Wrapper.java   |  21 +-
 .../apache/sis/internal/feature/jts/JTSTest.java   |  26 +-
 6 files changed, 809 insertions(+), 72 deletions(-)
 create mode 100644 
core/sis-feature/src/main/java/org/apache/sis/internal/feature/jts/PackedCoordinateSequence.java
 create mode 100644 
core/sis-feature/src/main/java/org/apache/sis/internal/feature/jts/PackedCoordinateSequenceFactory.java

Reply via email to