Class HeatMap
- java.lang.Object
- 
- org.apache.sedona.viz.core.VisualizationOperator
- 
- org.apache.sedona.viz.extension.visualizationEffect.HeatMap
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class HeatMap extends VisualizationOperator The Class HeatMap.- 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 HeatMap(int resolutionX, int resolutionY, org.locationtech.jts.geom.Envelope datasetBoundary, boolean reverseSpatialCoordinate, int blurRadius)Instantiates a new heat map.HeatMap(int resolutionX, int resolutionY, org.locationtech.jts.geom.Envelope datasetBoundary, boolean reverseSpatialCoordinate, int blurRadius, int partitionX, int partitionY, boolean parallelPhotoFilter, boolean parallelRenderImage)Instantiates a new heat map.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IntegerEncodeToRGB(int normalizedCount)Encode to RGB.booleanVisualize(org.apache.spark.api.java.JavaSparkContext sparkContext, SpatialRDD spatialRDD)Visualize.- 
Methods inherited from class org.apache.sedona.viz.core.VisualizationOperatorApplyPhotoFilter, Colorize, CustomizeColor, EncodeToColor, InitPhotoFilterWeightMatrix, Rasterize, Rasterize, RenderImage, setMaxPixelCount
 
- 
 
- 
- 
- 
Constructor Detail- 
HeatMappublic HeatMap(int resolutionX, int resolutionY, org.locationtech.jts.geom.Envelope datasetBoundary, boolean reverseSpatialCoordinate, int blurRadius)Instantiates a new heat map.- Parameters:
- resolutionX- the resolution X
- resolutionY- the resolution Y
- datasetBoundary- the dataset boundary
- reverseSpatialCoordinate- the reverse spatial coordinate
- blurRadius- the blur radius
 
 - 
HeatMappublic HeatMap(int resolutionX, int resolutionY, org.locationtech.jts.geom.Envelope datasetBoundary, boolean reverseSpatialCoordinate, int blurRadius, int partitionX, int partitionY, boolean parallelPhotoFilter, boolean parallelRenderImage)Instantiates a new heat map.- Parameters:
- resolutionX- the resolution X
- resolutionY- the resolution Y
- datasetBoundary- the dataset boundary
- reverseSpatialCoordinate- the reverse spatial coordinate
- blurRadius- the blur radius
- partitionX- the partition X
- partitionY- the partition Y
- parallelPhotoFilter- the parallel photo filter
- parallelRenderImage- the parallel render image
 
 
- 
 - 
Method Detail- 
EncodeToRGBprotected Integer EncodeToRGB(int normalizedCount) throws Exception Description copied from class:VisualizationOperatorEncode to RGB.- Overrides:
- EncodeToRGBin class- VisualizationOperator
- Parameters:
- normalizedCount- the normalized count
- Returns:
- the integer
- Throws:
- Exception- the exception
 
 - 
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
 
 
- 
 
-