Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove blank page #1925

Merged
merged 4 commits into from
Feb 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ Calculate the center Angle between two points on the Earth's surface in degrees.
## Syntax

```sql
ST_Angle_Sphere( <x_lng>, <x_lat>, <y_lng>, <y_lat>)
ST_ANGLE_SPHERE( <x_lng>, <x_lat>, <y_lng>, <y_lat>)
```

## Parameters
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ Enter three points that represent two intersecting lines. Return the Angle betwe
## Syntax

```sql
ST_Angle( <point1>, <point2>, <point3>)
ST_ANGLE( <point1>, <point2>, <point3>)
```

## Parameters
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
{
"title": "st_area_square_km",
"title": "ST_AREA_SQUARE_KM",
"language": "en"
}
---
@@ -23,3 +23,38 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->

## Description

Calculate the area of the region on the sphere of the Earth


## Syntax

```sql
ST_AREA_SQUARE_KM( <geo>)
```

## Parameters

| Parameters | Instructions |
| -- |--------|
| `<geo>` | The spherical position of the earth |

## Return Value

ST_Area_Square_Km( <geo>): the units returned are square kilometers

## Examples

```sql
SELECT ST_Area_Square_Km(ST_Polygon("POLYGON ((0 0, 1 0, 1 1, 0 1, 0 0))"));
```

```text
+----------------------------------------------------------------------+
| st_area_square_km(st_polygon('POLYGON ((0 0, 1 0, 1 1, 0 1, 0 0))')) |
+----------------------------------------------------------------------+
| 12364.036567076409 |
+----------------------------------------------------------------------+
```
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
{
"title": "st_area_square_meters",
"title": "ST_AREA_SQUARE_METERS",
"language": "en"
}
---
@@ -23,3 +23,64 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->

## Description

Calculate the area of the region on the sphere of the Earth


## Syntax

```sql
ST_AREA_SQUARE_METERS( <geo>)
```

## Parameters

| Parameters | Instructions |
| -- |--------|
| `<geo>` | The spherical position of the earth |

## Return Value

ST_Area_Square_Meters( <geo>): the units returned are square meters

## Examples

```sql
SELECT ST_Area_Square_Meters(ST_Circle(0, 0, 1));
```

```text
+-------------------------------------------------+
| st_area_square_meters(st_circle(0.0, 0.0, 1.0)) |
+-------------------------------------------------+
| 3.1415926535897869 |
+-------------------------------------------------+
```


```sql
SELECT ST_Area_Square_Meters(ST_Point(0, 1));
```

```text
+-------------------------------------------+
| st_area_square_meters(st_point(0.0, 1.0)) |
+-------------------------------------------+
| 0 |
+-------------------------------------------+
```

```sql
SELECT ST_Area_Square_Meters(ST_LineFromText("LINESTRING (1 1, 2 2)"));
```

```text
+-----------------------------------------------------------------+
| st_area_square_meters(st_linefromtext('LINESTRING (1 1, 2 2)')) |
+-----------------------------------------------------------------+
| 0 |
+-----------------------------------------------------------------+
```

Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ At present, the supported geometry is: Point, LineString, Polygon.
## Syntax

```sql
ST_AsBinary( <geo>)
ST_ASBINARY( <geo>)
```

## Parameters
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
{
"title": "ST_ASTEXT,ST_ASWKT",
"title": "ST_ASTEXT",
"language": "en"
}
---
@@ -28,10 +28,14 @@ under the License.

Convert a geometric figure to a representation of WKT (Well Known Text)

## Alias

- ST_ASWKT

## Syntax

```sql
ST_AsText( <geo>)
ST_ASTEXT( <geo>)
```

## Parameters

This file was deleted.

Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ Enter two points and return the azimuth of the line segment formed by points 1 a
## Syntax

```sql
ST_Azimuth( <point1>, <point2>)
ST_AZIMUTH( <point1>, <point2>)
```
## Parameters

Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ Convert a WKT (Well Known Text) to a circle on the sphere of the Earth.
## Syntax

```sql
ST_Circle( <center_lng>, <center_lat>, <radius>)
ST_CIRCLE( <center_lng>, <center_lat>, <radius>)
```

## Parameters
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ Determines whether the geometry shape1 is fully capable of containing the geomet
## Syntax

```sql
ST_Contains( <shape1>, <shape2>)
ST_CONTAINS( <shape1>, <shape2>)
```

## Parameters
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ Calculate the spherical distance in meters between two points on the Earth. The
## Syntax

```sql
ST_Distance_Sphere( <x_lng>, <x_lat>, <y_lng>, <y_lat>)
ST_DISTANCE_SPHERE( <x_lng>, <x_lat>, <y_lng>, <y_lat>)
```

## Parameters
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
{
"title": "ST_GEOMETRYFROMTEXT,ST_GEOMFROMTEXT",
"title": "ST_GEOMETRYFROMTEXT",
"language": "en"
}
---
@@ -28,10 +28,15 @@ under the License.

Convert a linear WKT (Well Known Text) to the corresponding memory geometry


## Alias

- ST_GEOMFROMTEXT

## Syntax

```sql
ST_GeometryFromText( <wkt>)
ST_GEOMETRYFROMTEXT( <wkt>)
```
## Parameters

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
{
"title": "ST_GEOMETRYFROMWKB,ST_GEOMFROMWKB",
"title": "ST_GEOMETRYFROMWKB",
"language": "en"
}
---
@@ -28,10 +28,14 @@ under the License.

Converts a standard figure WKB (Well-known binary) to the corresponding memory geometry

## Alias

- ST_GEOMFROMWKB

## Syntax

```sql
ST_GeometryFromWKB( <wkb>)
ST_GEOMETRYFROMWKB( <wkb>)
```
## Parameters

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
{
"title": "ST_LINEFROMTEXT,ST_LINESTRINGFROMTEXT",
"title": "ST_LINEFROMTEXT",
"language": "en"
}
---
@@ -28,10 +28,14 @@ under the License.

Converts a WKT (Well Known Text) to a memory representation in the form of a Line

## Alias

- ST_LINESTRINGFROMTEXT

## Syntax

```sql
ST_LineFromText( <wkt>)
ST_LINEFROMTEXT( <wkt>)
```

## Parameters

This file was deleted.

Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ The current value is only meaningful in the sphere set, X/Y corresponds to longi
## Syntax

```sql
ST_Point( <x>, <y>)
ST_POINT( <x>, <y>)
```
## Parameters

Loading