[postgis-tickets] [PostGIS] #3153: garden Crash in ST_3DArea in sfcgal

PostGIS trac at osgeo.org
Wed Aug 26 13:19:57 PDT 2015


#3153: garden Crash in ST_3DArea in sfcgal
----------------------+----------------------------
  Reporter:  robe     |      Owner:  colivier
      Type:  defect   |     Status:  closed
  Priority:  blocker  |  Milestone:  PostGIS SFCGAL
 Component:  sfcgal   |    Version:  trunk
Resolution:  fixed    |   Keywords:
----------------------+----------------------------
Changes (by robe):

 * status:  new => closed
 * resolution:   => fixed
 * milestone:  PostGIS 2.2.0 => PostGIS SFCGAL


Comment:

 I retested this with SFCGAL 1.2.0 (not yet released ) and doesn't crash
 anymore just errors -- so gives this:


 {{{
 NOTICE:  During area_3d(A) :
 NOTICE:    with A: MULTIPOLYGON(((0/1 0/1,10/1 0/1,10/1 10/1,0/1 10/1,0/1
 0/1),(5/1 5/1,7/1 5/1,7/1 7/1,5/1 7/1,5/1 5/1)))


 ERROR:  When converting to 3D - MultiPolygon is invalid : Polygon 0 is
 invalid: interior ring 0 is oriented in the same direction as exterior
 ring : MULTIPOLYGON(((0/1 0/1 0/1,10/1 0/1 0/1,10/1 10/1 0/1,0/1 10/1
 0/1,0/1 0/1 0/1),(5/1 5/1 0/1,7/1 5/1 0/1,7/1 7/1 0
 ********** Error **********

 ERROR: When converting to 3D - MultiPolygon is invalid : Polygon 0 is
 invalid: interior ring 0 is oriented in the same direction as exterior
 ring : MULTIPOLYGON(((0/1 0/1 0/1,10/1 0/1 0/1,10/1 10/1 0/1,0/1 10/1
 0/1,0/1 0/1 0/1),(5/1 5/1 0/1,7/1 5/1 0/1,7/1 7/1 0
 SQL state: XX000
 }}}

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