mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Update wording for multipolygon
This commit is contained in:
parent
5c9f132800
commit
f85eda34d9
@ -20,13 +20,13 @@ WKT(points)
|
||||
|
||||
**Parameters**
|
||||
|
||||
- `points`: a [tuple](../../data-types/tuple.md) representing coordinate point (x, y) or an [array](../../data-types/array.md) of tuples, or an array of tuple arrays.
|
||||
- `points`: a [tuple](../../data-types/tuple.md) representing coordinate point (x, y) or an [array](../../data-types/array.md) of tuples, or an array of multi-dimensional tuple arrays.
|
||||
|
||||
**Returned value**
|
||||
|
||||
- POINT is returned for a tuple.
|
||||
- POLYGON is returned for an array of tuples.
|
||||
- MULTIPOLYGON is returned for an array of tuple arrays.
|
||||
- MULTIPOLYGON is returned for an array of multi-dimensional tuple arrays.
|
||||
|
||||
**Examples**
|
||||
|
||||
@ -40,7 +40,7 @@ SELECT wkt((0., 0.));
|
||||
POINT(0 0)
|
||||
```
|
||||
|
||||
POLYGON from an array of tuples:
|
||||
POLYGON from an array of tuples or an array of tuple arrays:
|
||||
|
||||
```sql
|
||||
SELECT wkt([(0., 0.), (10., 0.), (10., 10.), (0., 10.)]);
|
||||
|
Loading…
Reference in New Issue
Block a user