Class NodingUtil


  • public class NodingUtil
    extends Object
    Author:
    julien Gaffuri
    • Field Detail

      • LOGGER

        public static final org.apache.logging.log4j.Logger LOGGER
    • Constructor Detail

      • NodingUtil

        public NodingUtil()
    • Method Detail

      • 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 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)