Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#4153 closed defect (fixed)

Make ST_Segmentize split longer segments proportionally

Reported by: komzpa Owned by: komzpa
Priority: medium Milestone: PostGIS 3.0.0
Component: postgis Version: master
Keywords: Cc:

Description


Change History (2)

comment:1 by komzpa, 6 years ago

Resolution: fixed
Status: assignedclosed

In 16701:

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

comment:2 by algunenano, 6 years ago

In 16723:

Fix undefined behaviour in ptarray_segmentize2d

Closes #4173
References #4153
Closes https://github.com/postgis/postgis/pull/292

Note: See TracTickets for help on using tickets.