Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Fix spelling; pre-commit autoupdate #1057

Merged
merged 1 commit into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading