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

Computation methods

Computation methods help you calculating characteristics of geometries

Overview

🎓 beginner 15 min. SAP HANABeginnerSqlSAP HANA CloudExpress EditionSAP HANA SpatialSAP HANA Multi Model Processing
Markus Fath M Markus Fath February 7, 2023
Created by February 13, 2018
Contributors

Prerequisites

Prerequisites

  • Tutorial: Access methods
  • You must have the table "TUTORIAL_GEO"."SPATIALSHAPES" from previous tutorials already created and loaded in your system to be able to run examples from this tutorial.

Steps

Step 1 Compute methods
โ€”

You must have seen some of the spatial compute methods already in previous tutorials.

E.g. ST_Length() calculated the length of the line string, and ST_Area() calculated the area of a polygon.

Some other were used to calculate characteristics of geometries, like ST_IsRing() and ST_IsClosed() in examples with strings.

Step 2 Area and perimeter of polygons
+
Step 3 Centroid of polygons
+
Step 4 Point on a surface
+
Step 5 Distance
+
Step 6 Optional
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 6
1. Compute methods 2. Area and perimeter of polygons 3. Centroid of polygons 4. Point on a surface 5. Distance 6. Optional

Learn more →