Push Down a Spatial Workload to SAP HANA Database in SAP HANA Cloud
Beginner
10 min.
Learn how to create SQL views using hexagonal clustering and QGIS and apply basic styling on a base map.
You will learn
- How to create an SQL view using hexagonal clustering
- How to add an SQL view into QGIS
- How to apply basic styling to the SQL view on base map
Prerequisites
- Ensure that your SAP HANA database instance within your SAP HANA Cloud trial account is running before you proceed.
- You have completed the visualization of spatial dataset on a base map. If not, complete the tutorial Visualize Spatial Dataset on SAP HANA database in SAP HANA Cloud.
This tutorial group will comprise of the following tasks:
-
Install SAP HANA ODBC Driver
-
Install QGIS
-
Connect QGIS to SAP HANA Cloud
-
Upload your first spatial dataset
-
Visualize data on a base map
-
Pushing down the spatial workload to SAP HANA database in SAP HANA Cloud
This tutorial will cover the sixth task.
Finally, let’s check how to execute spatial workloads on the database level and get the results to QGIS. Since all spatial processing functions on SAP HANA Cloud are part of the SQL syntax, the best way to go is to create a SQL view which can be consumed in QGIS.
So, you need to open the SAP HANA Database Explorer, create an SQL View and consume it in QGIS.

