[PostGIS] #5630: CG_Visibility crash

PostGIS trac at osgeo.org
Thu Apr 24 22:35:55 PDT 2025


#5630: CG_Visibility crash
----------------------+-----------------------------
  Reporter:  robe     |      Owner:  Loïc Bartoletti
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS SFCGAL
 Component:  sfcgal   |    Version:  master
Resolution:           |   Keywords:
----------------------+-----------------------------
Comment (by Loïc Bartoletti):

 Fixed in https://gitlab.com/sfcgal/SFCGAL/-/merge_requests/297


 {{{
 gis=# SELECT CG_Visibility('POLYGON((24.2222222 40,24.183792760806462
 39.609819355967744,24.069981265022573 39.23463313526982,23.88516142460509
 38.8888595339608,23.636435762373097 38.58578643762691,23.333362666039207
 38.33706077539491,22.98758906473018 38.15224093497743,
 22.612402844032257 38.038429439193536,22.2222222 38,21.832041555967745
 38.038429439193536,21.45685533526982 38.15224093497743,21.1110817339608
 38.33706077539491,20.808008637626905 38.58578643762691,20.55928297539491
 38.8888595339608,20.37446313497743 39.23463313526982,
 20.26065163919354 39.609819355967744,20.2222222 40,20.26065163919354
 40.390180644032256,20.37446313497743 40.76536686473018,20.55928297539491
 41.1111404660392,20.808008637626905 41.41421356237309,21.111081733960795
 41.66293922460509,21.45685533526982 41.84775906502257,21.832041555967745
 41.96157056080646,22.2222222 42,
 22.612402844032257 41.961570560806464,
 22.98758906473018 41.84775906502257,
 23.333362666039204 41.66293922460509,23.636435762373097 41.41421356237309
 ,23.88516142460509 41.1111404660392
 ,24.069981265022573 40.76536686473018
 ,24.183792760806462 40.390180644032256,24.2222222 40))'::geometry
 ,       'POINT Z (-10 60 1)'::geometry)
 gis-# ;
 NOTICE:  During visibility(A, B) :
 NOTICE:    with A: POLYGON ((6817949429625335/281474976710656
 40/1,3403566252061665/140737488355328
 1393646622591789/35184372088832,6775097415998155/281474976710656
 2760891862000301/70368744177664,6723075255720977/281474976710656
 2736560207906397/70368744177664,1663266301434221/70368744177664
 2715233334723345/70368744177664,1641939428251169/70368744177664
 5395461644454643/140737488355328,3235215548314529/140737488355328
 2684725282158027/70368744177664,6364825563895951/281474976710656
 2676716510126733/70368744177664,6254999476204023/281474976710656
 38/1,6145173388512095/281474976710656
 2676716510126733/70368744177664,1509891963944747/70368744177664
 2684725282158027/70368744177664,5942241239403371/281474976710656
 5395461644454643/140737488355328,2928466873335581/140737488355328
 2715233334723345/70368744177664,5786923696687069/281474976710656
 2736560207906397/70368744177664,5734901536409891/281474976710656
 2760891862000301/70368744177664,1425716612071179/70368744177664
 1393646622591789/35184372088832,5692049522782711/281474976710656
 40/1,1425716612071179/70368744177664
 1421103144514771/35184372088832,5734901536409891/281474976710656
 2868607672212819/70368744177664,5786923696687069/281474976710656
 2892939326306723/70368744177664,2928466873335581/140737488355328
 2914266199489775/70368744177664,2971120619701685/140737488355328
 5863537423971597/140737488355328,1509891963944747/70368744177664
 2944774252055093/70368744177664,6145173388512095/281474976710656
 5905566048172773/140737488355328,6254999476204023/281474976710656
 42/1,6364825563895951/281474976710656
 2952783024086387/70368744177664,3235215548314529/140737488355328
 2944774252055093/70368744177664,6567757713004675/281474976710656
 5863537423971597/140737488355328,1663266301434221/70368744177664
 2914266199489775/70368744177664,6723075255720977/281474976710656
 2892939326306723/70368744177664,6775097415998155/281474976710656
 2868607672212819/70368744177664,3403566252061665/140737488355328
 1421103144514771/35184372088832,6817949429625335/281474976710656 40/1))
 NOTICE:    and B: POINT Z (-10/1 60/1 1/1)
 ERROR:  Can not find corresponding face.
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5630#comment:3>
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