Changes between Version 2 and Version 5 of Ticket #5580
- Timestamp:
- 10/19/23 23:29:11 (17 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5580
- Property Summary When encounting an empty geometry, potential bug in the ST_3DIntersects function → ST_3DIntersects fails when encouting a GEOMETRYCOLLECTION with an empty geometry
-
Ticket #5580 – Description
v2 v5 6 6 FROM ST_GeomFromText('GEOMETRYCOLLECTION(POINT EMPTY, POINT (0 0))') As a1 7 7 , ST_GeomFromText('POINT (0 0)') As a2; 8 --ex cepted{t}8 --expected{t} 9 9 }}} 10 10 When 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. … … 16 16 FROM ST_GeomFromText('GEOMETRYCOLLECTION Z (POINT Z EMPTY, POINT Z (0 0 0))') As a1 17 17 , ST_GeomFromText('POINT Z (0 0 0)') As a2; 18 --ex cepted{t}; actual{f}18 --expected{t}; actual{f} 19 19 }}} 20 20 POINT Z (0 0 0) is the two geometries' intersection. So the excepted result of 3DIntersects is true.