[postgis-devel] [PostGIS] #210: segmentation faults in lwgeom_geos.c:pgis_union_geometry_array

PostGIS trac at osgeo.org
Tue Jun 30 05:52:01 PDT 2009


#210: segmentation faults in lwgeom_geos.c:pgis_union_geometry_array
------------------------+---------------------------------------------------
  Reporter:  dfuhriman  |       Owner:  robe         
      Type:  defect     |      Status:  assigned     
  Priority:  medium     |   Milestone:  postgis 1.3.7
 Component:  postgis    |     Version:  trunk        
Resolution:             |    Keywords:               
------------------------+---------------------------------------------------
Comment (by robe):

 Mark,

 Sorry I misspoke a little bit.  I think it may be fine.  I do get a notice
 but no error.  So I get a notice that says

 NOTICE:  TopologyException: found non-noded intersection between 779062
 2.92623e+06, 779069 2.92622e+06 and 779072 2.92622e+06, 778970 2.92625e+06
 779068 2.92622e+06
 (but forgot to switch to the notice tab of PgAdmin to see)

 In the old model on 1.3 I would get a notice saying GEOS topological
 exception accompanied with a ERROR: GEOS union() threw an error!

 In the PostGIS 1.4b1 I would get an error saying returned null geometry in
 addition to the topological notice.
 In this patch I just get the topological notice -- no error which hmm in
 some cases I like better.

 So I guess I'm not sure what to consider this.  It is slightly different
 behavior, but perhaps acceptable.

 I'll attach the file in question.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/210#comment:28>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS


More information about the postgis-devel mailing list