About Hexagonal Data Visualization Using H3 Aggregations
Oracle Spatial Studio allows you to visualize point-type map data using hexagons with H3 (Hexagonal Hierarchical Spatial Index) aggregations.
Visualizing your map data as hexagons has several advantages:
-
It helps you to identify patterns or clusters in a larger point dataset
-
Easier interpretation of data, as in a hexagonal cell, all the points are equidistant from the hexagon center-point
-
Hexagonal cells are color coded based on the number of datapoints they hold, which enables you to easily understand data patterns
The following sections describe how you can use H3 aggregations in Spatial Studio:
Preparing an H3 Aggregation Dataset
You can prepare an H3 aggregation dataset by performing the following steps.
The instructions assume that a dataset containing geometric data columns is already loaded to Spatial Studio.
-
Navigate to the Datasets page.
All the datasets loaded to Spatial Studio are shown listed on this page.
-
Select the required dataset name and right-click to open the context menu.
-
Click Create H3 Index on the Prepare submenu.
The Creating H3 Index dialog opens as shown:

-
Select the Geometry Column for H3 aggregations.
-
Click a Summarize using option.
The values for summarizing are:
-
Count: buckets the number of datapoints in each hexagon
-
Sum: adds up the values for a specific column in the data set, for all the points that fall in a specific hexagon
-
-
Select the Column to sum, if you have chosen Sum to summarize your dataset. Otherwise, you can skip this step.
-
Optionally, modify the H3 Index Name.
-
Click OK.
An H3 aggregation dataset is created and added as a new row in the Datasets page.
Visualizing Data With H3 Aggregations
To visualize your map data with H3 aggregations, you must perform the following steps.
The instructions assume that an H3 aggregation dataset is already added to the project in the Active Project page.
To prepare a dataset for H3 aggregation, see Preparing an H3 Aggregation Dataset for more information.
-
Click the Visualizations tab on the left pane in the Active Project page.
This lists the various visualization options.
-
Click and drag Map from the list to the visualization window on the right to create a map visualization.
A default base map is displayed with no data visualization layers.
-
Click the Data tab on the left pane in the Active Project page.
This lists all the Datasets that are loaded for the project.
-
Click and drag the desired H3 Aggregation dataset from the list to the map view on the right.
A layer showing the hexagonal binning of the data points is displayed on the map as shown:

Description of the illustration h3_map_viz.png
See Applying Data-Driven Style to a Map with H3 Aggregations for more information on applying styling for a H3 map layer.