Your message dated Mon, 30 Jul 2018 22:09:58 +0000
with message-id <e1fkgmy-000dbp...@fasolo.debian.org>
and subject line Bug#902790: fixed in spatial4j 0.5-2
has caused the Debian Bug report #902790,
regarding spatial4j: Add support for JTS 1.15
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
902790: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902790
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: spatial4j
Version: 0.5-1
Severity: important
Tags: patch
User: debian-...@lists.debian.org
Usertags: jts-1.15

Dear Maintainer,

Your packages FTBFS with JTS 1.15 available in experimental.

The attached patch fixes the build failure.

To quote the MIGRATION documentation:

"
 JTS Upgrade Guide
 =================

 The JTS Topology Suite has a long history, and in 2016/2017,
 [Vivid Solutions](http://www.vividsolutions.com/) brought the project
 to the LocationTech working group of the Eclipse Foundation.

 During that transition, the Java package names and Maven GAVs have
 changed.  For package names (typically used in imports), the change is
 reflected below:

 |               | **JTS 1.14.0 and before** | **JTS 1.15.0 and later**    |
 |---------------|:--------------------------|:----------------------------|
 | Maven GroupId | com.vividsolutions        | org.locationtech.jts        |
 | Package names | com.vividsolutions.jts.*  | org.locationtech.jts.*      |

 To upgrade a Maven project (or another build tool using Maven dependency
 management), one can do a find and replace on ```pom.xml``` files (or
 similiar build files).  In the source code, one could do a find and
 replace on the package names.  As a concrete example, one could use
 these two commands to handle most of the migration.

 ```
 git grep -l com.vividsolutions | grep pom.xml | xargs sed -i 
"s/com.vividsolutions/org.locationtech.jts/g"
 git grep -l com.vividsolutions | xargs sed -i 
"s/com.vividsolutions/org.locationtech/g"
 ```

 ## Using JTS with Maven

 To include JTS in a Maven project, add a dependency block like the following:

 ```xml
 <dependency>
     <groupId>org.locationtech.jts</groupId>
     <artifactId>jts-core</artifactId>
     <version>${jts.version}</version>
 </dependency>
 ```

 Where ${jts.version} is the released version of JTS one chooses to use.
 See the [releases](https://github.com/locationtech/jts/releases) page
 for options.
"

https://salsa.debian.org/debian-gis-team/jts/blob/upstream/1.15.1+ds/MIGRATION.md

The severity of this issue will be raised when the jts package is moved
from experimental to unstable.

Please note that JTS is up for adoption (#884537), as it should be better
to maintain the package as part of the Java team where its reverse
dependencies are maintained as well.

Kind Regards,

Bas
diff -Nru spatial4j-0.5/debian/changelog spatial4j-0.5/debian/changelog
--- spatial4j-0.5/debian/changelog      2016-02-17 09:07:06.000000000 +0100
+++ spatial4j-0.5/debian/changelog      2018-06-30 23:18:28.000000000 +0200
@@ -1,3 +1,10 @@
+spatial4j (0.5-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add support for JTS 1.15.
+
+ -- Bas Couwenberg <sebas...@debian.org>  Sat, 30 Jun 2018 23:18:28 +0200
+
 spatial4j (0.5-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru spatial4j-0.5/debian/maven.rules spatial4j-0.5/debian/maven.rules
--- spatial4j-0.5/debian/maven.rules    2016-02-17 00:50:17.000000000 +0100
+++ spatial4j-0.5/debian/maven.rules    2018-06-30 23:03:43.000000000 +0200
@@ -1,2 +1,3 @@
 
 junit junit * s/.*/4.x/ * *
+s/com.vividsolutions/org.locationtech.jts/ s/jts/jts-core/ * s/.*/debian/ * *
diff -Nru spatial4j-0.5/debian/patches/jts-1.15.patch 
spatial4j-0.5/debian/patches/jts-1.15.patch
--- spatial4j-0.5/debian/patches/jts-1.15.patch 1970-01-01 01:00:00.000000000 
+0100
+++ spatial4j-0.5/debian/patches/jts-1.15.patch 2018-06-30 23:10:17.000000000 
+0200
@@ -0,0 +1,464 @@
+Description: Update for JTS 1.15.
+Author: Bas Couwenberg <sebas...@debian.org>
+
+--- a/pom.xml
++++ b/pom.xml
+@@ -103,10 +103,10 @@
+ 
+     <!-- JTS is essentially only used for polygons. -->
+     <dependency>
+-      <groupId>com.vividsolutions</groupId>
+-      <artifactId>jts</artifactId>
++      <groupId>org.locationtech.jts</groupId>
++      <artifactId>jts-core</artifactId>
+       <!-- last I checked, it still works with 1.12 -->
+-      <version>1.13</version>
++      <version>1.15</version>
+       <optional>true</optional>
+       <exclusions>
+         <exclusion>
+--- a/src/main/java/com/spatial4j/core/context/jts/JtsSpatialContext.java
++++ b/src/main/java/com/spatial4j/core/context/jts/JtsSpatialContext.java
+@@ -18,9 +18,9 @@ import com.spatial4j.core.shape.Rectangl
+ import com.spatial4j.core.shape.Shape;
+ import com.spatial4j.core.shape.jts.JtsGeometry;
+ import com.spatial4j.core.shape.jts.JtsPoint;
+-import com.vividsolutions.jts.algorithm.CGAlgorithms;
+-import com.vividsolutions.jts.geom.*;
+-import com.vividsolutions.jts.util.GeometricShapeFactory;
++import org.locationtech.jts.algorithm.CGAlgorithms;
++import org.locationtech.jts.geom.*;
++import org.locationtech.jts.util.GeometricShapeFactory;
+ 
+ import java.util.ArrayList;
+ import java.util.Collection;
+@@ -220,7 +220,7 @@ public class JtsSpatialContext extends S
+    * recursively converted and then the resulting list will be passed to
+    * {@link SpatialContext#makeCollection(List)} and returned.
+    *
+-   * If given a {@link com.vividsolutions.jts.geom.Point} then {@link 
SpatialContext#makePoint(double, double)}
++   * If given a {@link org.locationtech.jts.geom.Point} then {@link 
SpatialContext#makePoint(double, double)}
+    * is called, which will return a {@link JtsPoint} if {@link 
JtsSpatialContext#useJtsPoint()}; otherwise
+    * a standard Spatial4j Point is returned.
+    *
+@@ -238,8 +238,8 @@ public class JtsSpatialContext extends S
+       }
+       return makeCollection(shapes);
+     }
+-    if (geom instanceof com.vividsolutions.jts.geom.Point) {
+-      com.vividsolutions.jts.geom.Point pt = 
(com.vividsolutions.jts.geom.Point) geom;
++    if (geom instanceof org.locationtech.jts.geom.Point) {
++      org.locationtech.jts.geom.Point pt = (org.locationtech.jts.geom.Point) 
geom;
+       return makePoint(pt.getX(), pt.getY());
+     }
+     if (!useJtsLineString() && geom instanceof LineString) {
+@@ -277,7 +277,7 @@ public class JtsSpatialContext extends S
+ 
+   /**
+    * INTERNAL
+-   * @see #makeShape(com.vividsolutions.jts.geom.Geometry)
++   * @see #makeShape(org.locationtech.jts.geom.Geometry)
+    *
+    * @param geom Non-null
+    * @param dateline180Check if both this is true and {@link #isGeo()}, then 
JtsGeometry will check
+--- 
a/src/main/java/com/spatial4j/core/context/jts/JtsSpatialContextFactory.java
++++ 
b/src/main/java/com/spatial4j/core/context/jts/JtsSpatialContextFactory.java
+@@ -12,10 +12,10 @@ import com.spatial4j.core.context.Spatia
+ import com.spatial4j.core.io.LegacyShapeReader;
+ import com.spatial4j.core.io.LegacyShapeWriter;
+ import com.spatial4j.core.io.jts.*;
+-import com.vividsolutions.jts.geom.CoordinateSequenceFactory;
+-import com.vividsolutions.jts.geom.GeometryFactory;
+-import com.vividsolutions.jts.geom.PrecisionModel;
+-import com.vividsolutions.jts.geom.impl.CoordinateArraySequenceFactory;
++import org.locationtech.jts.geom.CoordinateSequenceFactory;
++import org.locationtech.jts.geom.GeometryFactory;
++import org.locationtech.jts.geom.PrecisionModel;
++import org.locationtech.jts.geom.impl.CoordinateArraySequenceFactory;
+ 
+ import java.util.Map;
+ 
+@@ -37,9 +37,9 @@ import java.util.Map;
+  * <DD>true|false(default) -- see {@link 
JtsSpatialContext#isAllowMultiOverlap()}</DD>
+  * <DT>precisionModel</DT>
+  * <DD>floating(default) | floating_single | fixed
+- *  -- see {@link com.vividsolutions.jts.geom.PrecisionModel}.
++ *  -- see {@link org.locationtech.jts.geom.PrecisionModel}.
+  * If {@code fixed} then you must also provide {@code precisionScale}
+- *  -- see {@link com.vividsolutions.jts.geom.PrecisionModel#getScale()}</DD>
++ *  -- see {@link org.locationtech.jts.geom.PrecisionModel#getScale()}</DD>
+  * </DL>
+  */
+ public class JtsSpatialContextFactory extends SpatialContextFactory {
+--- a/src/main/java/com/spatial4j/core/context/jts/ValidationRule.java
++++ b/src/main/java/com/spatial4j/core/context/jts/ValidationRule.java
+@@ -21,7 +21,7 @@ public enum ValidationRule {
+    * not ultimately get an error at some point; results are undefined. 
However, note that
+    * coordinates will still be validated for falling within the world 
boundaries.
+    *
+-   * @see com.vividsolutions.jts.geom.Geometry#isValid().
++   * @see org.locationtech.jts.geom.Geometry#isValid().
+    */
+   none,
+ 
+@@ -34,7 +34,7 @@ public enum ValidationRule {
+   /**
+    * Invalid Geometries are repaired by taking the convex hull. The result 
will very likely be a
+    * larger shape that matches false-positives, but no false-negatives. See
+-   * {@link com.vividsolutions.jts.geom.Geometry#convexHull()}.
++   * {@link org.locationtech.jts.geom.Geometry#convexHull()}.
+    */
+   repairConvexHull,
+ 
+--- a/src/main/java/com/spatial4j/core/io/jts/JtsBinaryCodec.java
++++ b/src/main/java/com/spatial4j/core/io/jts/JtsBinaryCodec.java
+@@ -13,14 +13,14 @@ import com.spatial4j.core.context.jts.Jt
+ import com.spatial4j.core.exception.InvalidShapeException;
+ import com.spatial4j.core.io.BinaryCodec;
+ import com.spatial4j.core.shape.Shape;
+-import com.vividsolutions.jts.geom.Geometry;
+-import com.vividsolutions.jts.geom.PrecisionModel;
+-import com.vividsolutions.jts.io.InStream;
+-import com.vividsolutions.jts.io.OutStream;
+-import com.vividsolutions.jts.io.ParseException;
+-import com.vividsolutions.jts.io.WKBConstants;
+-import com.vividsolutions.jts.io.WKBReader;
+-import com.vividsolutions.jts.io.WKBWriter;
++import org.locationtech.jts.geom.Geometry;
++import org.locationtech.jts.geom.PrecisionModel;
++import org.locationtech.jts.io.InStream;
++import org.locationtech.jts.io.OutStream;
++import org.locationtech.jts.io.ParseException;
++import org.locationtech.jts.io.WKBConstants;
++import org.locationtech.jts.io.WKBReader;
++import org.locationtech.jts.io.WKBWriter;
+ 
+ import java.io.DataInput;
+ import java.io.DataOutput;
+--- a/src/main/java/com/spatial4j/core/io/jts/JtsGeoJSONReader.java
++++ b/src/main/java/com/spatial4j/core/io/jts/JtsGeoJSONReader.java
+@@ -12,9 +12,9 @@ import com.spatial4j.core.context.Spatia
+ import com.spatial4j.core.context.jts.JtsSpatialContext;
+ import com.spatial4j.core.io.GeoJSONReader;
+ import com.spatial4j.core.shape.Shape;
+-import com.vividsolutions.jts.geom.*;
+-import com.vividsolutions.jts.geom.Point;
+-import com.vividsolutions.jts.geom.impl.PackedCoordinateSequenceFactory;
++import org.locationtech.jts.geom.*;
++import org.locationtech.jts.geom.Point;
++import org.locationtech.jts.geom.impl.PackedCoordinateSequenceFactory;
+ import org.noggit.JSONParser;
+ 
+ import java.io.IOException;
+--- a/src/main/java/com/spatial4j/core/io/jts/JtsGeoJSONWriter.java
++++ b/src/main/java/com/spatial4j/core/io/jts/JtsGeoJSONWriter.java
+@@ -17,16 +17,16 @@ import com.spatial4j.core.io.GeoJSONWrit
+ import com.spatial4j.core.io.LegacyShapeWriter;
+ import com.spatial4j.core.shape.Shape;
+ import com.spatial4j.core.shape.jts.JtsGeometry;
+-import com.vividsolutions.jts.geom.Coordinate;
+-import com.vividsolutions.jts.geom.CoordinateSequence;
+-import com.vividsolutions.jts.geom.Geometry;
+-import com.vividsolutions.jts.geom.GeometryCollection;
+-import com.vividsolutions.jts.geom.LineString;
+-import com.vividsolutions.jts.geom.MultiLineString;
+-import com.vividsolutions.jts.geom.MultiPoint;
+-import com.vividsolutions.jts.geom.MultiPolygon;
+-import com.vividsolutions.jts.geom.Point;
+-import com.vividsolutions.jts.geom.Polygon;
++import org.locationtech.jts.geom.Coordinate;
++import org.locationtech.jts.geom.CoordinateSequence;
++import org.locationtech.jts.geom.Geometry;
++import org.locationtech.jts.geom.GeometryCollection;
++import org.locationtech.jts.geom.LineString;
++import org.locationtech.jts.geom.MultiLineString;
++import org.locationtech.jts.geom.MultiPoint;
++import org.locationtech.jts.geom.MultiPolygon;
++import org.locationtech.jts.geom.Point;
++import org.locationtech.jts.geom.Polygon;
+ 
+ public class JtsGeoJSONWriter extends GeoJSONWriter {
+ 
+--- a/src/main/java/com/spatial4j/core/io/jts/JtsPolyshapeReader.java
++++ b/src/main/java/com/spatial4j/core/io/jts/JtsPolyshapeReader.java
+@@ -24,8 +24,8 @@ import com.spatial4j.core.io.PolyshapeWr
+ import com.spatial4j.core.shape.Shape;
+ import com.spatial4j.core.shape.jts.JtsGeometry;
+ import com.spatial4j.core.shape.jts.JtsPoint;
+-import com.vividsolutions.jts.geom.*;
+-import com.vividsolutions.jts.geom.impl.PackedCoordinateSequenceFactory;
++import org.locationtech.jts.geom.*;
++import org.locationtech.jts.geom.impl.PackedCoordinateSequenceFactory;
+ 
+ import java.io.IOException;
+ import java.util.ArrayList;
+@@ -102,4 +102,4 @@ public class JtsPolyshapeReader extends
+     }
+     return ctx.makeShapeFromGeometry(gf.createPolygon(shell, holes));
+   }
+-}
+\ No newline at end of file
++}
+--- a/src/main/java/com/spatial4j/core/io/jts/JtsPolyshapeWriter.java
++++ b/src/main/java/com/spatial4j/core/io/jts/JtsPolyshapeWriter.java
+@@ -24,14 +24,14 @@ import com.spatial4j.core.context.jts.Jt
+ import com.spatial4j.core.io.PolyshapeWriter;
+ import com.spatial4j.core.shape.Shape;
+ import com.spatial4j.core.shape.jts.JtsGeometry;
+-import com.vividsolutions.jts.geom.Coordinate;
+-import com.vividsolutions.jts.geom.CoordinateSequence;
+-import com.vividsolutions.jts.geom.Geometry;
+-import com.vividsolutions.jts.geom.GeometryCollection;
+-import com.vividsolutions.jts.geom.LineString;
+-import com.vividsolutions.jts.geom.MultiPoint;
+-import com.vividsolutions.jts.geom.Point;
+-import com.vividsolutions.jts.geom.Polygon;
++import org.locationtech.jts.geom.Coordinate;
++import org.locationtech.jts.geom.CoordinateSequence;
++import org.locationtech.jts.geom.Geometry;
++import org.locationtech.jts.geom.GeometryCollection;
++import org.locationtech.jts.geom.LineString;
++import org.locationtech.jts.geom.MultiPoint;
++import org.locationtech.jts.geom.Point;
++import org.locationtech.jts.geom.Polygon;
+ 
+ public class JtsPolyshapeWriter extends PolyshapeWriter {
+ 
+@@ -115,4 +115,4 @@ public class JtsPolyshapeWriter extends
+     }
+     super.write(enc, shape);
+   }
+-}
+\ No newline at end of file
++}
+--- a/src/main/java/com/spatial4j/core/io/jts/JtsWKTReader.java
++++ b/src/main/java/com/spatial4j/core/io/jts/JtsWKTReader.java
+@@ -17,7 +17,7 @@ import com.spatial4j.core.context.jts.Jt
+ import com.spatial4j.core.io.WKTReader;
+ import com.spatial4j.core.shape.Point;
+ import com.spatial4j.core.shape.Shape;
+-import com.vividsolutions.jts.geom.*;
++import org.locationtech.jts.geom.*;
+ 
+ import java.text.ParseException;
+ import java.util.ArrayList;
+@@ -171,7 +171,7 @@ public class JtsWKTReader extends WKTRea
+   }
+ 
+   /**
+-   * Reads a {@link com.vividsolutions.jts.geom.Coordinate} from the current 
position. It's akin to
++   * Reads a {@link org.locationtech.jts.geom.Coordinate} from the current 
position. It's akin to
+    * {@link #point(com.spatial4j.core.io.WKTReader.State)} but for a JTS 
Coordinate. Only the first
+    * 2 numbers are parsed; any remaining are ignored.
+    */
+--- a/src/main/java/com/spatial4j/core/io/jts/JtsWKTReaderShapeParser.java
++++ b/src/main/java/com/spatial4j/core/io/jts/JtsWKTReaderShapeParser.java
+@@ -14,19 +14,19 @@ import com.spatial4j.core.distance.Dista
+ import com.spatial4j.core.exception.InvalidShapeException;
+ import com.spatial4j.core.shape.Shape;
+ import com.spatial4j.core.shape.jts.JtsPoint;
+-import com.vividsolutions.jts.geom.CoordinateSequence;
+-import com.vividsolutions.jts.geom.CoordinateSequenceFilter;
+-import com.vividsolutions.jts.geom.Geometry;
+-import com.vividsolutions.jts.io.WKTReader;
++import org.locationtech.jts.geom.CoordinateSequence;
++import org.locationtech.jts.geom.CoordinateSequenceFilter;
++import org.locationtech.jts.geom.Geometry;
++import org.locationtech.jts.io.WKTReader;
+ 
+ import java.text.ParseException;
+ 
+ /**
+  * This is an extension of {@link JtsWKTReader} that processes the entire
+- * string with JTS's {@link com.vividsolutions.jts.io.WKTReader}.  Some 
differences:
++ * string with JTS's {@link org.locationtech.jts.io.WKTReader}.  Some 
differences:
+  * <ul>
+  *   <li>No support for ENVELOPE and BUFFER</li>
+- *   <li>MULTI* shapes use JTS's {@link 
com.vividsolutions.jts.geom.GeometryCollection} subclasses,
++ *   <li>MULTI* shapes use JTS's {@link 
org.locationtech.jts.geom.GeometryCollection} subclasses,
+  *   not {@link com.spatial4j.core.shape.ShapeCollection}</li>
+  *   <li>'Z' coordinates are saved into the geometry</li>
+  * </ul>
+@@ -46,7 +46,7 @@ public class JtsWKTReaderShapeParser ext
+   }
+ 
+   /**
+-   * Reads WKT from the {@code str} via JTS's {@link 
com.vividsolutions.jts.io.WKTReader}.
++   * Reads WKT from the {@code str} via JTS's {@link 
org.locationtech.jts.io.WKTReader}.
+    * @param str
+    * @param reader <pre>new WKTReader(ctx.getGeometryFactory()))</pre>
+    * @return Non-Null
+@@ -58,8 +58,8 @@ public class JtsWKTReaderShapeParser ext
+       //Normalizes & verifies coordinates
+       checkCoordinates(geom);
+ 
+-      if (geom instanceof com.vividsolutions.jts.geom.Point) {
+-        com.vividsolutions.jts.geom.Point ptGeom = 
(com.vividsolutions.jts.geom.Point) geom;
++      if (geom instanceof org.locationtech.jts.geom.Point) {
++        org.locationtech.jts.geom.Point ptGeom = 
(org.locationtech.jts.geom.Point) geom;
+         if (ctx.useJtsPoint())
+           return new JtsPoint(ptGeom, ctx);
+         else
+--- a/src/main/java/com/spatial4j/core/shape/jts/JtsGeometry.java
++++ b/src/main/java/com/spatial4j/core/shape/jts/JtsGeometry.java
+@@ -17,11 +17,11 @@ import com.spatial4j.core.shape.impl.BBo
+ import com.spatial4j.core.shape.impl.BufferedLineString;
+ import com.spatial4j.core.shape.impl.PointImpl;
+ import com.spatial4j.core.shape.impl.RectangleImpl;
+-import com.vividsolutions.jts.geom.*;
+-import com.vividsolutions.jts.geom.prep.PreparedGeometry;
+-import com.vividsolutions.jts.geom.prep.PreparedGeometryFactory;
+-import com.vividsolutions.jts.operation.union.UnaryUnionOp;
+-import com.vividsolutions.jts.operation.valid.IsValidOp;
++import org.locationtech.jts.geom.*;
++import org.locationtech.jts.geom.prep.PreparedGeometry;
++import org.locationtech.jts.geom.prep.PreparedGeometryFactory;
++import org.locationtech.jts.operation.union.UnaryUnionOp;
++import org.locationtech.jts.operation.valid.IsValidOp;
+ 
+ import java.util.ArrayList;
+ import java.util.Collection;
+@@ -129,7 +129,7 @@ public class JtsGeometry extends BaseSha
+ 
+   /**
+    * Adds an index to this class internally to compute spatial relations 
faster. In JTS this
+-   * is called a {@link com.vividsolutions.jts.geom.prep.PreparedGeometry}.  
This
++   * is called a {@link org.locationtech.jts.geom.prep.PreparedGeometry}.  
This
+    * isn't done by default because it takes some time to do the optimization, 
and it uses more
+    * memory.  Calling this method isn't thread-safe so be careful when this 
is done. If it was
+    * already indexed then nothing happens.
+@@ -271,7 +271,7 @@ public class JtsGeometry extends BaseSha
+ 
+   protected SpatialRelation relate(Geometry oGeom) {
+     //see 
http://docs.geotools.org/latest/userguide/library/jts/dim9.html#preparedgeometry
+-    if (oGeom instanceof com.vividsolutions.jts.geom.Point) {
++    if (oGeom instanceof org.locationtech.jts.geom.Point) {
+       if (preparedGeometry != null)
+         return preparedGeometry.disjoint(oGeom) ? SpatialRelation.DISJOINT : 
SpatialRelation.CONTAINS;
+       return geom.disjoint(oGeom) ? SpatialRelation.DISJOINT : 
SpatialRelation.CONTAINS;
+@@ -326,7 +326,7 @@ public class JtsGeometry extends BaseSha
+    * If <code>geom</code> spans the dateline, then this modifies it to be a
+    * valid JTS geometry that extends to the right of the standard -180 to +180
+    * width such that some points are greater than +180 but some remain less.
+-   * Takes care to invoke {@link 
com.vividsolutions.jts.geom.Geometry#geometryChanged()}
++   * Takes care to invoke {@link 
org.locationtech.jts.geom.Geometry#geometryChanged()}
+    * if needed.
+    *
+    * @return The number of times the geometry spans the dateline.  >= 0
+--- a/src/main/java/com/spatial4j/core/shape/jts/JtsPoint.java
++++ b/src/main/java/com/spatial4j/core/shape/jts/JtsPoint.java
+@@ -18,22 +18,22 @@ import com.spatial4j.core.shape.Rectangl
+ import com.spatial4j.core.shape.Shape;
+ import com.spatial4j.core.shape.SpatialRelation;
+ import com.spatial4j.core.shape.impl.PointImpl;
+-import com.vividsolutions.jts.geom.CoordinateSequence;
++import org.locationtech.jts.geom.CoordinateSequence;
+ 
+-/** Wraps a {@link com.vividsolutions.jts.geom.Point}. */
++/** Wraps a {@link org.locationtech.jts.geom.Point}. */
+ public class JtsPoint extends BaseShape<JtsSpatialContext> implements Point {
+ 
+-  private com.vividsolutions.jts.geom.Point pointGeom;
++  private org.locationtech.jts.geom.Point pointGeom;
+   private final boolean empty;//cached
+ 
+   /** A simple constructor without normalization / validation. */
+-  public JtsPoint(com.vividsolutions.jts.geom.Point pointGeom, 
JtsSpatialContext ctx) {
++  public JtsPoint(org.locationtech.jts.geom.Point pointGeom, 
JtsSpatialContext ctx) {
+     super(ctx);
+     this.pointGeom = pointGeom;
+     this.empty = pointGeom.isEmpty();
+   }
+ 
+-  public com.vividsolutions.jts.geom.Point getGeom() {
++  public org.locationtech.jts.geom.Point getGeom() {
+     return pointGeom;
+   }
+ 
+--- a/src/test/java/com/spatial4j/core/context/jts/JtsSpatialContextTest.java
++++ b/src/test/java/com/spatial4j/core/context/jts/JtsSpatialContextTest.java
+@@ -9,8 +9,8 @@
+ package com.spatial4j.core.context.jts;
+ 
+ import com.spatial4j.core.shape.jts.JtsGeometry;
+-import com.vividsolutions.jts.geom.GeometryCollection;
+-import com.vividsolutions.jts.geom.Polygon;
++import org.locationtech.jts.geom.GeometryCollection;
++import org.locationtech.jts.geom.Polygon;
+ import io.jeo.geom.Geom;
+ import org.junit.Test;
+ 
+--- a/src/test/java/com/spatial4j/core/io/JtsBinaryCodecTest.java
++++ b/src/test/java/com/spatial4j/core/io/JtsBinaryCodecTest.java
+@@ -13,10 +13,10 @@ import com.spatial4j.core.context.Spatia
+ import com.spatial4j.core.context.jts.JtsSpatialContext;
+ import com.spatial4j.core.context.jts.JtsSpatialContextFactory;
+ import com.spatial4j.core.shape.Shape;
+-import com.vividsolutions.jts.geom.Coordinate;
+-import com.vividsolutions.jts.geom.Geometry;
+-import com.vividsolutions.jts.geom.PrecisionModel;
+-import com.vividsolutions.jts.util.GeometricShapeFactory;
++import org.locationtech.jts.geom.Coordinate;
++import org.locationtech.jts.geom.Geometry;
++import org.locationtech.jts.geom.PrecisionModel;
++import org.locationtech.jts.util.GeometricShapeFactory;
+ 
+ import org.junit.Test;
+ 
+--- a/src/test/java/com/spatial4j/core/io/JtsWktShapeParserTest.java
++++ b/src/test/java/com/spatial4j/core/io/JtsWktShapeParserTest.java
+@@ -17,8 +17,8 @@ import com.spatial4j.core.shape.Rectangl
+ import com.spatial4j.core.shape.Shape;
+ import com.spatial4j.core.shape.SpatialRelation;
+ import com.spatial4j.core.shape.jts.JtsGeometry;
+-import com.vividsolutions.jts.geom.Coordinate;
+-import com.vividsolutions.jts.geom.GeometryFactory;
++import org.locationtech.jts.geom.Coordinate;
++import org.locationtech.jts.geom.GeometryFactory;
+ import org.junit.Test;
+ 
+ import java.text.ParseException;
+--- a/src/test/java/com/spatial4j/core/io/PolygonBuilder.java
++++ b/src/test/java/com/spatial4j/core/io/PolygonBuilder.java
+@@ -14,9 +14,9 @@ package com.spatial4j.core.io;
+ import com.spatial4j.core.context.jts.JtsSpatialContext;
+ import com.spatial4j.core.shape.Shape;
+ import com.spatial4j.core.shape.jts.JtsGeometry;
+-import com.vividsolutions.jts.geom.Coordinate;
+-import com.vividsolutions.jts.geom.LinearRing;
+-import com.vividsolutions.jts.geom.Polygon;
++import org.locationtech.jts.geom.Coordinate;
++import org.locationtech.jts.geom.LinearRing;
++import org.locationtech.jts.geom.Polygon;
+ 
+ import java.util.ArrayList;
+ import java.util.List;
+@@ -76,7 +76,7 @@ public class PolygonBuilder {
+   }
+ 
+   /**
+-   * Creates the raw {@link com.vividsolutions.jts.geom.Polygon}
++   * Creates the raw {@link org.locationtech.jts.geom.Polygon}
+    *
+    * @return Built polygon
+    */
+@@ -87,7 +87,7 @@ public class PolygonBuilder {
+   }
+ 
+   /**
+-   * Builder for defining a hole in a {@link 
com.vividsolutions.jts.geom.Polygon}
++   * Builder for defining a hole in a {@link 
org.locationtech.jts.geom.Polygon}
+    */
+   public class PolygonHoleBuilder {
+ 
+--- a/src/test/java/com/spatial4j/core/shape/JtsGeometryTest.java
++++ b/src/test/java/com/spatial4j/core/shape/JtsGeometryTest.java
+@@ -14,7 +14,7 @@ import com.spatial4j.core.context.jts.Jt
+ import com.spatial4j.core.context.jts.JtsSpatialContextFactory;
+ import com.spatial4j.core.shape.impl.PointImpl;
+ import com.spatial4j.core.shape.jts.JtsGeometry;
+-import com.vividsolutions.jts.geom.*;
++import org.locationtech.jts.geom.*;
+ import io.jeo.geom.Geom;
+ import org.junit.Test;
+ 
diff -Nru spatial4j-0.5/debian/patches/series 
spatial4j-0.5/debian/patches/series
--- spatial4j-0.5/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ spatial4j-0.5/debian/patches/series 2018-06-30 23:03:57.000000000 +0200
@@ -0,0 +1 @@
+jts-1.15.patch

--- End Message ---
--- Begin Message ---
Source: spatial4j
Source-Version: 0.5-2

We believe that the bug you reported is fixed in the latest version of
spatial4j, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 902...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emmanuel Bourg <ebo...@apache.org> (supplier of updated spatial4j package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 30 Jul 2018 23:21:44 +0200
Source: spatial4j
Binary: libspatial4j-java
Architecture: source
Version: 0.5-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<pkg-java-maintain...@lists.alioth.debian.org>
Changed-By: Emmanuel Bourg <ebo...@apache.org>
Description:
 libspatial4j-java - spatial/geospatial Java library
Closes: 902790
Changes:
 spatial4j (0.5-2) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Emmanuel Bourg ]
   * Removed the unused build dependency on libmaven-install-plugin-java
   * Standards-Version updated to 4.1.5
   * Switch to debhelper level 11
   * Use salsa.debian.org Vcs-* URLs
 .
   [ Bas Couwenberg ]
   * Add support for JTS 1.15 (Closes: #902790)
Checksums-Sha1:
 d1b0d12ee3eae0631f90d00e1c672d273604dfe2 2124 spatial4j_0.5-2.dsc
 96ef5921e8c54a8715f95abaee3b95d137e3af25 6708 spatial4j_0.5-2.debian.tar.xz
 4ce43482b03dd8eb785de6066f0bee98dd3f50d2 15817 spatial4j_0.5-2_source.buildinfo
Checksums-Sha256:
 2f11489d652dad9d8860304fce8728771aa7980c0bb9f93d862e8f388acb5ff9 2124 
spatial4j_0.5-2.dsc
 751ed10ce763aef3973aeeacb42ae62716a4260e6891a59450dd49091a9fd124 6708 
spatial4j_0.5-2.debian.tar.xz
 631441585bbae32f302a1c40fcca85b7ba57ae49a14be758e655055433d74276 15817 
spatial4j_0.5-2_source.buildinfo
Files:
 cb7d9cc9b2c69c4564ac9e27b05f146c 2124 java optional spatial4j_0.5-2.dsc
 118c3f1b2270353b69a1ea090f876954 6708 java optional 
spatial4j_0.5-2.debian.tar.xz
 fc45b736bcd119056e7d72985816bb63 15817 java optional 
spatial4j_0.5-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEuM5N4hCA3PkD4WxA9RPEGeS50KwFAltfgicSHGVib3VyZ0Bh
cGFjaGUub3JnAAoJEPUTxBnkudCs1wQP/1y5oujLm58fgHxQQAXvCkJZv2uyl8Cs
+szprkapxChvwJTGUe4Is3umgTx73ZMn+MnY7vH/zZQOu7ZAS5OxXWKWMSxYgequ
JVdCehPa4XF58Pu4x9pytXFM9AB6PBx7ylY7j0v3B8Pbm5AsHH6/CbXqaNQXckgx
d5xBXn+t+Ks9o7TIc1BMZmZBEZh7og5BqlCBs+ED3EQ6Be9uaq/BRwkfYFX4fxcb
Ic9v3Ww1w2NtypTQEhYUyFMbLu8GYwFAE8SQUsn0CYU1wUYADHwXoq/DLLY9WB2b
nmR0KW2buUz+5LAXapcnSuOacK7Klfdw3SLFrkqrumcaNBaBc4UQtXqeBDzIaihw
ITeJLg1zjK3nuhoYUskOu9yRCIoocsXkuPStGBroOKE0x2XwQ3C77fsF5RFkkOBM
bWakshJshh0N2IEL7vnQTBpic4pERjjf8cX6wIuF0hd9oMWwh4gIuqaMqeOYA+2d
r1/oz6SUPW8xAfAwj9uftHl62QLekYsCjrZvvgBADwwN5gJwAZJuFzBLd1oAmqsV
JziYx1ZmbI0xmNmB/WsASD2Kf35rY6Ffezvuu1TS9+yL8McQnBn+aeOdperN9fTJ
vvu5qg28U2MVC4Ofiw4Usf3hkvgfHfgHbIRm59RQ3GIRQWWGes5G1svUCCYF5Jqq
768CswQqdbkb
=d1Xj
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to