Changes between Version 2 and Version 5 of Ticket #5580


Ignore:
Timestamp:
Oct 19, 2023, 11:29:11 PM (7 months ago)
Author:
Wenjing
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5580

    • Property Summary When encounting an empty geometry, potential bug in the ST_3DIntersects functionST_3DIntersects fails when encouting a GEOMETRYCOLLECTION with an empty geometry
  • Ticket #5580 – Description

    v2 v5  
    66FROM ST_GeomFromText('GEOMETRYCOLLECTION(POINT EMPTY, POINT (0 0))') As a1
    77, ST_GeomFromText('POINT (0 0)') As a2;
    8 --excepted{t}
     8--expected{t}
    99}}}
    1010When using the 2D Intersects function in this situation, the expected result is true because POINT(0 0) is the two geometries' intersection. PostGIS returns true.
     
    1616FROM ST_GeomFromText('GEOMETRYCOLLECTION Z (POINT Z EMPTY, POINT Z (0 0 0))') As a1
    1717, ST_GeomFromText('POINT Z (0 0 0)') As a2;
    18 --excepted{t}; actual{f}
     18--expected{t}; actual{f}
    1919}}}
    2020POINT Z (0 0 0) is the two geometries' intersection. So the excepted result of 3DIntersects is true.