-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with RayCrossingCounter and coordinates with Measures #581
Comments
What previous bug report? |
I added a PR with a test building a 4D XYZM CoordinateSequence which makes RayCrossingCounter#locatePointInRing fail |
Signed-off-by: mukoki <[email protected]>
Signed-off-by: mukoki <[email protected]>
Fixed by #589 |
Some algo may fail with coordinates with measures.
For example, with RayCrossingCounter.locatePointInRing(coord, coordSequence)
If CoordinateSequence is
dim = 4, measures = 0 (see previous bug report) : OK
dim = 4, measures = 1 (normal XYZM coordinate) : throws exception at ring.getCoordinate(i, p1)
Problem is that RayCrossingCounter.locatePointInRing tries to set the M of the XYZM coordinate to a default 3D Coordinate without M initialized in the method. I suppose XYM coordinates has the same problem in this case.
The text was updated successfully, but these errors were encountered: