Skip to Content
0
Jan 22, 2020 at 02:27 PM

HANA Spatial: How to get Points from Polygon?

162 Views

In HANA you define a polygon by setting multiple points, for example

NEW ST_Polygon('Polygon ((-5 -5, 5 -5, 0 5, -5 -5), (-2 -2, -2 0, 2 0, 2 -2, -2 -2))')

Is it somehow possible to get the points of an already existing polygon? I can't find a reverse functionion in the documentation (and I don't want to misuse the ST_AsGeoJSON function for this).