From fa2ed69f89ab740a24feda21465504e4bf2efacd Mon Sep 17 00:00:00 2001 From: Leo Gertsenshteyn <146586+leoger@users.noreply.github.com> Date: Fri, 13 Dec 2024 23:01:09 -0800 Subject: [PATCH] move GeometricShapeFactoryExt to nitrite package namespace --- .../no2/spatial}/GeometricShapeFactoryExt.java | 3 ++- .../src/main/java/org/dizitart/no2/spatial/NearFilter.java | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) rename nitrite-spatial/src/main/java/org/{locationtech/jts/util => dizitart/no2/spatial}/GeometricShapeFactoryExt.java (96%) diff --git a/nitrite-spatial/src/main/java/org/locationtech/jts/util/GeometricShapeFactoryExt.java b/nitrite-spatial/src/main/java/org/dizitart/no2/spatial/GeometricShapeFactoryExt.java similarity index 96% rename from nitrite-spatial/src/main/java/org/locationtech/jts/util/GeometricShapeFactoryExt.java rename to nitrite-spatial/src/main/java/org/dizitart/no2/spatial/GeometricShapeFactoryExt.java index d418f083..90c5ce26 100644 --- a/nitrite-spatial/src/main/java/org/locationtech/jts/util/GeometricShapeFactoryExt.java +++ b/nitrite-spatial/src/main/java/org/dizitart/no2/spatial/GeometricShapeFactoryExt.java @@ -14,7 +14,7 @@ * limitations under the License. * */ -package org.locationtech.jts.util; +package org.dizitart.no2.spatial; import net.sf.geographiclib.Geodesic; import net.sf.geographiclib.GeodesicData; @@ -23,6 +23,7 @@ import org.locationtech.jts.geom.Envelope; import org.locationtech.jts.geom.LinearRing; import org.locationtech.jts.geom.Polygon; +import org.locationtech.jts.util.GeometricShapeFactory; /** Extends the JTS GeometricShapeFactory to add geodetic "small circle" geometry. */ public class GeometricShapeFactoryExt extends GeometricShapeFactory { diff --git a/nitrite-spatial/src/main/java/org/dizitart/no2/spatial/NearFilter.java b/nitrite-spatial/src/main/java/org/dizitart/no2/spatial/NearFilter.java index 5e602b80..a424299f 100644 --- a/nitrite-spatial/src/main/java/org/dizitart/no2/spatial/NearFilter.java +++ b/nitrite-spatial/src/main/java/org/dizitart/no2/spatial/NearFilter.java @@ -19,7 +19,6 @@ import org.locationtech.jts.geom.Coordinate; import org.locationtech.jts.geom.Geometry; import org.locationtech.jts.geom.Point; -import org.locationtech.jts.util.GeometricShapeFactoryExt; /** * @since 4.0