You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sedona.apache.org by "Jia Yu (Jira)" <ji...@apache.org> on 2023/01/30 21:31:00 UTC
[jira] [Created] (SEDONA-235) Create ST_S2_CellId in Sedona
Jia Yu created SEDONA-235:
-----------------------------
Summary: Create ST_S2_CellId in Sedona
Key: SEDONA-235
URL: https://issues.apache.org/jira/browse/SEDONA-235
Project: Apache Sedona
Issue Type: New Feature
Reporter: Jia Yu
Assignee: Zongsi Zhang
This feature will be mainly used for performing spatial join.
Given a specific resolution, ST_S2_CellId on each geometry will yield different results
# Point / MultiPoint: generate a cell id for each point
# Polygon / MultiPolygon: generate an array of ids. These cells should fully cover the exact shapes of these polygons - Or, at least the MBRs of these polygons.
# LineString / MultiLineString: generate an array of ids. These cells should fully cover the exact shapes of these LineStrings - Or, at least the MBRs of these LineStrings.
# GeometryCollection: for each geometry inside, choose the corresponding solution above.
XYZM handling: only deal with XY, ignoring Z and M
Null safety: produce a null given a null geometry input.
The PR should demonstrate how to run spatial join using S2 ids and produce accurate results.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)