osrd icon indicating copy to clipboard operation
osrd copied to clipboard

LineString interpolation differs between the front and the back

Open flomonster opened this issue 1 year ago • 0 comments

Describe the bug

The along function provided by turf give different results than ST_LineInterpolatePoint function provided by postgis

What was tried

  • With a simple linestring the results are the same
  • With a complex linestring both results are realistic but quite different (80m)
  • The length computed by both libraries are the same
  • Libraries might not use the same projection space

flomonster avatar Aug 26 '22 08:08 flomonster