Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#3573 closed defect (fixed)

Operator <<->> incorrectly calculates m distance — at Version 2

Reported by: dbaston Owned by: pramsey
Priority: medium Milestone: PostGIS 2.4.0
Component: postgis Version: 2.2.x
Keywords: Cc:

Description (last modified by dbaston)

When computing the m-distance between points and lines, the m ordinate of the first geometry is ignored.

SELECT 'POINT M (0 0 100000)'::geometry <<->> 'LINESTRING M (0 0 5, 0 1 6)'::geometry AS dist;
 dist 
------
    5


SELECT 'POINT M (0 0 1e9)'::geometry <<->> 'LINESTRING M (0 0 5, 0 1 6)'::geometry AS dist;
 dist 
------
    5

Change History (2)

comment:1 by dbaston, 8 years ago

Resolution: fixed
Status: newclosed

Corrected in trunk at r14939, 2.2 at r14940

comment:2 by dbaston, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.