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 0861db9f [DOCS] Update Sedona Visualization docs to include note for
single geometry column (#929)
0861db9f is described below
commit 0861db9f4f149800e3b72b50ac6c126b1507c93a
Author: Nilesh Gajwani <[email protected]>
AuthorDate: Fri Jul 28 00:26:00 2023 -0700
[DOCS] Update Sedona Visualization docs to include note for single geometry
column (#929)
---
docs/tutorial/sql.md | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/docs/tutorial/sql.md b/docs/tutorial/sql.md
index 5e1093e9..1f87c728 100644
--- a/docs/tutorial/sql.md
+++ b/docs/tutorial/sql.md
@@ -512,11 +512,21 @@ Sedona provides `SedonaPyDeck` and `SedonaKepler`
wrappers, both of which expose
!!!Note
Both SedonaPyDeck and SedonaKepler expect the default geometry order to
be lon-lat. If your dataframe has geometries in the lat-lon order, please check
out
[ST_FlipCoordinates](https://sedona.apache.org/latest-snapshot/api/sql/Function/#st_flipcoordinates)
+!!!Note
+ Both SedonaPyDeck and SedonaKepler are designed to work with
SedonaDataFrames containing only 1 geometry column. Passing dataframes with
multiple geometry columns will cause errors.
+
### SedonaPyDeck
Spatial query results can be visualized in Jupyter lab/notebook using
SedonaPyDeck.
SedonaPyDeck exposes APIs to create interactive map visualizations using
[pydeck](https://pydeck.gl/index.html#) based on [deck.gl](https://deck.gl/)
+!!!Note
+ To use SedonaPyDeck, GeoPandas and PyDeck must be installed. We
recommend the following installation commands:
+ ```
+ pip install 'pandas<=1.3.5'
+ pip install 'geopandas<=0.10.2'
+ pip install pydeck==0.8.0
+ ```
#### Creating a Choropleth map using SedonaPyDeck
@@ -609,11 +619,18 @@ More details on the parameters and their default values
can be found on the pyde
### SedonaKepler
-
Spatial query results can be visualized in Jupyter lab/notebook using
SedonaKepler.
SedonaKepler exposes APIs to create interactive and customizable map
visualizations using [KeplerGl](https://kepler.gl/).
+!!!Note
+ To use SedonaKepler, GeoPandas and KeplerGL must be installed. We
recommend the following installation commands:
+ ```
+ pip install 'pandas<=1.3.5'
+ pip install 'geopandas<=0.10.2'
+ pip install keplergl==0.3.2
+ ```
+
#### Creating a map object using SedonaKepler.create_map
SedonaKepler exposes a create_map API with the following signature: