Class OverlayEngine

java.lang.Object
com.vividsolutions.jump.tools.OverlayEngine

public class OverlayEngine extends Object
Takes two FeatureCollections and returns their overlay, which is a new FeatureCollection containing the intersections of all pairs of input features.
  • Constructor Details

    • OverlayEngine

      public OverlayEngine()
      Creates a new OverlayEngine.
  • Method Details

    • overlay

      Creates the overlay of the two datasets. The attributes from both datasets will be transferred to the overlay.
      Parameters:
      a - the first dataset involved in the overlay
      b - the second dataset involved in the overlay
      Returns:
      intersections of all pairs of input features
    • overlay

      Creates the overlay of the two datasets. The attributes from the datasets will be transferred as specified by the AttributeMapping.
      Parameters:
      a - the first dataset involved in the overlay
      b - the second dataset involved in the overlay
      mapping - specifies which attributes are transferred
      Returns:
      intersections of all pairs of input features
    • setSplittingGeometryCollections

      public void setSplittingGeometryCollections(boolean splittingGeometryCollections)
    • setAllowingPolygonsOnly

      public void setAllowingPolygonsOnly(boolean allowingPolygonsOnly)