libgeos / geos

Geometry Engine, Open Source
https://libgeos.org
GNU Lesser General Public License v2.1
1.1k stars 339 forks source link

GEOSDensify: Interpolate Z coordinate #1094

Closed vadimcn closed 2 weeks ago

vadimcn commented 3 weeks ago

New vertices created by GEOSDensify set Z coordinate to NAN, even if the original geometry has a valid Z. This PR resolves the issue.

dbaston commented 2 weeks ago

Can you please list this under "Fixes/Improvements" in NEWS.md ?

dr-jts commented 2 weeks ago

Can you please list this under "Fixes/Improvements" in NEWS.md ?

I usually keep NEWS updates separate from PRs, to allow easy cherry-picking backwards.

dbaston commented 2 weeks ago

I usually keep NEWS updates separate from PRs, to allow easy cherry-picking backwards.

It can be a separate commit (although I don't plan to backport this), but if @vadimcn wants the changes credited to their name, I'll need them to put it in the NEWS file.