java.lang.Object
org.apache.sedona.viz.core.VisualizationOperator
org.apache.sedona.viz.extension.visualizationEffect.ScatterPlot
All Implemented Interfaces:
Serializable

public class ScatterPlot extends VisualizationOperator
The Class ScatterPlot.
See Also:
  • Constructor Details

    • ScatterPlot

      public ScatterPlot(int resolutionX, int resolutionY, org.locationtech.jts.geom.Envelope datasetBoundary, boolean reverseSpatialCoordinate)
      Instantiates a new scatter plot.
      Parameters:
      resolutionX - the resolution X
      resolutionY - the resolution Y
      datasetBoundary - the dataset boundary
      reverseSpatialCoordinate - the reverse spatial coordinate
    • ScatterPlot

      public ScatterPlot(int resolutionX, int resolutionY, org.locationtech.jts.geom.Envelope datasetBoundary, boolean reverseSpatialCoordinate, boolean generateVectorImage)
      Instantiates a new scatter plot.
      Parameters:
      resolutionX - the resolution X
      resolutionY - the resolution Y
      datasetBoundary - the dataset boundary
      reverseSpatialCoordinate - the reverse spatial coordinate
      generateVectorImage - the generate vector image
    • ScatterPlot

      public ScatterPlot(int resolutionX, int resolutionY, org.locationtech.jts.geom.Envelope datasetBoundary, boolean reverseSpatialCoordinate, int partitionX, int partitionY, boolean parallelRenderImage, boolean generateVectorImage)
      Instantiates a new scatter plot.
      Parameters:
      resolutionX - the resolution X
      resolutionY - the resolution Y
      datasetBoundary - the dataset boundary
      reverseSpatialCoordinate - the reverse spatial coordinate
      partitionX - the partition X
      partitionY - the partition Y
      parallelRenderImage - the parallel render image
      generateVectorImage - the generate vector image
    • ScatterPlot

      public ScatterPlot(int resolutionX, int resolutionY, org.locationtech.jts.geom.Envelope datasetBoundary, boolean reverseSpatialCoordinate, int partitionX, int partitionY, boolean parallelRenderImage)
      Instantiates a new scatter plot.
      Parameters:
      resolutionX - the resolution X
      resolutionY - the resolution Y
      datasetBoundary - the dataset boundary
      reverseSpatialCoordinate - the reverse spatial coordinate
      partitionX - the partition X
      partitionY - the partition Y
      parallelRenderImage - the parallel render image
    • ScatterPlot

      public ScatterPlot(int resolutionX, int resolutionY, org.locationtech.jts.geom.Envelope datasetBoundary, ColorizeOption colorizeOption, boolean reverseSpatialCoordinate, boolean generateVectorImage)
      Instantiates a new scatter plot.
      Parameters:
      resolutionX - the resolution X
      resolutionY - the resolution Y
      datasetBoundary - the dataset boundary
      colorizeOption - the colorize option
      reverseSpatialCoordinate - the reverse spatial coordinate
      generateVectorImage - the generate vector image
    • ScatterPlot

      public ScatterPlot(int resolutionX, int resolutionY, org.locationtech.jts.geom.Envelope datasetBoundary, ColorizeOption colorizeOption, boolean reverseSpatialCoordinate, int partitionX, int partitionY, boolean parallelRenderImage, boolean generateVectorImage)
      Instantiates a new scatter plot.
      Parameters:
      resolutionX - the resolution X
      resolutionY - the resolution Y
      datasetBoundary - the dataset boundary
      colorizeOption - the colorize option
      reverseSpatialCoordinate - the reverse spatial coordinate
      partitionX - the partition X
      partitionY - the partition Y
      parallelRenderImage - the parallel render image
      generateVectorImage - the generate vector image
    • ScatterPlot

      public ScatterPlot(int resolutionX, int resolutionY, org.locationtech.jts.geom.Envelope datasetBoundary, ColorizeOption colorizeOption, boolean reverseSpatialCoordinate, int partitionX, int partitionY, boolean parallelRenderImage)
      Instantiates a new scatter plot.
      Parameters:
      resolutionX - the resolution X
      resolutionY - the resolution Y
      datasetBoundary - the dataset boundary
      colorizeOption - the colorize option
      reverseSpatialCoordinate - the reverse spatial coordinate
      partitionX - the partition X
      partitionY - the partition Y
      parallelRenderImage - the parallel render image
  • Method Details

    • Visualize

      public boolean Visualize(org.apache.spark.api.java.JavaSparkContext sparkContext, SpatialRDD spatialRDD) throws Exception
      Visualize.
      Parameters:
      sparkContext - the spark context
      spatialRDD - the spatial RDD
      Returns:
      true, if successful
      Throws:
      Exception - the exception