Skip to content

Commit 7fee7e0

Browse files
authored
Merge pull request #626 from yutannihilation/doc/reflect-web-changes
Tweak documents
2 parents 218c9f1 + da6c70e commit 7fee7e0

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

docs/functions.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@
8989
| [`ST_MinimumRotatedRectangle`](#st_minimumrotatedrectangle) | Returns the minimum rotated rectangle that bounds the input geometry, finding the surrounding box that has the lowest area by using a rotated rectangle, rather than taking the lowest and highest coordinate values as per ST_Envelope(). |
9090
| [`ST_Multi`](#st_multi) | Turns a single geometry into a multi geometry. |
9191
| [`ST_NGeometries`](#st_ngeometries) | Returns the number of component geometries in a collection geometry. |
92-
| [`ST_NInteriorRings`](#st_ninteriorrings) | Returns the number if interior rings of a polygon |
92+
| [`ST_NInteriorRings`](#st_ninteriorrings) | Returns the number of interior rings of a polygon |
9393
| [`ST_NPoints`](#st_npoints) | Returns the number of vertices within a geometry |
9494
| [`ST_Node`](#st_node) | Returns a "noded" MultiLinestring, produced by combining a collection of input linestrings and adding additional vertices where they intersect. |
9595
| [`ST_Normalize`](#st_normalize) | Returns the "normalized" representation of the geometry |
9696
| [`ST_NumGeometries`](#st_numgeometries) | Returns the number of component geometries in a collection geometry. |
97-
| [`ST_NumInteriorRings`](#st_numinteriorrings) | Returns the number if interior rings of a polygon |
97+
| [`ST_NumInteriorRings`](#st_numinteriorrings) | Returns the number of interior rings of a polygon |
9898
| [`ST_NumPoints`](#st_numpoints) | Returns the number of vertices within a geometry |
9999
| [`ST_Overlaps`](#st_overlaps) | Returns true if the geometries overlap |
100100
| [`ST_Perimeter`](#st_perimeter) | Returns the length of the perimeter of the geometry |
@@ -1973,7 +1973,7 @@ INTEGER ST_NInteriorRings (polygon POLYGON_2D)
19731973

19741974
#### Description
19751975

1976-
Returns the number if interior rings of a polygon
1976+
Returns the number of interior rings of a polygon
19771977

19781978
----
19791979

@@ -2065,7 +2065,7 @@ INTEGER ST_NumInteriorRings (polygon POLYGON_2D)
20652065

20662066
#### Description
20672067

2068-
Returns the number if interior rings of a polygon
2068+
Returns the number of interior rings of a polygon
20692069

20702070
----
20712071

@@ -3285,10 +3285,10 @@ The following formats are currently recognized by their file extension:
32853285

32863286
```sql
32873287
-- Read a Shapefile
3288-
ELECT * FROM ST_Read('some/file/path/filename.shp');
3288+
SELECT * FROM ST_Read('some/file/path/filename.shp');
32893289

3290-
- Read a GeoJSON file
3291-
REATE TABLE my_geojson_table AS SELECT * FROM ST_Read('some/file/path/filename.json');
3290+
-- Read a GeoJSON file
3291+
CREATE TABLE my_geojson_table AS SELECT * FROM ST_Read('some/file/path/filename.json');
32923292
```
32933293

32943294
----

src/spatial/modules/gdal/gdal_module.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,7 @@ struct ST_Read : ArrowTableFunction {
10691069
)";
10701070

10711071
static constexpr auto EXAMPLE = R"(
1072-
-- Read a Shapefile
1072+
-- Read a Shapefile
10731073
SELECT * FROM ST_Read('some/file/path/filename.shp');
10741074
10751075
-- Read a GeoJSON file

src/spatial/modules/main/spatial_functions_scalar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6715,7 +6715,7 @@ struct ST_NInteriorRings {
67156715
// Documentation
67166716
//------------------------------------------------------------------------------------------------------------------
67176717
static constexpr auto DESCRIPTION = R"(
6718-
Returns the number if interior rings of a polygon
6718+
Returns the number of interior rings of a polygon
67196719
)";
67206720

67216721
// TODO: add example

0 commit comments

Comments
 (0)