Changes between Initial Version and Version 1 of Ticket #5580
- Timestamp:
- 10/18/23 21:10:48 (14 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5580
- Property Priority medium → high
-
Ticket #5580 – Description
initial v1 1 1 Consider this query: 2 2 3 {{{ 4 SELECT 5 ST_Intersects(a1, a2) 6 FROM ST_GeomFromText('GEOMETRYCOLLECTION(POINT EMPTY, POINT (0 0))') As a1 7 , ST_GeomFromText('POINT (0 0)') As a2; 8 --excepted{t} 9 }}} 10 When using the 2D Intersects function in this situation, the expected result is true and PostGIS returns true. 11 12 But consider its 3D version: 3 13 {{{ 4 14 SELECT … … 12 22 But the 3DIntersects function doesn't consider they intersect only when inserting an empty geometry before this point. 13 23 14 Moreover, using the 2D Intersects function in this situation, we can get the expected result that they intersect.