ZhuochengShang commented on code in PR #2257:
URL: https://github.com/apache/sedona/pull/2257#discussion_r2265043944
##########
common/src/main/java/org/apache/sedona/common/S2Geography/Geography.java:
##########
@@ -66,7 +66,8 @@ public enum GeographyKind {
ENCODED_SHAPE_INDEX(6),
CELL_CENTER(7),
SINGLEPOINT(8),
- SINGLEPOLYLINE(9);
+ SINGLEPOLYLINE(9),
+ MULTIPOLYGON(10);
Review Comment:
This is causing a issue when I was verifies the DataFrame API for reading
from WKB and outputting as a string.
Currently, a MultiPolygon is assigned the GeoCollection kind, so the WKT
output is returned as "GEOCOLLECTION" instead of "MULTIPOLYGON".
The goal is to ensure that when reading WKB and calling toString() for WKT,
the output uses the correct type format.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]