SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Visualize a Spatial Dataset on SAP HANA Database in SAP HANA Cloud

Learn how to upload and visualize spatial data on a base map with QGIS and SAP HANA database in SAP HANA Cloud.

Overview

🎓 beginner 10 min. SAP HANA CloudBeginnerSAP HANA CloudSAP HANA DatabaseSAP HANA Spatial

You will learn

  • โœ”How to upload a spatial dataset to SAP HANA database in SAP HANA Cloud
  • โœ”How to add a base map to QGIS project
  • โœ”How to add vector data to base map
Unknown U Unknown November 1, 2022
Created by July 2, 2021
Contributors

Prerequisites

Prerequisites

  • Ensure that your SAP HANA database instance within your SAP HANA Cloud trial account is running before you proceed.
  • You have connected QGIS to your SAP HANA database in SAP HANA Cloud. If not, we recommend you complete the tutorial Connect QGIS to SAP HANA database in SAP HANA Cloud.

Steps

Intro

This tutorial group will comprise of the following tasks:

  1. Install SAP HANA ODBC Driver

  2. Install QGIS

  3. Connect QGIS to SAP HANA database in SAP HANA Cloud

  4. Upload your first spatial dataset

  5. Visualize data on a base map

  6. Pushing down Spatial Workload to SAP HANA database in SAP HANA Cloud

This tutorial will cover the tasks four and five of this list.

What have you achieved so far? You have created an SAP HANA database within the SAP HANA Cloud trial and connected it to QGIS via ODBC. Currently, this database does not contain spatial data. We will change this in the next steps. The good news is that you do not need any database tooling to upload your first dataset. You will simply use QGIS.


Step 1 Download the spatial dataset
โ€”

OpenStreetMap
OpenStreetMap

As suggested in this blog shown above, you can use the OpenStreetMap data provided by Geofabrik. Let’s start by looking at the point of interest data in the area of SAP’s Headquarter in Waldorf, Germany.

Download the Shapefile (.shp.zip) for the Regierungsbezirk Karlsruhe. You can think of a Shapefile being a file-based database for geospatial data. Learn more about Shapefile from here.

Step 2 Import dataset into the database
+
Step 3 Add base map to QGIS project
+
Step 4 Add vector data to base map
+
Step 5 Test yourself
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 5
1. Download the spatial dataset 2. Import dataset into the database 3. Add base map to QGIS project 4. Add vector data to base map 5. Test yourself

Learn more →