Opened 5 years ago

Last modified 4 years ago

#4565 new enhancement

ST_AddMeasure uses cartesian distances in all SRIDs

Reported by: davidsmith9 Owned by: pramsey
Priority: medium Milestone: PostGIS Fund Me
Component: postgis Version: master
Keywords: Cc:

Description

The ST_AddMeasure function uses Pythagoras to calculate the distance between linestring points, even in geodetic SRIDs (e.g. 4326). This leads to incorrect distribution of measures. The function could use PostGIS's own ST_Distance code or have a geography based version

Change History (2)

comment:1 by Algunenano, 5 years ago

Milestone: PostGIS 2.5.4PostGIS 3.1.0
Type: defectenhancement
Version: 2.5.xtrunk

comment:2 by pramsey, 4 years ago

Milestone: PostGIS 3.1.0PostGIS Fund Me
Note: See TracTickets for help on using tickets.