Details
-
New Feature
-
Status: Resolved
-
High
-
Resolution: Fixed
-
None
Description
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.
Attachments
Issue Links
- links to