SAP

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Access methods

Spatial access methods help you to retrieve properties of geometries

Overview

Markus Fath M Markus Fath February 7, 2023
Created on February 13, 2018
Contributors

More from Markus Fath

See all 13 tutorials by Markus Fath →

Prerequisites

Prerequisites

  • Tutorials: Introduction to SAP HANA Spatial data types
  • 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 Access methods

If you have done previous tutorials, then you must have seen some of the spatial access methods already.

E.g. ST_Dimension() returned the dimension of a geometry object and could be applied to a geometry of any type - be it a point or a polygon. ST_X() returns the X coordinate of an ST_POINT and works with points only.

Step 2 Access methods for all geometries
+
Step 3 Access methods for line strings
+
Step 4 Access methods for collections
+
Step 5 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 5
1. Access methods 2. Access methods for all geometries 3. Access methods for line strings 4. Access methods for collections 5. Optional
Next