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

PostGIS trac at osgeo.org
Tue May 3 23:44:16 PDT 2022


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

Comment (by lbartoletti):

 BTW, it's ok on pure SFCGAL side (c++ and python):

 Python example:

 {{{
 import pysfcgal.sfcgal as sfcgal
 geom = sfcgal.read_wkt('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)))')
 geom_p = sfcgal.read_wkt('POINT( 0 0.5 0.5 )')
 geom_p.intersects_3d(geom)
 # True
 geom.intersects_3d(geom_p)
 # True
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5144#comment:2>
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