Opened 8 years ago

Last modified 7 years ago

#3573 closed defect

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

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

Description

When computing the m-distance between a point and a line, the m ordinate of the point 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 (0)

Note: See TracTickets for help on using tickets.