Jia Yu created SEDONA-349:
-----------------------------
Summary: Drop the support of typed RDDs
Key: SEDONA-349
URL: https://issues.apache.org/jira/browse/SEDONA-349
Project: Apache Sedona
Issue Type: Task
Reporter: Jia Yu
Types RDDs in Sedona, including PointRDD/PolygonRDD/RectangleRDD/LineStringRDD
were introduced in GeoSpark 0.1.
I propose to remove these RDDs.
1. These typed RDDs are not well designed. For example, they cannot handle
GeometryCollections, Multi-XXX objects. They also do not support a dataset that
has geometries with mixed types.
2. These code hasn't been touched for a very long time and most people use
Sedona SQL API + Sedona generic RDD which is SpatialRDD.
3. The existence of these RDDs make the code maintenance hard especially it
involves numerous CRS transform API in the tests and we plan to switch the
lat/lon order to lon/lat.
4. We already have good replacement methods for these RDDs. Users can easily
create a SpatialRDD using WKBReader, WKTReader, GeoJSONreader, ShapefileReader.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)