You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Tutorials:**[Intro to SAP HANA Spatial: Points](http://go.sap.com/developer/tutorials/hana-spatial-intro1-point.html)
9
9
10
10
## Next Steps
11
-
- Intro to SAP HANA Spatial: Polygons (coming soon), or
12
-
- Select a tutorial from the [Tutorial Navigator](http://go.sap.com/developer/tutorial-navigator.html) or the [Tutorial Catalog](http://go.sap.com/developer/tutorials.html)
11
+
-[Intro to SAP HANA Spatial: Polygons](http://go.sap.com/developer/tutorials/hana-spatial-intro3-polygon.html)
13
12
14
13
## Details
15
14
### You will learn
@@ -131,5 +130,4 @@ You will continue learning basics of spatial processing now with ___strings___ (
131
130
-Check SAP HANA Spatial Reference at http://help.sap.com/hana_platform
132
131
133
132
## Next Steps
134
-
- Intro to SAP HANA Spatial: Polygons (coming soon), or
135
-
-Select a tutorial from the [Tutorial Navigator](http://go.sap.com/developer/tutorial-navigator.html) or the [Tutorial Catalog](http://go.sap.com/developer/tutorials.html)
133
+
- [Intro to SAP HANA Spatial: Polygons](http://go.sap.com/developer/tutorials/hana-spatial-intro3-polygon.html)
The result is a `MultiLineString` containing two `LineStrings`. One representing a triangle and another representing a square.
68
68
69
69
`MultiLineString` is another spatial type, which is a collection of line strings. There are two more spatial collection types supported by SAP HANA: `MultiPoint`and`MultiPolygon`. Names are intuitive enough to understand what they represent.
70
70
71
-
Strings too have their boundaries, represented by their endpoints, except when they are rings. Rings - curves where the start point is the same as the end pointand there are no self-intersections — have no boundaries.
71
+
Strings too have their boundaries, represented by their endpoints, except when they are rings. Rings - curves where the start point is the same as the end pointand there are no self-intersections - have no boundaries.
72
72
73
73
Check boundaries of a triangle string from the previous query.
74
74
@@ -86,7 +86,7 @@ You will continue learning basics of spatial processing now with ___polygons___
86
86
SELECT NEW ST_LineString('LineString (0 0,4 0,0 3,1 0)').ST_Boundary().ST_asWKT() FROM dummy;
87
87
```
88
88
89
-
The result is a `MultiPoint` containing two end points.
89
+
The result is a `MultiPoint`collection containing two end points.
90
90
91
91

92
92
@@ -102,11 +102,11 @@ You will continue learning basics of spatial processing now with ___polygons___
102
102
SELECT NEW ST_Point (1,1).ST_Within(NEW ST_Polygon('Polygon ((00, 40, 03, 00), (0.50.5, 0.51.5, 1.51.5, 10.5, 0.50.5))')) FROM dummy;
103
103
```
104
104
105
-
Indeed the point (1, 1) is not within interior of your polygon form the earlier exercise, defined by external ring in the shape of triangle and internal ring in the shape of a square. An are within a square is the ___exterior___ of that geometry.
105
+
Indeed the point (1, 1) is not within ___interior___ of your polygon form the earlier exercise, defined by external ring in the shape of triangle and internal ring in the shape of a square. An area inside a square is the ___exterior___ of this particular geometry.
106
106
107
107

108
108
109
-
7. To check if a point is within a circle you use `ST_Boundary()` method defining the area of a particular distance from a circle's centerpoint.
109
+
7. To check if a point is within a given disk you use `ST_Boundary()` method defining the circle around an area of a particular distance from a central point.
110
110
111
111
```sql
112
112
SELECT NEW ST_Point (1,1).ST_Within(NEW ST_Point(0, 0).ST_Buffer(2)) FROM dummy;
0 commit comments