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 2021/05/26 03:43:47 UTC

[incubator-sedona] branch master updated: Update coordinates in docs

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/incubator-sedona.git


The following commit(s) were added to refs/heads/master by this push:
     new 477f4e7  Update coordinates in docs
477f4e7 is described below

commit 477f4e725c160b3cad3ce8a1cac62238fb808f87
Author: Jia Yu <ji...@apache.org>
AuthorDate: Tue May 25 20:43:39 2021 -0700

    Update coordinates in docs
---
 docs/download/maven-coordinates.md |  4 ++--
 docs/download/overview.md          | 10 +++++-----
 docs/download/publish.md           |  3 ++-
 docs/download/scalashell.md        | 10 +++++-----
 zeppelin/package.json              |  4 ++--
 5 files changed, 16 insertions(+), 15 deletions(-)

diff --git a/docs/download/maven-coordinates.md b/docs/download/maven-coordinates.md
index 81369d8..e8ad079 100644
--- a/docs/download/maven-coordinates.md
+++ b/docs/download/maven-coordinates.md
@@ -47,7 +47,7 @@ Sedona has four modules: `sedona-core, sedona-sql, sedona-viz, sedona-python-ada
 </dependency>
 ```
 
-## GeoTools 24.0
+## GeoTools 24.1
 
 GeoTools library is required only if you want to use CRS transformation and ShapefileReader. This wrapper library is a re-distriution of GeoTools official jars. The only purpose of this library is to bring GeoTools jars from OSGEO repository to Maven Central. This libary is under GNU Lesser General Public License (LGPL) license so we cannot package it in Sedona official release.
 
@@ -56,7 +56,7 @@ GeoTools library is required only if you want to use CRS transformation and Shap
 <dependency>
     <groupId>org.datasyslab</groupId>
     <artifactId>geotools-wrapper</artifactId>
-    <version>geotools-24.0</version>
+    <version>geotools-24.1</version>
 </dependency>
 ```
 
diff --git a/docs/download/overview.md b/docs/download/overview.md
index 2a7b079..40323ad 100644
--- a/docs/download/overview.md
+++ b/docs/download/overview.md
@@ -51,7 +51,7 @@ You need to install necessary packages if your system does not have them install
 
 ### Install sedona
 
-* Installing from PyPi repositories
+* Installing from PyPi repositories. You can find the latest Sedona Python on [PyPi](https://pypi.org/project/apache-sedona/)
 
 ```bash
 pip install apache-sedona
@@ -68,14 +68,14 @@ python3 setup.py install
 
 ### Prepare python-adapter jar
 
-Sedona Python needs one additional jar file called `sedona-python-adapter` to work properly. Please make sure you use the correct version for Spark and Scala. For Spark 3.0 + Scala 2.12, it is called `sedona-python-adapter-3.0_2.12-1.0.0-incubating.jar`
+Sedona Python needs one additional jar file called `sedona-python-adapter` to work properly. Please make sure you use the correct version for Spark and Scala. For Spark 3.0 + Scala 2.12, it is called `sedona-python-adapter-3.0_2.12-1.0.1-incubating.jar`
 
 You can get it using one of the following methods:
 
 1. Compile from the source within main project directory and copy it (in `python-adapter/target` folder) to SPARK_HOME/jars/ folder ([more details](/download/compile/#compile-scala-and-java-source-code))
 
 2. Download from [GitHub release](https://github.com/apache/incubator-sedona/releases) and copy it to SPARK_HOME/jars/ folder
-3. Call the [Maven Central coordinate](../GeoSpark-All-Modules-Maven-Central-Coordinates) in your python program. For example, in PySparkSQL
+3. Call the [Maven Central coordinate](../maven-coordiantes) in your python program. For example, in PySparkSQL
 ```python
 spark = SparkSession. \
     builder. \
@@ -83,8 +83,8 @@ spark = SparkSession. \
     config("spark.serializer", KryoSerializer.getName). \
     config("spark.kryo.registrator", SedonaKryoRegistrator.getName). \
     config('spark.jars.packages',
-           'org.apache.sedona:sedona-python-adapter-3.0_2.12:1.0.0-incubating,'
-           'org.datasyslab:geotools-wrapper:geotools-24.0'). \
+           'org.apache.sedona:sedona-python-adapter-3.0_2.12:1.0.1-incubating,'
+           'org.datasyslab:geotools-wrapper:geotools-24.1'). \
     getOrCreate()
 ```
 
diff --git a/docs/download/publish.md b/docs/download/publish.md
index 9bb58fc..0ae196e 100644
--- a/docs/download/publish.md
+++ b/docs/download/publish.md
@@ -147,7 +147,8 @@ If a vote failed, please first drop the staging repo on `repository.apache.org`.
 1. Move all files in https://dist.apache.org/repos/dist/dev/incubator/sedona to https://dist.apache.org/repos/dist/release/incubator/sedona, using svn
 2. Create a GitHub release. Please follow the template: https://github.com/apache/incubator-sedona/releases/tag/sedona-1.0.0-incubating
 3. Publish Python project to PyPi using twine. You must have the maintainer priviledge of https://pypi.org/project/apache-sedona/. Then please setup your token and run `python3 setup.py sdist bdist_wheel` and `twine upload dist/*` in the `incubator-sedona/python` directory.
-4. Close the staging repo on https://repository.apache.org. If the staging repo has been automatically closed by the system, please read ==Use Maven Release Plugin directly from an existing tag== above.
+4. Publish Sedona-Zeppelin (a node.js package) on NPM. Run `npm publish` in the `zeppelin` directory.
+5. Close the staging repo on https://repository.apache.org. If the staging repo has been automatically closed by the system, please read ==Use Maven Release Plugin directly from an existing tag== above.
 
 #### Fix the error when close the staged repo
 
diff --git a/docs/download/scalashell.md b/docs/download/scalashell.md
index b16c62f..3250001 100644
--- a/docs/download/scalashell.md
+++ b/docs/download/scalashell.md
@@ -12,12 +12,12 @@ Spark distribution provides an interactive Scala shell that allows a user to exe
 
 * Local mode: test Sedona without setting up a cluster
 ```
-./bin/spark-shell --packages org.apache.sedona:sedona-core-3.0_2.12:1.0.0-incubating,org.apache.sedona:sedona-sql-3.0_2.12:1.0.0-incubating,org.apache.sedona:sedona-viz-3.0_2.12:1.0.0-incubating
+./bin/spark-shell --packages org.apache.sedona:sedona-core-3.0_2.12:1.0.1-incubating,org.apache.sedona:sedona-sql-3.0_2.12:1.0.1-incubating,org.apache.sedona:sedona-viz-3.0_2.12:1.0.1-incubating
 ```
   
-* Cluster mode: you 1.0.0-incubatingneed to specify Spark Master IP
+* Cluster mode: you need to specify Spark Master IP
 ```
-./bin/spark-shell --master spark://localhost:7077 --packages org.apache.sedona:sedona-core-3.0_2.12:1.0.0-incubating,org.apache.sedona:sedona-sql-3.0_2.12:1.0.0-incubating,org.apache.sedona:sedona-viz-3.0_2.12:1.0.0-incubating
+./bin/spark-shell --master spark://localhost:7077 --packages org.apache.sedona:sedona-core-3.0_2.12:1.0.1-incubating,org.apache.sedona:sedona-sql-3.0_2.12:1.0.1-incubating,org.apache.sedona:sedona-viz-3.0_2.12:1.0.1-incubating
 ```
   
 ## Download Sedona jar manually
@@ -33,10 +33,10 @@ Spark distribution provides an interactive Scala shell that allows a user to exe
  
 * Local mode: test Sedona without setting up a cluster
 ```
-./bin/spark-shell --jars sedona-core-3.0_2.12-1.0.0-incubating.jar,sedona-sql-3.0_2.12-1.0.0-incubating.jar,sedona-viz-3.0_2.12-1.0.0-incubating.jar
+./bin/spark-shell --jars sedona-core-3.0_2.12-1.0.1-incubating.jar,sedona-sql-3.0_2.12-1.0.1-incubating.jar,sedona-viz-3.0_2.12-1.0.1-incubating.jar
 ```
   
 * Cluster mode: you need to specify Spark Master IP  
 ```
-./bin/spark-shell --master spark://localhost:7077 --jars sedona-core-3.0_2.12-1.0.0-incubating.jar,sedona-sql-3.0_2.12-1.0.0-incubating.jar,sedona-viz-3.0_2.12-1.0.0-incubating.jar
+./bin/spark-shell --master spark://localhost:7077 --jars sedona-core-3.0_2.12-1.0.1-incubating.jar,sedona-sql-3.0_2.12-1.0.1-incubating.jar,sedona-viz-3.0_2.12-1.0.1-incubating.jar
 ```
diff --git a/zeppelin/package.json b/zeppelin/package.json
index 41c079d..b51f792 100644
--- a/zeppelin/package.json
+++ b/zeppelin/package.json
@@ -1,8 +1,8 @@
 {
-  "name": "sedona-zeppelin",
+  "name": "apache-sedona",
   "description": "Zeppelin visualization support for Sedona",
   "author": "Apache Sedona, original authors are listed on https://github.com/myuwono/zeppelin-leaflet",
-  "version": "1.0.1",
+  "version": "1.0.1-incubating",
   "main": "index.js",
   "scripts": {
     "test": "echo \"Error: no test specified\" && exit 1",