10.9. HBase Heatmaps

GeoMesa on HBase can leverage server side processing to accelerate heatmap (density) queries. GeoMesa uses a custom coprocessor running on the HBase Region Servers so that density calculation are done at the data. The per-region results are then returned to GeoServer, combined there, and served. This functionality can be accessed using the geomesa:Density WPS process.

In order to use the density process you must:

10.9.1. Install Heatmap SLD

In order to style the density result to produce a heatmap, GeoServer needs a Style Layer Descriptor (SLD).

To start, add a new SLD style to GeoServer named “heatmap” and use this sld heatmap.sld

Instruction on how to install SLDs can be found here GeoServer Styles.

Now you can change the style parameter to be styles=heatmap in the Layer Preview or PNG preview in GeoServer.

Note

You may have to change the layer configuration to support publishing the heatmap style.