ST_Segmentize: split geometry proportionally.
This helps avoid situations when 52 meter long segment is split into 50 and 2 meter long ones, and split into 26 and 26 meter long ones. It is crucial for good interpolating M and Z values. Thanks Andrew Shadoura for supporting me on Patreon: https://www.patreon.com/komzpa Closes https://github.com/postgis/postgis/pull/287 Closes #4153 git-svn-id: http://svn.osgeo.org/postgis/trunk@16701 b70326c6-7e19-0410-871a-916f4a2858ee
Showing with 36 additions and 24 deletions