[postgis-tickets] [PostGIS] #5144: 3d intersects in postgis hangs on simple polyhedron

PostGIS trac at osgeo.org
Wed Jun 15 14:34:49 PDT 2022


#5144: 3d intersects in postgis hangs on simple polyhedron
--------------------------+---------------------------
  Reporter:  lbartoletti  |      Owner:  pramsey
      Type:  defect       |     Status:  new
  Priority:  medium       |  Milestone:  PostGIS 3.2.2
 Component:  postgis      |    Version:  3.2.x
Resolution:               |   Keywords:
--------------------------+---------------------------
Comment (by robe):

 This appears to be still an issue with GEOS 3.11.  I think ST_3DIntersects
 is completely native  PostGIS / GEOS now.

 -- this returns false
 {{{
 SELECT ST_3DIntersects('POINT(0 0.5 0.5)'::geometry, 'POLYHEDRALSURFACE Z
 (((2 0.5 0.5, 0 0 1, 0 0 0, 2 0.5 0.5)), ((2 0.5 0.5, 0 1 1, 0 0 1, 2 0.5
 0.5)), ((2 0.5 0.5, 0 1 0, 0 1 1, 2 0.5 0.5)), ((2 0.5 0.5, 0 0 0, 0 1 0,
 2 0.5 0.5)), ((0 0 0, 0 0 1, 0 1 1, 0 1 0, 0 0 0)))'::geometry)
 }}}

 -- this goes on forever


 {{{
 SELECT ST_3DIntersects('POINT(0 0.5 0.5)'::geometry,
 ST_MakeSolid('POLYHEDRALSURFACE Z (((2 0.5 0.5, 0 0 1, 0 0 0, 2 0.5 0.5)),
 ((2 0.5 0.5, 0 1 1, 0 0 1, 2 0.5 0.5)), ((2 0.5 0.5, 0 1 0, 0 1 1, 2 0.5
 0.5)), ((2 0.5 0.5, 0 0 0, 0 1 0, 2 0.5 0.5)), ((0 0 0, 0 0 1, 0 1 1, 0 1
 0, 0 0 0)))'::geometry) );
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5144#comment:7>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list