Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#3774 closed defect (fixed)

st_length on compound curve is on linearized geometry

Reported by: strk Owned by: pramsey
Priority: medium Milestone: PostGIS 2.1.9
Component: postgis Version: 2.3.x
Keywords: Cc: mjurce

Description

Reading the code I found that lwcompound_length, which is called by lwgeom_length, in turn called by ST_Length, is using a lineraized curve to compute the length.

This is an inconsistency with changes made in 2.1 from fixing #2463

I dunno how much back we want to go with fixing this last mile.

Change History (9)

comment:1 by pramsey, 7 years ago

Code in trunk at r3774, need a test, and then backport

Version 0, edited 7 years ago by pramsey (next)

comment:2 by pramsey, 7 years ago

In 15755:

Add regression test for trigonometric length calculation
for compoundcurve (references #3774)

comment:3 by pramsey, 7 years ago

In 15756:

Trig length calculation for compoundcurve in 2.3 branch (references #3774)

comment:4 by pramsey, 7 years ago

In 15757:

Trig length calculation for compound curve in 2.2 (references #3774)

comment:5 by pramsey, 7 years ago

In 15758:

Trig length calculation for compoundcurve (references #3774)

comment:6 by pramsey, 7 years ago

Resolution: fixed
Status: assignedclosed

comment:7 by pramsey, 7 years ago

In 15759:

Added news entry (references #3774)

comment:8 by pramsey, 7 years ago

In 15760:

Added NEWS entry (references #3774)

comment:9 by pramsey, 7 years ago

In 15761:

Added NEWS entry (references #3774)

Note: See TracTickets for help on using tickets.