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
Copy file name to clipboardExpand all lines: docs/api/flink/Function.md
+48Lines changed: 48 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3191,6 +3191,54 @@ Output:
3191
3191
2216860.5497177234
3192
3192
```
3193
3193
3194
+
## ST_Perimeter2D
3195
+
3196
+
Introduction: This function calculates the 2D perimeter of a given geometry. It supports Polygon, MultiPolygon, and GeometryCollection geometries (as long as the GeometryCollection contains polygonal geometries). For other types, it returns 0. To measure lines, use [ST_Length](#st_length).
3197
+
3198
+
To get the perimeter in meters, set `use_spheroid` to `true`. This calculates the geodesic perimeter using the WGS84 spheroid. When using `use_spheroid`, the `lenient` parameter defaults to true, assuming the geometry uses EPSG:4326. To throw an exception instead, set `lenient` to `false`.
3199
+
3200
+
!!!Info
3201
+
This function is an alias for [ST_Perimeter](#st_perimeter).
Introduction: Return the Nth point in a single linestring or circular linestring in the geometry. Negative values are counted backwards from the end of the LineString, so that -1 is the last point. Returns NULL if there is no linestring in the geometry.
Copy file name to clipboardExpand all lines: docs/api/snowflake/vector-data/Function.md
+46Lines changed: 46 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2425,6 +2425,52 @@ Output:
2425
2425
2216860.5497177234
2426
2426
```
2427
2427
2428
+
## ST_Perimeter2D
2429
+
2430
+
Introduction: This function calculates the 2D perimeter of a given geometry. It supports Polygon, MultiPolygon, and GeometryCollection geometries (as long as the GeometryCollection contains polygonal geometries). For other types, it returns 0. To measure lines, use [ST_Length](#st_length).
2431
+
2432
+
To get the perimeter in meters, set `use_spheroid` to `true`. This calculates the geodesic perimeter using the WGS84 spheroid. When using `use_spheroid`, the `lenient` parameter defaults to true, assuming the geometry uses EPSG:4326. To throw an exception instead, set `lenient` to `false`.
2433
+
2434
+
!!!Info
2435
+
This function is an alias for [ST_Perimeter](#st_perimeter).
Introduction: Return the Nth point in a single linestring or circular linestring in the geometry. Negative values are counted backwards from the end of the LineString, so that -1 is the last point. Returns NULL if there is no linestring in the geometry.
[{{15, POINT (31.9)}, 1.0}, {{16, POINT (32)}, 1.0}, {{17, POINT (32.1)}, 1.0}, {{18, POINT (32.2)}, 1.0}]
730
+
{% endraw %}
729
731
```
730
732
731
733
## ST_Boundary
@@ -3500,6 +3502,54 @@ Output:
3500
3502
2216860.5497177234
3501
3503
```
3502
3504
3505
+
## ST_Perimeter2D
3506
+
3507
+
Introduction: This function calculates the 2D perimeter of a given geometry. It supports Polygon, MultiPolygon, and GeometryCollection geometries (as long as the GeometryCollection contains polygonal geometries). For other types, it returns 0. To measure lines, use [ST_Length](#st_length).
3508
+
3509
+
To get the perimeter in meters, set `use_spheroid` to `true`. This calculates the geodesic perimeter using the WGS84 spheroid. When using `use_spheroid`, the `lenient` parameter defaults to true, assuming the geometry uses EPSG:4326. To throw an exception instead, set `lenient` to `false`.
3510
+
3511
+
!!!Info
3512
+
This function is an alias for [ST_Perimeter](#st_perimeter).
Introduction: Return the Nth point in a single linestring or circular linestring in the geometry. Negative values are counted backwards from the end of the LineString, so that -1 is the last point. Returns NULL if there is no linestring in the geometry.
0 commit comments