[postgis-devel] [PostGIS] #578: PostGIS Box2D (and && operator) gives wrong result for ST_CircularString type

PostGIS trac at osgeo.org
Mon Aug 30 03:33:08 PDT 2010


#578: PostGIS Box2D (and && operator) gives wrong result for ST_CircularString
type
----------------------------+-----------------------------------------------
 Reporter:  vince           |       Owner:  pramsey      
     Type:  defect          |      Status:  new          
 Priority:  medium          |   Milestone:  PostGIS 1.5.2
Component:  postgis         |     Version:  trunk        
 Keywords:  Box2D ST_Curve  |  
----------------------------+-----------------------------------------------
 Box2D is supposed to support ST_Curve types, but obviously, albeit calling
 Box2D with an ST_CircularString causes no error, the returned box is
 wrong. See three cases in the SQL sample file attached (circle, half-
 circle, "half-infinity" glyph).

 Consequently, the && operator is also buggy, which prevent spatial queries
 to work reliably.

 Seems same bugs exist in trunk (tested by Olivier Courtin, OsLandia).

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/578>
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