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 bd864a9fd [DOCS] Fix spelling; pre-commit autoupdate (#1057)
bd864a9fd is described below
commit bd864a9fd6b1a1341282f4a7995d8a37f61328cc
Author: John Bampton <[email protected]>
AuthorDate: Tue Oct 24 12:53:02 2023 +1000
[DOCS] Fix spelling; pre-commit autoupdate (#1057)
---
.pre-commit-config.yaml | 4 ++--
codespell.txt | 1 +
docs/tutorial/viz.md | 2 +-
.../scala/org/apache/sedona/viz/sql/operator/VizPartitioner.scala | 2 +-
4 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 229ededd4..4d1bdd4d6 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -11,7 +11,7 @@ repos:
- id: identity
- id: check-hooks-apply
- repo: https://github.com/codespell-project/codespell
- rev: v2.2.5
+ rev: v2.2.6
hooks:
- id: codespell
name: Run codespell
@@ -19,7 +19,7 @@ repos:
entry: codespell --ignore-words=codespell.txt
exclude: ^docs/image|^spark/common/src/test/resources
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.4.0
+ rev: v4.5.0
hooks:
- id: check-case-conflict
# - id: check-docstring-first
diff --git a/codespell.txt b/codespell.txt
index 24a7c2fe9..4046ea997 100644
--- a/codespell.txt
+++ b/codespell.txt
@@ -1,6 +1,7 @@
actualy
afterall
bu
+celle
eiter
fpt
limite
diff --git a/docs/tutorial/viz.md b/docs/tutorial/viz.md
index 6c11757aa..9c0ac1f4f 100644
--- a/docs/tutorial/viz.md
+++ b/docs/tutorial/viz.md
@@ -1,6 +1,6 @@
The page outlines the steps to visualize spatial data using SedonaViz. ==The
example code is written in Scala but also works for Java==.
-SedonaViz provides native support for general cartographic design by extending
Sedona to process large-scale spatial data. It can visulize Spatial RDD and
Spatial Queries and render super high resolution image in parallel.
+SedonaViz provides native support for general cartographic design by extending
Sedona to process large-scale spatial data. It can visualize Spatial RDD and
Spatial Queries and render super high resolution image in parallel.
SedonaViz offers Map Visualization SQL. This gives users a more flexible way
to design beautiful map visualization effects including scatter plots and heat
maps. SedonaViz RDD API is also available.
diff --git
a/spark/common/src/main/scala/org/apache/sedona/viz/sql/operator/VizPartitioner.scala
b/spark/common/src/main/scala/org/apache/sedona/viz/sql/operator/VizPartitioner.scala
index edc2689a4..bcaf1a54d 100644
---
a/spark/common/src/main/scala/org/apache/sedona/viz/sql/operator/VizPartitioner.scala
+++
b/spark/common/src/main/scala/org/apache/sedona/viz/sql/operator/VizPartitioner.scala
@@ -69,7 +69,7 @@ object VizPartitioner {
val primaryIdPos = cursorRow.fieldIndex(Conf.PrimaryPID)
val secondIdPos = cursorRow.fieldIndex(Conf.SecondaryPID)
val geometry =
cursorRow.getAs[Geometry](spatialColName).getEnvelopeInternal
- // This is to find all seconary ids
+ // This is to find all secondary ids
val matchedZones = secondaryPartitionTree.findZones(new
QuadRectangle(geometry)).asScala
matchedZones.foreach(secondaryZone => {
var currentValues = cursorRow.toSeq.toBuffer