Class HeatMap

    • Constructor Detail

      • HeatMap

        public 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
      • HeatMap

        public 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

      • 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