mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Add review fixes
This commit is contained in:
parent
be0a2c0333
commit
ed7617554f
@ -80,8 +80,6 @@ Result:
|
|||||||
└──────────────────────────────────────┘
|
└──────────────────────────────────────┘
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## s2GetNeighbors {#s2GetNeighbors}
|
## s2GetNeighbors {#s2GetNeighbors}
|
||||||
|
|
||||||
Returns S2 neighbor indices corresponding to the provided [S2](#s2index)). Each cell in the S2 system is a quadrilateral bounded by four geodesics. So, each cell has 4 neighbors.
|
Returns S2 neighbor indices corresponding to the provided [S2](#s2index)). Each cell in the S2 system is a quadrilateral bounded by four geodesics. So, each cell has 4 neighbors.
|
||||||
@ -89,7 +87,7 @@ Returns S2 neighbor indices corresponding to the provided [S2](#s2index)). Each
|
|||||||
**Syntax**
|
**Syntax**
|
||||||
|
|
||||||
``` sql
|
``` sql
|
||||||
s2ToGeo(s2index)
|
s2GetNeighbors(s2index)
|
||||||
```
|
```
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
@ -156,7 +154,6 @@ Result:
|
|||||||
└───────────┘
|
└───────────┘
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## s2CapContains {#s2CapContains}
|
## s2CapContains {#s2CapContains}
|
||||||
|
|
||||||
A cap represents a portion of the sphere that has been cut off by a plane. It is defined by a point on a sphere and a radius in degrees.
|
A cap represents a portion of the sphere that has been cut off by a plane. It is defined by a point on a sphere and a radius in degrees.
|
||||||
@ -166,7 +163,7 @@ Determines if a cap contains a s2 point index.
|
|||||||
**Syntax**
|
**Syntax**
|
||||||
|
|
||||||
``` sql
|
``` sql
|
||||||
s2CellsIntersect(center, degrees, point)
|
s2CapContains(center, degrees, point)
|
||||||
```
|
```
|
||||||
|
|
||||||
**Arguments**
|
**Arguments**
|
||||||
@ -198,7 +195,6 @@ Result:
|
|||||||
└─────────────┘
|
└─────────────┘
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## s2CapUnion {#s2CapUnion}
|
## s2CapUnion {#s2CapUnion}
|
||||||
|
|
||||||
A cap represents a portion of the sphere that has been cut off by a plane. It is defined by a point on a sphere and a radius in degrees.
|
A cap represents a portion of the sphere that has been cut off by a plane. It is defined by a point on a sphere and a radius in degrees.
|
||||||
@ -279,7 +275,6 @@ Result:
|
|||||||
└───────────────────────────────────────────┘
|
└───────────────────────────────────────────┘
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## s2RectContains{#s2RectContains}
|
## s2RectContains{#s2RectContains}
|
||||||
|
|
||||||
In the S2 system, a rectangle is represented by a type of S2Region called a S2LatLngRect that represents a rectangle in latitude-longitude space.
|
In the S2 system, a rectangle is represented by a type of S2Region called a S2LatLngRect that represents a rectangle in latitude-longitude space.
|
||||||
|
Loading…
Reference in New Issue
Block a user