Class ScatterPlot
- 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:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from class org.apache.sedona.viz.core.VisualizationOperatorblue, colorAlpha, colorizeOption, controlColorChannel, datasetBoundary, distributedRasterColorMatrix, distributedRasterCountMatrix, distributedRasterImage, distributedVectorColors, distributedVectorImage, distributedVectorObjects, green, hasBeenSpatialPartitioned, maxPixelCount, onlyDrawOutline, parallelPhotoFilter, parallelRenderImage, partitionIntervalX, partitionIntervalY, partitionX, partitionY, PhotoFilterConvolutionMatrix, photoFilterRadius, rasterImage, red, resolutionX, resolutionY, reverseSpatialCoordinate, useInverseRatioForControlColorChannel, vectorImage
 
- 
 - 
Constructor SummaryConstructors Constructor Description ScatterPlot(int resolutionX, int resolutionY, org.locationtech.jts.geom.Envelope datasetBoundary, boolean reverseSpatialCoordinate)Instantiates a new scatter plot.ScatterPlot(int resolutionX, int resolutionY, org.locationtech.jts.geom.Envelope datasetBoundary, boolean reverseSpatialCoordinate, boolean generateVectorImage)Instantiates a new scatter plot.ScatterPlot(int resolutionX, int resolutionY, org.locationtech.jts.geom.Envelope datasetBoundary, boolean reverseSpatialCoordinate, int partitionX, int partitionY, boolean parallelRenderImage)Instantiates a new scatter plot.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.ScatterPlot(int resolutionX, int resolutionY, org.locationtech.jts.geom.Envelope datasetBoundary, ColorizeOption colorizeOption, boolean reverseSpatialCoordinate, boolean generateVectorImage)Instantiates a new scatter plot.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.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.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanVisualize(org.apache.spark.api.java.JavaSparkContext sparkContext, SpatialRDD spatialRDD)Visualize.- 
Methods inherited from class org.apache.sedona.viz.core.VisualizationOperatorApplyPhotoFilter, Colorize, CustomizeColor, EncodeToColor, EncodeToRGB, InitPhotoFilterWeightMatrix, Rasterize, Rasterize, RenderImage, setMaxPixelCount
 
- 
 
- 
- 
- 
Constructor Detail- 
ScatterPlotpublic 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
 
 - 
ScatterPlotpublic 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
 
 - 
ScatterPlotpublic 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
 
 - 
ScatterPlotpublic 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
 
 - 
ScatterPlotpublic 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
 
 - 
ScatterPlotpublic 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
 
 - 
ScatterPlotpublic 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 Detail- 
Visualizepublic boolean Visualize(org.apache.spark.api.java.JavaSparkContext sparkContext, SpatialRDD spatialRDD) throws ExceptionVisualize.- Parameters:
- sparkContext- the spark context
- spatialRDD- the spatial RDD
- Returns:
- true, if successful
- Throws:
- Exception- the exception
 
 
- 
 
-