Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix issue #1191: LineString::getPointN loses 'm' dimension in GEOSGeomGetEndPoint #1192

Closed
wants to merge 1 commit into from

Conversation

hsieyuan
Copy link

This PR fixes the bug where the 'm' dimension is lost when calling GEOSGeomGetEndPoint on a LineString. The issue was caused by incorrect usage of the template instantiation for the coordinates of getAt() when retrieving the n-index point.

Changes include:

  • Fixed the usage of the template instantiation in LineString::getPointN to preserve the 'm' dimension.

Fixes #1191.

Fix the bug in LineString::getPointN, which causes the output point of GEOSGeomGetEndPoint loses the 'm' dimension
@pramsey pramsey closed this Nov 15, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants