[x] I added an entry to CHANGES.md if knowledge of this change could be valuable to users.
Floating point strikes again.
When line segmentizing very small distances n - 1 linestrings are returned. This is, of course, due to floating point precision. The solution is to reduce the distance between densified points by f64::EPSILON.
[x] I added an entry to
CHANGES.md
if knowledge of this change could be valuable to users.When line segmentizing very small distances n - 1 linestrings are returned. This is, of course, due to floating point precision. The solution is to reduce the distance between densified points by
f64::EPSILON
.Fixes https://github.com/ropensci/stplanr/issues/552 and https://github.com/JosiahParry/rsgeo/issues/34