Class NodingUtil
- java.lang.Object
-
- eu.europa.ec.eurostat.jgiscotools.algo.base.NodingUtil
-
public class NodingUtil extends Object
- Author:
- julien Gaffuri
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNodingUtil.NodingIssuestatic classNodingUtil.NodingIssueType
-
Field Summary
Fields Modifier and Type Field Description static org.apache.logging.log4j.LoggerLOGGER
-
Constructor Summary
Constructors Constructor Description NodingUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidfixLineStringsIntersectionNoding(Collection<Feature> fs)static org.locationtech.jts.geom.LineStringfixLPNoding(org.locationtech.jts.geom.LineString ls, org.locationtech.jts.geom.Coordinate c, double nodingResolution)static voidfixNoding(NodingUtil.NodingIssueType type, Collection<Feature> mpfs, double nodingResolution)static org.locationtech.jts.geom.LineStringfixNoding(NodingUtil.NodingIssueType type, org.locationtech.jts.geom.LineString ls, org.locationtech.jts.geom.Coordinate c, double nodingResolution)static org.locationtech.jts.geom.LineStringfixNoding(NodingUtil.NodingIssueType type, org.locationtech.jts.geom.LineString ls, org.locationtech.jts.index.SpatialIndex index, double nodingResolution)static org.locationtech.jts.geom.MultiPolygonfixNoding(NodingUtil.NodingIssueType type, org.locationtech.jts.geom.MultiPolygon mp, org.locationtech.jts.index.SpatialIndex index, double nodingResolution)static org.locationtech.jts.geom.PolygonfixNoding(NodingUtil.NodingIssueType type, org.locationtech.jts.geom.Polygon p, org.locationtech.jts.index.SpatialIndex index, double nodingResolution)static org.locationtech.jts.geom.LineStringfixPPNoding(org.locationtech.jts.geom.LineString ls, org.locationtech.jts.geom.Coordinate c, double nodingResolution)static NodingUtil.NodingIssuegetLinePointNodingIssues(org.locationtech.jts.geom.Coordinate c, org.locationtech.jts.geom.Coordinate c1, org.locationtech.jts.geom.Coordinate c2, double nodingResolution)static Collection<NodingUtil.NodingIssue>getNodingIssues(NodingUtil.NodingIssueType type, Feature mpf, org.locationtech.jts.index.SpatialIndex index, double nodingResolution)static Collection<NodingUtil.NodingIssue>getNodingIssues(NodingUtil.NodingIssueType type, Collection<Feature> mpfs, double nodingResolution)static Collection<NodingUtil.NodingIssue>getNodingIssues(NodingUtil.NodingIssueType type, org.locationtech.jts.geom.MultiPolygon mp, org.locationtech.jts.index.SpatialIndex index, double nodingResolution)static Collection<NodingUtil.NodingIssue>getNodingIssues(NodingUtil.NodingIssueType type, org.locationtech.jts.geom.Polygon p, org.locationtech.jts.index.SpatialIndex index, double nodingResolution)static NodingUtil.NodingIssuegetPointPointNodingIssues(org.locationtech.jts.geom.Coordinate c, org.locationtech.jts.geom.Coordinate c_, double nodingResolution)static org.locationtech.jts.index.strtree.STRtreegetSTRtreeCoordinatesForPP(Collection<Feature> fs, double nodingResolution)static org.locationtech.jts.geom.GeometryinsertCoordinate(org.locationtech.jts.geom.Geometry g, org.locationtech.jts.geom.Coordinate c)static org.locationtech.jts.geom.LineStringinsertCoordinate(org.locationtech.jts.geom.LineString ls, org.locationtech.jts.geom.Coordinate c)static org.locationtech.jts.geom.MultiLineStringinsertCoordinate(org.locationtech.jts.geom.MultiLineString mls, org.locationtech.jts.geom.Coordinate c)static org.locationtech.jts.geom.GeometryinsertCoordinate(org.locationtech.jts.geom.MultiPoint mp, org.locationtech.jts.geom.Coordinate c)static org.locationtech.jts.geom.GeometryinsertCoordinate(org.locationtech.jts.geom.Point p, org.locationtech.jts.geom.Coordinate c)
-
-
-
Method Detail
-
getNodingIssues
public static Collection<NodingUtil.NodingIssue> getNodingIssues(NodingUtil.NodingIssueType type, Collection<Feature> mpfs, double nodingResolution)
-
getNodingIssues
public static Collection<NodingUtil.NodingIssue> getNodingIssues(NodingUtil.NodingIssueType type, Feature mpf, org.locationtech.jts.index.SpatialIndex index, double nodingResolution)
-
getNodingIssues
public static Collection<NodingUtil.NodingIssue> getNodingIssues(NodingUtil.NodingIssueType type, org.locationtech.jts.geom.MultiPolygon mp, org.locationtech.jts.index.SpatialIndex index, double nodingResolution)
-
getNodingIssues
public static Collection<NodingUtil.NodingIssue> getNodingIssues(NodingUtil.NodingIssueType type, org.locationtech.jts.geom.Polygon p, org.locationtech.jts.index.SpatialIndex index, double nodingResolution)
-
getLinePointNodingIssues
public static NodingUtil.NodingIssue getLinePointNodingIssues(org.locationtech.jts.geom.Coordinate c, org.locationtech.jts.geom.Coordinate c1, org.locationtech.jts.geom.Coordinate c2, double nodingResolution)
-
getPointPointNodingIssues
public static NodingUtil.NodingIssue getPointPointNodingIssues(org.locationtech.jts.geom.Coordinate c, org.locationtech.jts.geom.Coordinate c_, double nodingResolution)
-
fixNoding
public static void fixNoding(NodingUtil.NodingIssueType type, Collection<Feature> mpfs, double nodingResolution)
-
fixNoding
public static org.locationtech.jts.geom.MultiPolygon fixNoding(NodingUtil.NodingIssueType type, org.locationtech.jts.geom.MultiPolygon mp, org.locationtech.jts.index.SpatialIndex index, double nodingResolution)
-
fixNoding
public static org.locationtech.jts.geom.Polygon fixNoding(NodingUtil.NodingIssueType type, org.locationtech.jts.geom.Polygon p, org.locationtech.jts.index.SpatialIndex index, double nodingResolution)
-
fixNoding
public static org.locationtech.jts.geom.LineString fixNoding(NodingUtil.NodingIssueType type, org.locationtech.jts.geom.LineString ls, org.locationtech.jts.index.SpatialIndex index, double nodingResolution)
-
fixNoding
public static org.locationtech.jts.geom.LineString fixNoding(NodingUtil.NodingIssueType type, org.locationtech.jts.geom.LineString ls, org.locationtech.jts.geom.Coordinate c, double nodingResolution)
-
fixPPNoding
public static org.locationtech.jts.geom.LineString fixPPNoding(org.locationtech.jts.geom.LineString ls, org.locationtech.jts.geom.Coordinate c, double nodingResolution)
-
fixLPNoding
public static org.locationtech.jts.geom.LineString fixLPNoding(org.locationtech.jts.geom.LineString ls, org.locationtech.jts.geom.Coordinate c, double nodingResolution)
-
getSTRtreeCoordinatesForPP
public static org.locationtech.jts.index.strtree.STRtree getSTRtreeCoordinatesForPP(Collection<Feature> fs, double nodingResolution)
-
fixLineStringsIntersectionNoding
public static void fixLineStringsIntersectionNoding(Collection<Feature> fs)
-
insertCoordinate
public static org.locationtech.jts.geom.Geometry insertCoordinate(org.locationtech.jts.geom.Geometry g, org.locationtech.jts.geom.Coordinate c)
-
insertCoordinate
public static org.locationtech.jts.geom.Geometry insertCoordinate(org.locationtech.jts.geom.Point p, org.locationtech.jts.geom.Coordinate c)
-
insertCoordinate
public static org.locationtech.jts.geom.Geometry insertCoordinate(org.locationtech.jts.geom.MultiPoint mp, org.locationtech.jts.geom.Coordinate c)
-
insertCoordinate
public static org.locationtech.jts.geom.LineString insertCoordinate(org.locationtech.jts.geom.LineString ls, org.locationtech.jts.geom.Coordinate c)
-
insertCoordinate
public static org.locationtech.jts.geom.MultiLineString insertCoordinate(org.locationtech.jts.geom.MultiLineString mls, org.locationtech.jts.geom.Coordinate c)
-
-