Closed nicolas-f closed 2 years ago
Thanks @nicolas-f It seems a bug on JTS that doesn't interpolate the z value and create coordinate with NaN. H2 has a restrictive test on coordinate dimension and it doesn't support MULTILINESTRING Z with NaN z You can push an issue on JTS
I could make a PR for JTS. But what to do ?
Interpolate Z but keeping a 2D distance between points ? Or convert the input/output into 2D points ?
One way will be to talk with @dr-jts
Could do that https://github.com/nicolas-f/jts/commit/65f840f3733e697a29cfdd7594c92d0be2c51b27 Could also change pointAlong instead but there would be side-effect on libraries ?
Could do that nicolas-f/jts@65f840f
This looks good to me. Want to make a JTS PR?
@nicolas-f green flag from @dr-jts @nicolas-f You are right about pointAlong. There will certainly be other functions to check ;-)
Fixed with JTS 1.19.0 @nicolas-f
When running this:
I got this: