petern48 commented on issue #2120:
URL: https://github.com/apache/sedona/issues/2120#issuecomment-3091510426
> The best thing we can do is to serialize it as a LineString. The
LinearRing type won't be preserved after a serde roundtrip.
>
> The same thing happens when serializing a LinearRing as WKB and then
deserialize it:
>
> ```python
> import shapely.wkb
> import shapely.wkt
> l = shapely.wkt.loads("LINEARRING(1 2, 3 4, 5 6, 1 2)")
> shapely.wkb.loads(shapely.wkb.dumps(l)) # --> <LINESTRING (1 2, 3 4, 5 6,
1 2)>
> ```
Sounds good. Not the most pressing issue for me, but I'll take a look into
this soon. Seems like it should be a fairly simple fix
--
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]