paleolimbot commented on issue #822:
URL: https://github.com/apache/sedona-db/issues/822#issuecomment-4393776945
For ST_Simplify, ZM behaviour when simplification occurs may not be correct:
```python
# Linestring with Z: large tolerance removes intermediate vertex
pytest.param(
"LINESTRING Z (0 0 100, 5 1 150, 10 0 200)",
200000.0,
"LINESTRING Z (0 0 100, 10 0 200)",
id="linestring_z_simplify",
),
# Linestring with M: large tolerance removes intermediate vertex
pytest.param(
"LINESTRING M (0 0 100, 5 1 150, 10 0 200)",
200000.0,
"LINESTRING M (0 0 100, 10 0 200)",
id="linestring_m_simplify",
),
# Linestring with ZM: large tolerance removes intermediate vertex
pytest.param(
"LINESTRING ZM (0 0 100 1000, 5 1 150 1500, 10 0 200 2000)",
200000.0,
"LINESTRING ZM (0 0 100 1000, 10 0 200 2000)",
id="linestring_zm_simplify",
),
```
--
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]