[postgis-devel] [PostGIS] #725: ST_RelateMatch crash

PostGIS trac at osgeo.org
Tue Dec 21 08:58:36 PST 2010


#725: ST_RelateMatch crash
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 {{{
 SELECT mat.name, pat.name,
    ST_RelateMatch(mat.val, pat.val) As satisfied
         FROM
                 ( VALUES ('Equality', 'T1FF1FFF1'),
                         ('Overlaps', 'T*T***T**'),
                         ('Within', 'T*F**F***') )
             As pat(name,val)
                 CROSS JOIN
                 ( VALUES ( 'pl',
                 ST_Relate(ST_Point(1,2),
                    ST_GeomFromText('LINESTRING(1 2, 3 4)')
                          )
                                 ) )
                                 As mat(name,val);
 }}}

 Merry Christmas strk :)

 I think it's the same problem as you had with sharedpath maybe -- cause it
 seems to break if I have more than one compare but not if I just have one.

 This is a fairly common pattern of failure I've noticed. We should
 probably in the regress tests have at least one multi-row case for each
 regress we do.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/725>
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-devel mailing list