Ticket #289 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

ST_OrderingEquals returning true for mis-ordered multipoints

Reported by: pramsey Owned by: pramsey
Priority: medium Milestone: PostGIS 1.5.0
Component: postgis Version: trunk
Keywords: Cc:

Description

This query seems wrong on the face:

select '69a',st_orderingequals('MULTIPOINT(2 2, 1 1)'::GEOMETRY,'MULTIPOINT(1 1,2 2)'::GEOMETRY) as bool;

Returns true but should return false? This was/is actually part of the old regression suite for ~= operator (now changed to _st_orderingequals()) and expected the "wrong" answer (true) there too.

Change History

Changed 3 years ago by pramsey

  • status changed from new to closed
  • resolution set to fixed

Updated behavior of lwgeom_same to match "orderingequals" semantics in trunk r4789

Note: See TracTickets for help on using tickets.