You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sedona.apache.org by zo...@apache.org on 2023/02/19 13:04:12 UTC

[sedona] branch feature/google-s2 updated (ac000068 -> cbd4a3b3)

This is an automated email from the ASF dual-hosted git repository.

zongsizhang pushed a change to branch feature/google-s2
in repository https://gitbox.apache.org/repos/asf/sedona.git


    from ac000068 add flink function and test case as example
     add 15051ef8 [SEDONA-236] Fix flaky python tests related to converting GeoPandas DataFrames to Spark DataFrames (#753)
     add 8848a017 [SEDONA-179] Claim OGC compliance (#755)
     add 393f5d78 [DOCS] fix spelling (#756)
     add dfd90b93 [DOCS] Fix broken links, spelling and whitespace (#757)
     add 0dc50be5 [DOCS] Fix spelling in Markdown and Python files (#758)
     add d9a98b2b [DOCS] Fix spelling (#759)
     add ca8fb3f0 [DOCS] Fix spelling (#760)
     add 73e26fb0 [DOCS] Fix spelling (#761)
     add 43202990 [DOCS] Markdown: Standardize code block linguist languages (#763)
     add 06453275 [DOCS] Fix spelling (#765)
     add a78b82ca [SEDONA-207] Fix ambiguity of empty multi-geometries and multi geometries containing only empty geometries (#766)
     add 63d3140d [SEDONA-199] Update documentation for ST_NDims as it now supports M dimension. (#768)
     add b9a1b91d [SEDONA-242] R: Update dependencies + fix failing test (#769)
     add 9fdab1ef [SEDONA-227] Implemented Python geometry serializer as a native extension (#767)
     add d7b3bc27 [SEDONA-226] Replace AnalysisException with IllegalArgumentException in GeoParquet reader since AnalysisException has breaking ABI changes between Spark 3.0 and 3.3 (#771)
     add 28ea2d96 [SEDONA-243] R features: read/write geoparquet, get names from shapefiles (#770)
     add 2882313b [SEDONA-249] Add jvm flags for running tests on Java 17 (#772)
     add c8257999 add python s2celids function
     add baf73910 Merge branch 'feature/google-s2-python' into feature/google-s2
     add cbd4a3b3 add python function for ST_S2CellIDs

No new revisions were added by this update.

Summary of changes:
 .github/pull_request_template.md                   |   5 +-
 .github/workflows/python-extension.yml             |  55 ++
 .github/workflows/python-wheel.yml                 |  33 +
 .github/workflows/python.yml                       |   3 +-
 R/NAMESPACE                                        |   3 +
 R/R/data_interface.R                               | 121 +++-
 R/R/dependencies.R                                 |   9 +-
 R/R/sdf_interface.R                                |  14 +-
 R/tests/testthat/test-data-interface.R             | 129 +++-
 R/tests/testthat/test-sdf-interface.R              |  46 +-
 R/tests/testthat/test-spatial-queries.R            |   2 +-
 README.md                                          |   2 +-
 binder/ApacheSedonaCore.ipynb                      |  12 +-
 binder/ApacheSedonaRaster.ipynb                    |   8 +-
 .../common/geometrySerde/GeometrySerializer.java   |  55 +-
 .../sedona/common/utils/GeometrySplitter.java      |   4 +-
 .../geometrySerde/GeometryCollectionSerdeTest.java |  18 +-
 .../geometrySerde/MultiLineStringSerdeTest.java    |  16 +
 .../common/geometrySerde/MultiPointSerdeTest.java  |  15 +
 .../geometrySerde/MultiPolygonSerdeTest.java       |  15 +
 .../apache/sedona/core/enums/JoinBuildSide.java    |   2 +-
 .../parseUtils/shp/ShpFileParser.java              |   2 +-
 .../spatialPartitioning/VoronoiPartitioning.java   |   2 +-
 .../apache/sedona/core/spatialRDD/SpatialRDD.java  |   2 +-
 .../geometryObjects/SpatialIndexSerdeTest.java     |   2 +-
 .../sedona/core/spatialOperator/PointJoinTest.java |   6 +-
 .../quadtree/QuadRectangleTest.java                |   2 +-
 .../sedona/core/spatialRDD/GeometryOpTest.java     |   2 +-
 .../sedona/core/utils/CRSTransformationTest.java   |  33 -
 docs-overrides/main.html                           |   2 +-
 docs/api/flink/Aggregator.md                       |   4 +-
 docs/api/flink/Constructor.md                      |  32 +-
 docs/api/flink/Function.md                         | 116 ++--
 docs/api/flink/Predicate.md                        |  16 +-
 docs/api/sql/AggregateFunction.md                  |   6 +-
 docs/api/sql/Constructor.md                        |  46 +-
 docs/api/sql/Function.md                           | 174 ++---
 docs/api/sql/Optimizer.md                          |  16 +-
 docs/api/sql/Overview.md                           |   8 +-
 docs/api/sql/Parameter.md                          |   6 +-
 docs/api/sql/Predicate.md                          |  24 +-
 docs/api/sql/Raster-loader.md                      |  26 +-
 docs/api/sql/Raster-operators.md                   |  46 +-
 docs/api/viz/sql.md                                |  18 +-
 docs/community/contributor.md                      |   2 +-
 docs/community/publish.md                          |   4 +-
 docs/community/rule.md                             |   2 +-
 docs/community/vote.md                             |   2 +-
 docs/setup/databricks.md                           |   4 +-
 docs/setup/install-python.md                       |   4 +-
 docs/setup/install-r.md                            |  10 +-
 docs/setup/install-scala.md                        |   2 +-
 docs/setup/maven-coordinates.md                    |   6 +-
 docs/setup/release-notes.md                        |   4 +-
 .../Advanced-Tutorial-Tune-your-Application.md     |   6 +-
 docs/tutorial/core-python.md                       |   4 +-
 docs/tutorial/flink/sql.md                         |  36 +-
 docs/tutorial/jupyter-notebook.md                  |   2 +-
 docs/tutorial/python-vector-osm.md                 |   2 +-
 docs/tutorial/rdd-r.md                             |   4 +-
 docs/tutorial/rdd.md                               |  88 +--
 docs/tutorial/sql-r.md                             |   8 +-
 docs/tutorial/sql.md                               |  42 +-
 docs/tutorial/viz-r.md                             |   2 +-
 docs/tutorial/viz.md                               |   6 +-
 .../java/org/apache/sedona/flink/FunctionTest.java |   9 +
 .../java/org/apache/sedona/flink/TestBase.java     |   6 +-
 mkdocs.yml                                         |   2 +-
 pom.xml                                            |  23 +
 python/sedona/core/SpatialRDD/spatial_rdd.py       |   2 +-
 python/sedona/sql/dataframe_api.py                 |   2 +-
 python/sedona/sql/st_constructors.py               |   2 +-
 python/sedona/sql/st_functions.py                  |  22 +-
 python/sedona/sql/st_predicates.py                 |   2 +-
 python/sedona/utils/geometry_serde.py              | 595 +++-------------
 ...geometry_serde.py => geometry_serde_general.py} |  41 +-
 python/setup.py                                    |  27 +-
 python/src/geom_buf.c                              | 514 ++++++++++++++
 python/src/geom_buf.h                              | 146 ++++
 python/src/geomserde.c                             | 771 +++++++++++++++++++++
 python/src/geomserde.h                             |  76 ++
 python/src/geomserde_speedup_module.c              | 288 ++++++++
 python/src/geos_c_dyn.c                            | 164 +++++
 python/src/geos_c_dyn.h                            |  91 +++
 python/src/geos_c_dyn_funcs.h                      | 144 ++++
 python/src/pygeos/c_api.h                          |  85 +++
 python/tests/__init__.py                           |   8 +-
 python/tests/core/test_rdd.py                      |   2 +-
 python/tests/serialization/test_deserializers.py   |   2 +
 python/tests/serialization/test_serializers.py     |   2 +
 python/tests/sql/test_dataframe_api.py             |   2 +
 python/tests/sql/test_function.py                  |  14 +
 python/tests/sql/test_geoparquet.py                |   7 +
 python/tests/utils/test_geometry_serde.py          | 191 +++--
 ...geometry_serde.py => test_geomserde_speedup.py} |  37 +-
 .../datasources/parquet/GeoDateTimeUtils.scala     |   2 +-
 .../parquet/GeoParquetSchemaConverter.scala        |  13 +-
 .../sedona_sql/expressions/raster/Functions.scala  |   2 +-
 .../sql/sedona_sql/expressions/st_functions.scala  |   2 +-
 .../org/apache/sedona/sql/adapterTestScala.scala   |   2 +-
 .../apache/sedona/sql/dataFrameAPITestScala.scala  |   2 +-
 .../org/apache/sedona/sql/functionTestScala.scala  |  10 +
 .../ogc/GeometryTypesAndFunctionsTestScala.scala   | 486 ++++++++++++-
 .../org/apache/sedona/sql/ogc/package-info.java    |  11 +-
 104 files changed, 3993 insertions(+), 1212 deletions(-)
 create mode 100644 .github/workflows/python-extension.yml
 create mode 100644 .github/workflows/python-wheel.yml
 copy python/sedona/utils/{geometry_serde.py => geometry_serde_general.py} (96%)
 create mode 100644 python/src/geom_buf.c
 create mode 100644 python/src/geom_buf.h
 create mode 100644 python/src/geomserde.c
 create mode 100644 python/src/geomserde.h
 create mode 100644 python/src/geomserde_speedup_module.c
 create mode 100644 python/src/geos_c_dyn.c
 create mode 100644 python/src/geos_c_dyn.h
 create mode 100644 python/src/geos_c_dyn_funcs.h
 create mode 100644 python/src/pygeos/c_api.h
 copy python/tests/utils/{test_geometry_serde.py => test_geomserde_speedup.py} (74%)
 copy viz/src/main/scala/org/apache/sedona/viz/sql/utils/Conf.scala => sql/src/test/scala/org/apache/sedona/sql/ogc/package-info.java (82%)