Kontinuation commented on issue #2120:
URL: https://github.com/apache/sedona/issues/2120#issuecomment-3091504713
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
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)>
```
--
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]