You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sedona.apache.org by ji...@apache.org on 2023/09/07 19:03:45 UTC

[sedona] branch master updated: [DOCS] Fix whitespace in Markdown files (#1004)

This is an automated email from the ASF dual-hosted git repository.

jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git


The following commit(s) were added to refs/heads/master by this push:
     new c71ebd4b0 [DOCS] Fix whitespace in Markdown files (#1004)
c71ebd4b0 is described below

commit c71ebd4b0f6a80507d58dad93708d28878d39265
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Fri Sep 8 05:03:39 2023 +1000

    [DOCS] Fix whitespace in Markdown files (#1004)
---
 docs/api/flink/Function.md  | 6 +++---
 docs/api/sql/Function.md    | 6 +++---
 docs/api/sql/Optimizer.md   | 4 ++--
 docs/setup/release-notes.md | 2 +-
 docs/tutorial/flink/sql.md  | 2 +-
 5 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/docs/api/flink/Function.md b/docs/api/flink/Function.md
index ba34e5d6c..ddfa0dc30 100644
--- a/docs/api/flink/Function.md
+++ b/docs/api/flink/Function.md
@@ -735,7 +735,7 @@ Output:
 POLYGON ((20 40, 175 150, 125 100, 20 40))
 ```
 
-##  ST_CoordDim
+## ST_CoordDim
 
 Introduction: Returns the coordinate dimensions of the geometry. It is an alias of `ST_NDims`.
 
@@ -2281,7 +2281,7 @@ PROJCS["WGS 84 / Pseudo-Mercator",
 !!!note
     By default, ==ST_Transform== follows the `lenient` mode which tries to fix issues by itself. You can append a boolean value at the end to enable the `strict` mode. In `strict` mode, ==ST_Transform== will throw an error if it finds any issue.
 
-Format: `ST_Transform (A:geometry, SourceCRS:string, TargetCRS:string ,[Optional] lenientMode:bool)`
+Format: `ST_Transform (A:geometry, SourceCRS:string, TargetCRS:string, [Optional] lenientMode:bool)`
 
 Since: `v1.2.0`
 
@@ -2343,7 +2343,7 @@ POINT (-70.01 44.37)
 Introduction: Returns a two-dimensional Voronoi diagram from the vertices of the supplied geometry. The result is a GeometryCollection of Polygons that covers an envelope larger than the extent of the input vertices. Returns null if input geometry is null. Returns an empty geometry collection if the input geometry contains only one vertex. Returns an empty geometry collection if the extend_to envelope has zero area.
 
 
-Format: `ST_VoronoiPolygons(g1: geometry, tolerance: float , extend_to: geometry)`
+Format: `ST_VoronoiPolygons(g1: geometry, tolerance: float, extend_to: geometry)`
 
 Optional parameters:
 'tolerance' : The distance within which vertices will be considered equivalent. Robustness of the algorithm can be improved by supplying a nonzero tolerance distance. (default = 0.0)
diff --git a/docs/api/sql/Function.md b/docs/api/sql/Function.md
index 5873338ab..43fc03ce0 100644
--- a/docs/api/sql/Function.md
+++ b/docs/api/sql/Function.md
@@ -742,7 +742,7 @@ Output:
 POLYGON ((20 40, 175 150, 125 100, 20 40))
 ```
 
-##  ST_CoordDim
+## ST_CoordDim
 
 Introduction: Returns the coordinate dimensions of the geometry. It is an alias of `ST_NDims`.
 
@@ -2373,7 +2373,7 @@ PROJCS["WGS 84 / Pseudo-Mercator",
 !!!note
     By default, ==ST_Transform== follows the `lenient` mode which tries to fix issues by itself. You can append a boolean value at the end to enable the `strict` mode. In `strict` mode, ==ST_Transform== will throw an error if it finds any issue.
 
-Format: `ST_Transform (A:geometry, SourceCRS:string, TargetCRS:string ,[Optional] lenientMode:bool)`
+Format: `ST_Transform (A:geometry, SourceCRS:string, TargetCRS:string, [Optional] lenientMode:bool)`
 
 Since: `v1.2.0`
 
@@ -2456,7 +2456,7 @@ POLYGON ((3 -1, 3 -3, -3 -3, -3 3, 3 3, 3 1, 5 0, 3 -1))
 Introduction: Returns a two-dimensional Voronoi diagram from the vertices of the supplied geometry. The result is a GeometryCollection of Polygons that covers an envelope larger than the extent of the input vertices. Returns null if input geometry is null. Returns an empty geometry collection if the input geometry contains only one vertex. Returns an empty geometry collection if the extend_to envelope has zero area.
 
 
-Format: `ST_VoronoiPolygons(g1: geometry, tolerance: float , extend_to: geometry)`
+Format: `ST_VoronoiPolygons(g1: geometry, tolerance: float, extend_to: geometry)`
 
 Optional parameters:
 'tolerance' : The distance within which vertices will be considered equivalent. Robustness of the algorithm can be improved by supplying a nonzero tolerance distance. (default = 0.0)
diff --git a/docs/api/sql/Optimizer.md b/docs/api/sql/Optimizer.md
index 767ca5f36..3870388e3 100644
--- a/docs/api/sql/Optimizer.md
+++ b/docs/api/sql/Optimizer.md
@@ -249,7 +249,7 @@ As you see, compared to the query in Step 2, we added one more filter, which is
 Due to the explode function used when we generate S2 Cell Ids, the resulting DataFrame may have several duplicate <lcs_geom, rcs_geom> matches. You can remove them by performing a GroupBy query.
 
 ```sql
-SELECT lcs_id, rcs_id , first(lcs_geom), first(lcs_name), first(rcs_geom), first(rcs_name)
+SELECT lcs_id, rcs_id, first(lcs_geom), first(lcs_name), first(rcs_geom), first(rcs_name)
 FROM joinresult
 GROUP BY (lcs_id, rcs_id)
 ```
@@ -276,7 +276,7 @@ Since the coordinates are in the longitude and latitude system, so the unit of `
 In a nutshell, run this query first on the left table before Step 1. Please replace `METER_DISTANCE` with a meter distance. In Step 1, generate S2 IDs based on the `buffered_geom` column. Then run Step 2, 3, 4 on the original `geom` column.
 
 ```sql
-SELECT id, geom , ST_Buffer(geom, METER_DISTANCE/111000.0) as buffered_geom, name
+SELECT id, geom, ST_Buffer(geom, METER_DISTANCE/111000.0) as buffered_geom, name
 FROM lefts
 ```
 
diff --git a/docs/setup/release-notes.md b/docs/setup/release-notes.md
index a2d61e220..9fd30d33d 100644
--- a/docs/setup/release-notes.md
+++ b/docs/setup/release-notes.md
@@ -447,7 +447,7 @@ New features:
 * [SEDONA-65](https://issues.apache.org/jira/browse/SEDONA-65): Create ST_Difference function
 * [SEDONA-68](https://issues.apache.org/jira/browse/SEDONA-68) Add St_Collect function.
 * [SEDONA-82](https://issues.apache.org/jira/browse/SEDONA-82): Create ST_SymmDifference function
-* [SEDONA-75](https://issues.apache.org/jira/browse/SEDONA-75): Add support for "3D" geometries: Preserve Z coordinates on geometries when serializing, ST_AsText , ST_Z, ST_3DDistance
+* [SEDONA-75](https://issues.apache.org/jira/browse/SEDONA-75): Add support for "3D" geometries: Preserve Z coordinates on geometries when serializing, ST_AsText, ST_Z, ST_3DDistance
 * [SEDONA-86](https://issues.apache.org/jira/browse/SEDONA-86): Support empty geometries in ST_AsBinary and ST_AsEWKB
 * [SEDONA-90](https://issues.apache.org/jira/browse/SEDONA-90): Add ST_Union
 * [SEDONA-100](https://issues.apache.org/jira/browse/SEDONA-100): Add st_multi function
diff --git a/docs/tutorial/flink/sql.md b/docs/tutorial/flink/sql.md
index 0207f4ed2..04dc5f664 100644
--- a/docs/tutorial/flink/sql.md
+++ b/docs/tutorial/flink/sql.md
@@ -280,7 +280,7 @@ As you see, compared to the query in Step 2, we added one more filter, which is
 Due to the explode function used when we generate S2 Cell Ids, the resulting DataFrame may have several duplicate <lcs_geom, rcs_geom> matches. You can remove them by performing a GroupBy query.
 
 ```sql
-SELECT lcs_id, rcs_id , FIRST_VALUE(lcs_geom), FIRST_VALUE(lcs_name), first(rcs_geom), first(rcs_name)
+SELECT lcs_id, rcs_id, FIRST_VALUE(lcs_geom), FIRST_VALUE(lcs_name), first(rcs_geom), first(rcs_name)
 FROM joinresult
 GROUP BY (lcs_id, rcs_id)
 ```