Skip to content

Commit

Permalink
[DOCS] Fix spelling; pre-commit autoupdate (apache#1057)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton authored and jiayuasu committed Dec 8, 2023
1 parent 23affb2 commit fb4ccaa
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ 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
description: Check spelling with codespell
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
Expand Down
1 change: 1 addition & 0 deletions codespell.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
actualy
afterall
bu
celle
eiter
fpt
limite
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/viz.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fb4ccaa

Please sign in to comment.